Kendjr Posted June 22, 2015 Share Posted June 22, 2015 I have a new installation of Jasperserver 6.1. it is not restarting automatically when I reboot. I running it on ubuntu, and followed the instructions on editing the jasperserver script and copying it to the init.d directory. It is not working. Upon reboot, I check the status and one of the erors is:"No passwd entry for user..."What should the system user be? If I need to create a new user, where do I store the password? Link to comment Share on other sites More sharing options...
hozawa Posted June 22, 2015 Share Posted June 22, 2015 Are you using Ubuntu 10? JasperReports Server linux installer is for Ubuntu 10.I had an user wanting to use JasperReports Server on Ubuntu 14.x and I ended up using the war install and setting up everything else myself.I just have TOMCAT_HOME and JAVA_HOME and a LOCKFILE variable settings in my init.d script. Link to comment Share on other sites More sharing options...
Kendjr Posted June 23, 2015 Author Share Posted June 23, 2015 I am using a later version, I believe it is 14. Don't you still have to have a user in the jasperserver script? JASPER_USER=to be clear - It is running fine, it just doesn't restart when I reboot the server. Link to comment Share on other sites More sharing options...
ryanp424 Posted June 23, 2015 Share Posted June 23, 2015 What happens when you add something like the following to your sudoers file? (use "sudo visudo" to edit): USERNAME ALL = NOPASSWD: /path/to/ctlscript.sh Link to comment Share on other sites More sharing options...
Kendjr Posted June 23, 2015 Author Share Posted June 23, 2015 What is the standard user for the jasperserver script file? I am assuming it is not jasperadmin because it is looking for a system user? Link to comment Share on other sites More sharing options...
hozawa Posted June 23, 2015 Share Posted June 23, 2015 It's just the user used to install Tomcat. I just did a sudo visudo and used that user to install tomcat. Do a "ls -la" on the tomcat directory to find who the owner is. Link to comment Share on other sites More sharing options...
Kendjr Posted June 23, 2015 Author Share Posted June 23, 2015 So if that is the root user, I should putJASPER_USER=rootin the jaserperserver script file?I changed the user to root, and it still will not start automatically after a reboot Link to comment Share on other sites More sharing options...
ryanp424 Posted June 23, 2015 Share Posted June 23, 2015 Hello Kendjr,Adding the init script to /etc/init.d isn't enough in newer versions of Ubuntu. You also have to run the command below. The ctlscript.sh won't work by default, but I believe you just need to add start/stop functions that contain start/stop for postgres/tomcat (which I understand you already did, or maybe something similar):sudo update-rc.d <appname> enable 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