How do you start tomcat? What script gets executed? Probably your bash profile script for the "tomcat" account was setting the PATH and/or LD_LIBRARY_PATH for you. Review your startup script.
On Tue, Sep 7, 2010 at 11:32 AM, Jeff Hubbs <jhubbsl...@att.net> wrote: > Tomcat 5.5.23, sun-jdk 1.5.0_11, CentOS 4.8. Tomcat was built/installed > from upstream. Tomcat service starts and runs normally if user tomcat's > entry in /etc/passwd has "/home/tomcat:/bin/bash" but not if it has > "/dev/null:/sbin/nologin". Would rather have it work set to the latter, > which seems to be the "industrially correct" thing to do. > > I discovered this when I was trying to fix the Tomcat service failing to > start and I changed the tomcat user account to look like a normal user's so > I could execute catalina.sh manually via su. I had to chmod +x some .sh > files that the install script did not set and then executing catalina.sh > could start and stop the instance, but now I can only start the service with > the tomcat user account left like that. > > Thanks, > - Jeff > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org