Kendjr Posted September 8, 2017 Share Posted September 8, 2017 I have jasperserver running on an aws ec2 instance. The server is working.I would like to set it up so that it automatically restarts if the server reboots. I followed the instructions and created the jasperserver file, copied it into teh init.d folder.When I test it with the command:sudo service jasperserver statusI receive this error:This script requires root privilegesI thought the "sudo" command would allow my current user (ec2-user) to run this?Also, when I execute the chkconfig command:sudo /sbin/chkconfig --add jasperserverI receive an error:service jasperserver does not support chkconfigCan you tell me what could be wrong, why I can't get the auto restart working?Thanks,Ken Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now