Bug 711913 - tomcat6 appears to not have the correct permissions to start after install
Summary: tomcat6 appears to not have the correct permissions to start after install
Keywords:
Status: CLOSED DUPLICATE of bug 708694
Alias: None
Product: Fedora
Classification: Fedora
Component: tomcat6
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Knox
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-09 00:00 UTC by Mike McCune
Modified: 2015-11-02 00:16 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-09 00:03:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mike McCune 2011-06-09 00:00:44 UTC
Description of problem:

tomcat6 won't start properly on a fresh install of Fedora 15 x86_64.  The permissions appear to be incorrect on some of the directories used in tomcat

Version-Release number of selected component (if applicable):

tomcat6-6.0.30-6.fc15.noarch

How reproducible:

every time

Steps to Reproduce:
[root@f15-snap3 ~]# rpm -q tomcat6
package tomcat6 is not installed
[root@f15-snap3 ~]# rpm -q fedora-release
fedora-release-15-1.noarch
[root@f15-snap3 ~]# yum install tomcat6^C
[root@f15-snap3 ~]# yum install tomcat6
fedora/metalink
...
[root@f15-snap3 ~]# service tomcat6 start
Starting tomcat6:                                          [  OK  ]
[root@f15-snap3 ~]# ps -ef |grep java
root      1367  1026  0 12:07 pts/0    00:00:00 grep --color=auto java
[root@f15-snap3 ~]# cat /var/log/tomcat6/catalina.out 
/usr/sbin/tomcat6: line 30: /usr/share/tomcat6/logs/catalina.out: Permission denied
[root@f15-snap3 ~]# 
               

Expected results:

Start the server normally

Additional info:

I manually went around fixing permissions:

chmod g+x /var/log/tomcat6
chmod g+x /etc/tomcat6/
chown tomcat:tomcat -R /var/lib/tomcat6
chown tomcat:tomcat -R /var/lib/tomcat6
chown tomcat:tomcat -R /var/cache/tomcat6

and it starts normally after that and will load webapps.

Comment 1 Mike McCune 2011-06-09 00:03:46 UTC

*** This bug has been marked as a duplicate of bug 708694 ***


Note You need to log in before you can comment on or make changes to this bug.