You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/10/10 05:55:29 UTC

DO NOT REPLY [Bug 13477] New: - tomcat 4.1.2 installed from rpms fails to start

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13477>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13477

tomcat 4.1.2 installed from rpms fails to start

           Summary: tomcat 4.1.2 installed from rpms fails to start
           Product: Tomcat 4
           Version: 4.1.12
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Installable Packages
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: bgsmith@bendcable.com


I installed the current version of tomcat (4.1.2) from RPMs using the version as
of 9 October (tomcat4-4.1.12-full.2jpp.noarch.rpm). The install worked after I
removed all traces of the prior tomcat install (user and group, etc). When I try
to start tomcat from /etc/init.d/tomcat4 I get an OK but tomcat does not start.

When I start tomcat using /usr/bin/dtomcat4 as root, tomcat starts. When I su -
tomcat4 and start tomcat using /usr/bin/dtomcat4 I get:

-bash-2.05b$ /usr/bin/dtomcat4 start
Using CATALINA_BASE:   /var/tomcat4
Using CATALINA_HOME:   /var/tomcat4
Using CATALINA_TMPDIR: /var/tomcat4/temp
Using JAVA_HOME:       /usr/java/j2sdk1.4
touch: creating `/var/tomcat4/logs/catalina.out': Permission denied
-bash-2.05b$ /usr/bin/dtomcat4: line 205: /var/tomcat4/logs/catalina.out:
Permission denied
q

In /var/tomcat4/logs I see:

-rw-r--r--    1 root     tomcat4      1731 Oct  9 20:44 catalina.out 

In order for tomcat to touch catalina.out, permissions need to be changed for
the group tomcat4. Once this is done, then tomcat4 will start as expected.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>