Gentoo Archives: gentoo-user

From: Dave Oxley <dave@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Tomcat won't start!?!?
Date: Thu, 31 Aug 2006 09:31:47
Message-Id: 44F6ABBC.6060101@daveoxley.co.uk
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 I just updated world on my server today and now Tomcat won't start. I
5 have no idea why. When I start it I just get [!!]. I removed all the
6 extra spaces from all the parameters and put an echo around the
7 start-stop-daemon line and when I run the command that gets echoed it
8 starts fine! I can't find anything in the logs to report, but if I put
9 - --verbose instead of --quite on the start-stop-daemon line I get this:
10 blackadder ~ # /etc/init.d/tomcat-5.5 start
11 * Caching service dependencies ...
12 [ ok ]
13 * Starting Tomcat ...
14 Starting /opt/sun-jdk-1.5.0.08/bin/java...
15 Detaching to start /opt/sun-jdk-1.5.0.08/bin/java...done.
16 [ !! ]
17
18 Does anyone have any ideas?
19
20 Cheers,
21 Dave.
22
23 Here's the command that gets echoed and runs fine:
24 start-stop-daemon --start --quiet --background --chuid tomcat:tomcat
25 - --make-pidfile --pidfile /var/run/tomcat.pid --exec
26 /opt/sun-jdk-1.5.0.08/bin/java -- -server -Xmx1024m
27 - -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
28 - -Djava.util.logging.config.file=/etc/tomcat-5.5/logging.properties
29 - -Djava.endorsed.dirs=/usr/share/tomcat-5.5/common/endorsed -classpath
30 /usr/share/tomcat-5.5/server/lib:/opt/sun-jdk-1.5.0.08/lib/tools.jar:/usr/share/tomcat-5.5/bin/bootstrap.jar:/usr/share/tomcat-5.5/bin/commons-logging-api.jar
31 -Dcatalina.base=/var/lib/tomcat-5.5
32 - -Dcatalina.home=/usr/share/tomcat-5.5
33 - -Djava.io.tmpdir=/var/tmp/tomcat-5.5
34 org.apache.catalina.startup.Bootstrap start
35 -----BEGIN PGP SIGNATURE-----
36 Version: GnuPG v1.4.5 (GNU/Linux)
37 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
38
39 iD8DBQFE9qu8x43ifHzpDVURAp+aAJ9LPWWRv7x7TMbQdVcGmNk/ZFEW/gCfSc+4
40 1pwC4GB4rTQyzilPhZss4bA=
41 =Sa9B
42 -----END PGP SIGNATURE-----
43 --
44 gentoo-user@g.o mailing list