Kernel/Config.pm isn't writable!

Moderator: crythias

Post Reply
wolfsden3
Znuny newbie
Posts: 3
Joined: 05 Aug 2010, 07:17
Znuny Version: Latest

Kernel/Config.pm isn't writable!

Post by wolfsden3 »

I'm on CentOS 5.4, OTRS seemed to install flawlessly with the RPM.

I've run into this snag and I can't readily find anything about this particular error on the board here, I also googled with not many answers.

http://localhost/otrs/installer.pl throws this error "Kernel/Config.pm isn't writable!", also says "Can't open /opt/otrs/Kernel/Config.pm: Permission Denied".

So I tried to run:

/opt/otrs/bin# perl SetPermissions.pl otrs

Actual Output:

[root@localhost bin]# perl SetPermissions.pl otrs
bin/SetPermissions.pl <1.10.2.1> - set OTRS file permissions
Copyright (C) 2001-2009 xxx, http://otrs.org/
Group "nogroup" does not exist!

Also tried SetPermissions.sh

Actual Output:

[root@localhost bin]# perl SetPermissions.sh /opt/otrs otrs apache
SetPermissions.sh <$Revision: 1.35 $> - set OTRS file permissions
Copyright (C) 2001-2009 xxx, http://otrs.org/\n
bin/SetPermissions.pl <1.10.2.1> - set OTRS file permissions
Copyright (C) 2001-2009 xxx, http://otrs.org/
Group "nogroup" does not exist!

So - anyone know what's up with the error I've bolded "Gropu 'nogroup" does not exist!...? I'll keep checking it out for giggles and if I find an answer I'll re-post.

Thanks!
wolfsden3
Znuny newbie
Posts: 3
Joined: 05 Aug 2010, 07:17
Znuny Version: Latest

Re: Kernel/Config.pm isn't writable!

Post by wolfsden3 »

I also tried this command I found on an old how to forge site:

http://www.howtoforge.com/otrs_centos4.4

./SetPermissions.sh /opt/otrs otrs apache apache apache

Output is:

[root@localhost bin]# ./SetPermissions.sh /opt/otrs otrs apache apache apache
SetPermissions.sh <$Revision: 1.35 $> - set OTRS file permissions
Copyright (C) 2001-2009 xxx, http://otrs.org/\n
bin/SetPermissions.pl <1.10.2.1> - set OTRS file permissions
Copyright (C) 2001-2009 xxx, http://otrs.org/
Setting permissions on /opt/otrs
Setting permissions on /opt/otrs/var
Setting permissions on /opt/otrs/bin/*
Setting permissions on /opt/otrs/scripts/*.pl
Setting permissions on Kernel/Config.pm
Setting owner rw and group ro permissions on /opt/otrs/
Setting owner rw and group ro permissions on /opt/otrs/.procmailrc
Setting owner rw and group ro permissions on /opt/otrs/.fetchmailrc
[root@localhost bin]# /etc/init.d/httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]


I also restarted httpd JUST IN CASE ;-)

Still no love though!!!

Bueler, Bueler, Bueler...OTRS, OTRS, OTRS...?
wolfsden3
Znuny newbie
Posts: 3
Joined: 05 Aug 2010, 07:17
Znuny Version: Latest

Re: Kernel/Config.pm isn't writable!

Post by wolfsden3 »

WOOT!

Found this post...anyone have any insight on how to do this "properly"? I want to make sure my box is SECURE but it seems there's something quite wrong with the default CentOS perms.

Run this command:

setenforce 0

I then restarted httpd and tried the installer URL again.

Worked.
fbobraga
Znuny newbie
Posts: 77
Joined: 15 Jul 2010, 20:04
Znuny Version: 2.4.7
Contact:

Re: Kernel/Config.pm isn't writable!

Post by fbobraga »

Please mark the topic solved (editing the subject if the first post)
Evaluation/pilot: OTRS 2.4.7 on Linux (CentOS 5.4) with MySQL database connected to an Active Directory for Agents and Customers.
SonicE
Znuny newbie
Posts: 5
Joined: 19 Jan 2011, 11:32
Znuny Version: 3.0.5

Re: Kernel/Config.pm isn't writable!

Post by SonicE »

Great worked for me too on Fedora 14. Thank you
Post Reply