basicinstinct
asked on
tomcat stopped working :(
I had everything working fine on my PC, which is a Suse10 box running Apache2 and Tomcat5.
I don't remember changing anything, but my webserver stopped working - I'm pretty sure Apache is working fine, but Tomcat isn't. I can't access it either through Apache (mod_jk) or directly on port 8080. Have a look yourself: http://malydog.homeip.net
I found this error in /var/log/tomcat5/base/cata lina_log.2 006-06-18. txt
javax.naming.NamingExcepti on: /srv/www/tomcat5/base/conf /tomcat-us ers.xml.ne w (Permission denied)
Considering the hell I went through setting this all up in the first place, I'm not even going to begin trying to sort it out myself. HELP!
Here is the contents of the directory which contains tomcat-users.xml:
total 108
drwxr-xr-x 5 root root 4096 2006-06-18 11:22 .
drwxr-xr-x 3 root root 4096 2006-05-09 09:33 ..
drwxrwxrwx 2 tomcat tomcat 4096 2006-04-14 21:32 auto
drwxr-xr-x 3 root root 4096 2006-05-09 09:33 Catalina
-rw-rw-rw- 1 tomcat tomcat 6954 2005-09-13 12:20 catalina.policy
-rw-rw-rw- 1 tomcat tomcat 2754 2005-09-13 12:20 catalina.properties
-rw-r--r-- 1 root root 0 2006-06-18 11:22 foo.txt
drwxrwxrwx 2 tomcat tomcat 4096 2006-04-14 13:48 jk
-rw-rw-rw- 1 tomcat tomcat 778 2005-09-13 12:20 jk2.properties
-rw-rw-rw- 1 tomcat tomcat 1128 2005-09-13 12:20 server-minimal.xml
-rw-rw-rw- 1 tomcat tomcat 18813 2006-04-14 16:19 server.xml
-rw-r--r-- 1 tomcat tomcat 434 2006-05-07 15:44 tomcat-users.xml
-rw-r--r-- 1 root root 310 2006-04-20 19:40 tomcat-users.xml~
-rw-rw-rw- 1 tomcat tomcat 38929 2005-09-13 12:20 web.xml
I don't remember changing anything, but my webserver stopped working - I'm pretty sure Apache is working fine, but Tomcat isn't. I can't access it either through Apache (mod_jk) or directly on port 8080. Have a look yourself: http://malydog.homeip.net
I found this error in /var/log/tomcat5/base/cata
javax.naming.NamingExcepti
Considering the hell I went through setting this all up in the first place, I'm not even going to begin trying to sort it out myself. HELP!
Here is the contents of the directory which contains tomcat-users.xml:
total 108
drwxr-xr-x 5 root root 4096 2006-06-18 11:22 .
drwxr-xr-x 3 root root 4096 2006-05-09 09:33 ..
drwxrwxrwx 2 tomcat tomcat 4096 2006-04-14 21:32 auto
drwxr-xr-x 3 root root 4096 2006-05-09 09:33 Catalina
-rw-rw-rw- 1 tomcat tomcat 6954 2005-09-13 12:20 catalina.policy
-rw-rw-rw- 1 tomcat tomcat 2754 2005-09-13 12:20 catalina.properties
-rw-r--r-- 1 root root 0 2006-06-18 11:22 foo.txt
drwxrwxrwx 2 tomcat tomcat 4096 2006-04-14 13:48 jk
-rw-rw-rw- 1 tomcat tomcat 778 2005-09-13 12:20 jk2.properties
-rw-rw-rw- 1 tomcat tomcat 1128 2005-09-13 12:20 server-minimal.xml
-rw-rw-rw- 1 tomcat tomcat 18813 2006-04-14 16:19 server.xml
-rw-r--r-- 1 tomcat tomcat 434 2006-05-07 15:44 tomcat-users.xml
-rw-r--r-- 1 root root 310 2006-04-20 19:40 tomcat-users.xml~
-rw-rw-rw- 1 tomcat tomcat 38929 2005-09-13 12:20 web.xml
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
> I guess ..
did you veryfy that tomcat runs as user tomcat?
did you veryfy that tomcat runs as user tomcat?
ASKER
Holy hell - I just went to take a look at my site:
http://malydog.homeip.net and it it working again!?!?!!!! #$%$
ahoffmann, can I ask, did you go to have a look at my website yesterday?
If so, did you get a server error?
Perhaps it magically fixed itself in the same way that it magically
broke... There's no denying that I applied the changes you suggested above, and now
it works, albeit slightly delayed.
Cause and effect - you get the points. Thanks for your time ahoffmann.
http://malydog.homeip.net and it it working again!?!?!!!! #$%$
ahoffmann, can I ask, did you go to have a look at my website yesterday?
If so, did you get a server error?
Perhaps it magically fixed itself in the same way that it magically
broke... There's no denying that I applied the changes you suggested above, and now
it works, albeit slightly delayed.
Cause and effect - you get the points. Thanks for your time ahoffmann.
ASKER