Problems with install.pl

I'm installing on CentOS 5 with mysql, and for some reason the install.pl script is claiming that the Kernel/Config.pm does not have write permissions set such that the apache user can write to it. So far as I can tell, this is an utter lie: [root@slaad ~]# cd /opt/otrs/Kernel [root@slaad Kernel]# ls -al total 100 drwxrwxr-x 8 apache apache 4096 Aug 8 11:19 . drwxr-xr-x 7 otrs apache 4096 Aug 8 11:19 .. drwxrwxr-x 3 apache apache 4096 Aug 8 11:19 Config -rw-rw-r-- 1 apache apache 3918 Aug 2 23:59 Config.pm -rw-rw-r-- 1 apache apache 3918 Aug 2 23:59 Config.pm.dist drwxrwxr-x 16 apache apache 4096 Aug 8 11:19 cpan-lib drwxrwxr-x 2 apache apache 4096 Aug 8 11:19 Language -rw-rw-r-- 1 apache apache 13871 Aug 2 23:59 Language.pm drwxrwxr-x 2 apache apache 4096 Aug 8 11:19 Modules drwxrwxr-x 3 apache apache 4096 Aug 8 11:19 Output drwxrwxr-x 21 apache apache 4096 Aug 8 11:19 System [root@slaad Kernel]# groups otrs otrs : otrs apache [root@slaad Kernel]# groups apache apache : apache otrs [root@slaad Kernel]# So from what I can see, the apache and otrs users are members of each other's groups, and everything in the Kernel directory is group writeable. Anyone see something I do not? Aaron M. Long NOC Engineer Leapfrog Enterprises, Inc. 6401 Hollis Street Emeryville, CA 94608

Aaron Long wrote:
I’m installing on CentOS 5 with mysql, and for some reason the install.pl script is claiming that the Kernel/Config.pm does not have write permissions set such that the apache user can write to it. So far as I can tell, this is an utter lie:
[root@slaad ~]# cd /opt/otrs/Kernel [root@slaad Kernel]# ls -al total 100 drwxrwxr-x 8 apache apache 4096 Aug 8 11:19 . drwxr-xr-x 7 otrs apache 4096 Aug 8 11:19 .. drwxrwxr-x 3 apache apache 4096 Aug 8 11:19 Config -rw-rw-r-- 1 apache apache 3918 Aug 2 23:59 Config.pm -rw-rw-r-- 1 apache apache 3918 Aug 2 23:59 Config.pm.dist drwxrwxr-x 16 apache apache 4096 Aug 8 11:19 cpan-lib drwxrwxr-x 2 apache apache 4096 Aug 8 11:19 Language -rw-rw-r-- 1 apache apache 13871 Aug 2 23:59 Language.pm drwxrwxr-x 2 apache apache 4096 Aug 8 11:19 Modules drwxrwxr-x 3 apache apache 4096 Aug 8 11:19 Output drwxrwxr-x 21 apache apache 4096 Aug 8 11:19 System [root@slaad Kernel]# groups otrs otrs : otrs apache [root@slaad Kernel]# groups apache apache : apache otrs [root@slaad Kernel]#
So from what I can see, the apache and otrs users are members of each other’s groups, and everything in the Kernel directory is group writeable. Anyone see something I do not?
Is SELinux enabled? Anything in your logs? Nils Breunese.

[Fri Aug 08 11:24:40 2008] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0 [Fri Aug 08 11:24:40 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Fri Aug 08 11:24:40 2008] [notice] Digest: generating secret for digest authentication ... [Fri Aug 08 11:24:40 2008] [notice] Digest: done [Fri Aug 08 11:24:40 2008] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads. [Fri Aug 08 11:24:41 2008] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations That's from the error log. So I take it SELinux is affecting the user such that whatever user is hitting the install.pl script is neither apache nor otrs? Being totally unfamiliar with SELinux, I'm not sure what should be done here to resume my installation. Thanks. -Aaron -----Original Message----- From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Nils Breunese (Lemonbit) Sent: Friday, August 08, 2008 4:11 PM To: User questions and discussions about OTRS.org Subject: Re: [otrs] Problems with install.pl Aaron Long wrote:
I'm installing on CentOS 5 with mysql, and for some reason the install.pl script is claiming that the Kernel/Config.pm does not have write permissions set such that the apache user can write to it. So far as I can tell, this is an utter lie:
[root@slaad ~]# cd /opt/otrs/Kernel [root@slaad Kernel]# ls -al total 100 drwxrwxr-x 8 apache apache 4096 Aug 8 11:19 . drwxr-xr-x 7 otrs apache 4096 Aug 8 11:19 .. drwxrwxr-x 3 apache apache 4096 Aug 8 11:19 Config -rw-rw-r-- 1 apache apache 3918 Aug 2 23:59 Config.pm -rw-rw-r-- 1 apache apache 3918 Aug 2 23:59 Config.pm.dist drwxrwxr-x 16 apache apache 4096 Aug 8 11:19 cpan-lib drwxrwxr-x 2 apache apache 4096 Aug 8 11:19 Language -rw-rw-r-- 1 apache apache 13871 Aug 2 23:59 Language.pm drwxrwxr-x 2 apache apache 4096 Aug 8 11:19 Modules drwxrwxr-x 3 apache apache 4096 Aug 8 11:19 Output drwxrwxr-x 21 apache apache 4096 Aug 8 11:19 System [root@slaad Kernel]# groups otrs otrs : otrs apache [root@slaad Kernel]# groups apache apache : apache otrs [root@slaad Kernel]#
So from what I can see, the apache and otrs users are members of each other's groups, and everything in the Kernel directory is group writeable. Anyone see something I do not?
Is SELinux enabled? Anything in your logs? Nils Breunese. _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support or consulting for your OTRS system? => http://www.otrs.com/

Aaron Long wrote:
[Fri Aug 08 11:24:40 2008] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0 [Fri Aug 08 11:24:40 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Fri Aug 08 11:24:40 2008] [notice] Digest: generating secret for digest authentication ... [Fri Aug 08 11:24:40 2008] [notice] Digest: done [Fri Aug 08 11:24:40 2008] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads. [Fri Aug 08 11:24:41 2008] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
That's from the error log. So I take it SELinux is affecting the user such that whatever user is hitting the install.pl script is neither apache nor otrs? Being totally unfamiliar with SELinux, I'm not sure what should be done here to resume my installation.
The instructions on the OTRS download page tell you to disable SELinux. Nils Breunese.
participants (2)
-
Aaron Long
-
Nils Breunese (Lemonbit)