Jump to content
Changes to the Jaspersoft community edition download ×

This script requires root privileges


Kendjr

Recommended Posts

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 status

I receive this error:

This script requires root privileges

I 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 jasperserver

I receive an error:

service jasperserver does not support chkconfig

Can 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

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...