Error: Can't write /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm: Permission denied!

I am receiving an error when attempting to access SysConfig under admin. Error: Can't write /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm: Permission denied! I have changed the permissions on the /pm file to be rwxrwxrwx to verify it wasn't a permissions issue with the file itself. I am a bit lost here. ERROR: OTRS-CGI-09 Perl: 5.8.8 OS: linux Time: Mon Dec 10 20:19:46 2007 Message: Can't write /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm: Permission denied! Traceback (8343): Module: Kernel::System::Config::WriteDefault (v1.64) Line: 247 Module: Kernel::Modules::AdminSysConfig::Run (v1.61) Line: 54 Module: Kernel::System::Web::InterfaceAgent::Run (v1.23) Line: 670 Module: /opt/otrs/bin/cgi-bin/index.pl (v1.81) Line: 47

This is indeed a permission's error. Run /opt/otrs/bin/SetPermissions.sh. The account under which the web server runs needs access as well. The aforementioned script will sort for you. Run without parameters for the Usage. As an example I had to run /opt/otrs/bin/SetPermissions.sh /opt/otrs otrs wwwrun _________________________________ Eric Belcher ESRI Australia Team Lead Information Technology Services Email: ebelcher@esriaustralia.com.au Ph: +61 (0)7 32184106 (Direct) Mob: +61 (0) 408989925 Rico Corpuz <rico@playspan.co m> To Sent by: "itsm@otrs.org" <itsm@otrs.org> itsm-bounces@otrs cc .org Subject [itsm] Error: Can't write 11/12/2007 06:24 /opt/otrs/Kernel/Config/Files/ZZZAA AM uto.pm: Permission denied! Please respond to "OTRS::ITSM User questions and discussions" <itsm@otrs.org> I am receiving an error when attempting to access SysConfig under admin. Error: Can't write /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm: Permission denied! I have changed the permissions on the /pm file to be rwxrwxrwx to verify it wasn’t a permissions issue with the file itself. I am a bit lost here. ERROR: OTRS-CGI-09 Perl: 5.8.8 OS: linux Time: Mon Dec 10 20:19:46 2007 Message: Can't write /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm: Permission denied! Traceback (8343): Module: Kernel::System::Config::WriteDefault (v1.64) Line: 247 Module: Kernel::Modules::AdminSysConfig::Run (v1.61) Line: 54 Module: Kernel::System::Web::InterfaceAgent::Run (v1.23) Line: 670 Module: /opt/otrs/bin/cgi-bin/index.pl (v1.81) Line: 47 _______________________________________________ OTRS mailing list: itsm - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/itsm To unsubscribe: http://lists.otrs.org/mailman/listinfo/itsm Support or consulting for your OTRS::ITSM system? => http://www.otrs.com/ _________________________________________________________ Level 3, 111 Elizabeth Street, Brisbane QLD 4000 PO Box 15459, Brisbane City East QLD 4002 P +61 (0)7 3218 4100 F +61 (0)7 3211 1310 E connect@esriaustralia.com.au W http://www.esriaustralia.com.au Freecall 1800 447 111 _________________________________________________________ Have you visited ESRI Australia’s NEW website? See how ESRI Australia can help you leverage your location intelligence www.esriaustralia.com.au _________________________________________________________ Putting knowledge into place This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient please notify the sender by return email, do not use or disclose the contents and delete the message and any attachments from your system. **Please consider the environment before printing this email**

I am still getting the same error after running this. It is rather odd. We are currently making manual changes to the config file instead of using the web gui because of this. Here is the results of SetPermissions.sh. root@www /]# /opt/otrs/bin/SetPermissions.sh /opt/otrs otrs apache SetPermissions.sh <$Revision: 1.31 $> - set OTRS file permissions Copyright (C) 2001-2006 OTRS GmbH, http://otrs.org/ Setting file permissions... chown -R apache:nogroup /opt/otrs chown: `apache:nogroup': invalid group chown: `apache:nogroup': invalid group chmod -R og+rw /opt/otrs chown otrs:nogroup /opt/otrs chown: `otrs:nogroup': invalid group chown otrs:nogroup /opt/otrs/.fetchmailrc chown: `otrs:nogroup': invalid group chmod 0600 /opt/otrs/.fetchmailrc chown otrs:nogroup /opt/otrs/.procmailrc chown: `otrs:nogroup': invalid group chmod 0644 /opt/otrs/.procmailrc chown otrs:nogroup /opt/otrs/.mailfilter chown: `otrs:nogroup': invalid group chmod 0600 /opt/otrs/.mailfilter chown -R otrs:nogroup /opt/otrs/var/ chown: `otrs:nogroup': invalid group chown -R apache:nogroup /opt/otrs/var/sessions/ chown: `apache:nogroup': invalid group touch && chown otrs:nogroup /opt/otrs/var/log/TicketCounter.log chown: `otrs:nogroup': invalid group chmod -R 775 /opt/otrs/bin/ (chown && chmod 700) otrs:0 /opt/otrs/bin/DeleteSessionIDs.pl (chown && chmod 700) otrs:0 /opt/otrs/bin/UnlockTickets.pl (chown && chmod 700) otrs:0 /opt/otrs/bin/otrs.getConfig -----Original Message----- From: ebelcher@esriaustralia.com.au [mailto:ebelcher@esriaustralia.com.au] Sent: Monday, December 10, 2007 2:48 PM To: OTRS::ITSM User questions and discussions Subject: Re: [itsm] Error: Can't write /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm: Permission denied! This is indeed a permission's error. Run /opt/otrs/bin/SetPermissions.sh. The account under which the web server runs needs access as well. The aforementioned script will sort for you. Run without parameters for the Usage. As an example I had to run /opt/otrs/bin/SetPermissions.sh /opt/otrs otrs wwwrun _________________________________ Eric Belcher ESRI Australia Team Lead Information Technology Services Email: ebelcher@esriaustralia.com.au Ph: +61 (0)7 32184106 (Direct) Mob: +61 (0) 408989925 Rico Corpuz <rico@playspan.co m> To Sent by: "itsm@otrs.org" <itsm@otrs.org> itsm-bounces@otrs cc .org Subject [itsm] Error: Can't write 11/12/2007 06:24 /opt/otrs/Kernel/Config/Files/ZZZAA AM uto.pm: Permission denied! Please respond to "OTRS::ITSM User questions and discussions" <itsm@otrs.org> I am receiving an error when attempting to access SysConfig under admin. Error: Can't write /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm: Permission denied! I have changed the permissions on the /pm file to be rwxrwxrwx to verify it wasn't a permissions issue with the file itself. I am a bit lost here. ERROR: OTRS-CGI-09 Perl: 5.8.8 OS: linux Time: Mon Dec 10 20:19:46 2007 Message: Can't write /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm: Permission denied! Traceback (8343): Module: Kernel::System::Config::WriteDefault (v1.64) Line: 247 Module: Kernel::Modules::AdminSysConfig::Run (v1.61) Line: 54 Module: Kernel::System::Web::InterfaceAgent::Run (v1.23) Line: 670 Module: /opt/otrs/bin/cgi-bin/index.pl (v1.81) Line: 47 _______________________________________________ OTRS mailing list: itsm - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/itsm To unsubscribe: http://lists.otrs.org/mailman/listinfo/itsm Support or consulting for your OTRS::ITSM system? => http://www.otrs.com/ _________________________________________________________ Level 3, 111 Elizabeth Street, Brisbane QLD 4000 PO Box 15459, Brisbane City East QLD 4002 P +61 (0)7 3218 4100 F +61 (0)7 3211 1310 E connect@esriaustralia.com.au W http://www.esriaustralia.com.au Freecall 1800 447 111 _________________________________________________________ Have you visited ESRI Australia's NEW website? See how ESRI Australia can help you leverage your location intelligence www.esriaustralia.com.au _________________________________________________________ Putting knowledge into place This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient please notify the sender by return email, do not use or disclose the contents and delete the message and any attachments from your system. **Please consider the environment before printing this email**

On Mo, Dez 10, 2007 at 04:05:33 -0800, Rico Corpuz wrote:
I am still getting the same error after running this. It is rather odd. We are currently making manual changes to the config file instead of using the web gui because of this.
Here is the results of SetPermissions.sh.
root@www /]# /opt/otrs/bin/SetPermissions.sh /opt/otrs otrs apache SetPermissions.sh <$Revision: 1.31 $> - set OTRS file permissions Copyright (C) 2001-2006 OTRS GmbH, http://otrs.org/ Setting file permissions... chown -R apache:nogroup /opt/otrs chown: `apache:nogroup': invalid group chown: `apache:nogroup': invalid group chmod -R og+rw /opt/otrs chown otrs:nogroup /opt/otrs chown: `otrs:nogroup': invalid group chown otrs:nogroup /opt/otrs/.fetchmailrc chown: `otrs:nogroup': invalid group chmod 0600 /opt/otrs/.fetchmailrc chown otrs:nogroup /opt/otrs/.procmailrc chown: `otrs:nogroup': invalid group chmod 0644 /opt/otrs/.procmailrc chown otrs:nogroup /opt/otrs/.mailfilter chown: `otrs:nogroup': invalid group chmod 0600 /opt/otrs/.mailfilter chown -R otrs:nogroup /opt/otrs/var/ chown: `otrs:nogroup': invalid group chown -R apache:nogroup /opt/otrs/var/sessions/ chown: `apache:nogroup': invalid group touch && chown otrs:nogroup /opt/otrs/var/log/TicketCounter.log chown: `otrs:nogroup': invalid group chmod -R 775 /opt/otrs/bin/ (chown && chmod 700) otrs:0 /opt/otrs/bin/DeleteSessionIDs.pl (chown && chmod 700) otrs:0 /opt/otrs/bin/UnlockTickets.pl (chown && chmod 700) otrs:0 /opt/otrs/bin/otrs.getConfig
Try SetPermissions.sh /opt/otrs otrs apache apache apache And as mensioned before disable selinux please. Christian -- ((otrs)) :: OTRS AG :: Europaring 4 :: D- 94315 Straubing Fon: +49 (0) 9421 56818 0 :: Fax: +49 (0) 9421 56818 18 http://www.otrs.com/ :: Communication with success! Geschäftssitz: Bad Homburg Amtsgericht Bad Homburg, HRB 10751 Steuernummer: 003 240 97505 Aufsichtsratsvorsitzender: Burchard Steinbild Vorstandsvorsitzender: André Mindermann

Have you tried disabling selinux? Saludos, Carlos Fernando Rodríguez Hdz. _____ cid:390290916@08082007-2DFF DUX DILIGENS, S.A de C.V. Av. Arcos 267, Col. Arcos Sur 44130 Guadalajara, Jalisco, Mexico Tel: [+52] 33 3208 0551 Cel: 33 1163 8803 eMail: carlos.rodriguez@ <mailto:%20carlos.rodriguez@duxdiligens.com> duxdiligens.com <http://www.linkedin.com/in/carlosfernando> LinkedIn profile <http://www.duxdiligens.com/> www.duxdiligens.com Mexico City - Guadalajara - Buenos Aires _____ La información contenida en este correo es para uso exclusivo de los destinatarios del mismo. Está prohibido a las personas o entidades que no sean los destinatarios de este correo, realizar cualquier tipo de modificación, copia o distribución del mismo. Si recibe este correo por error, tenga a bien notificar al emisor y eliminarlo. The information in this e mail is intended solely for the use of the addressee. It is prohibited to any person or entity who is not the addressee to make any modification, copy or distribution of this information. If you receive this by mistake, please notify the sender and delete it. From: Rico Corpuz [mailto:rico@playspan.com] Sent: Monday, December 10, 2007 2:21 PM To: itsm@otrs.org Subject: [itsm] Error: Can't write /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm: Permission denied! I am receiving an error when attempting to access SysConfig under admin. Error: Can't write /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm: Permission denied! I have changed the permissions on the /pm file to be rwxrwxrwx to verify it wasnt a permissions issue with the file itself. I am a bit lost here. ERROR: OTRS-CGI-09 Perl: 5.8.8 OS: linux Time: Mon Dec 10 20:19:46 2007 Message: Can't write /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm: Permission denied! Traceback (8343): Module: Kernel::System::Config::WriteDefault (v1.64) Line: 247 Module: Kernel::Modules::AdminSysConfig::Run (v1.61) Line: 54 Module: Kernel::System::Web::InterfaceAgent::Run (v1.23) Line: 670 Module: /opt/otrs/bin/cgi-bin/index.pl (v1.81) Line: 47

Hi, On Mo, Dez 10, 2007 at 12:20:44 -0800, Rico Corpuz wrote:
I am receiving an error when attempting to access SysConfig under admin.
Error: Can't write /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm: Permission denied!
I have changed the permissions on the /pm file to be rwxrwxrwx to verify it wasn't a permissions issue with the file itself. I am a bit lost here.
ERROR: OTRS-CGI-09 Perl: 5.8.8 OS: linux Time: Mon Dec 10 20:19:46 2007
Message: Can't write /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm: Permission denied!
Traceback (8343): Module: Kernel::System::Config::WriteDefault (v1.64) Line: 247 Module: Kernel::Modules::AdminSysConfig::Run (v1.61) Line: 54 Module: Kernel::System::Web::InterfaceAgent::Run (v1.23) Line: 670 Module: /opt/otrs/bin/cgi-bin/index.pl (v1.81) Line: 47
It is a permission problem. You have to make sure that your webserver is allowed to write files in the /opt/otrs/Kernel/Config/Files directory. What OS are you using and was OTRS installed via RPM or from source? Is apparmor or selinux active? If yes, please disable it :). BTW.: This list is primarily related to problems with OTRS::ITSM. That problem you have is related to OTRS in gernal, so maybe the otrs list (http://lists.otrs.org/mailman/admin/otrs) is more helpfull. Regards, Christian -- ((otrs)) :: OTRS AG :: Europaring 4 :: D- 94315 Straubing Fon: +49 (0) 9421 56818 0 :: Fax: +49 (0) 9421 56818 18 http://www.otrs.com/ :: Communication with success! Geschäftssitz: Bad Homburg Amtsgericht Bad Homburg, HRB 10751 Steuernummer: 003 240 97505 Aufsichtsratsvorsitzender: Burchard Steinbild Vorstandsvorsitzender: André Mindermann
participants (4)
-
Carlos Fernando Rodríguez Hdz
-
Christian Schoepplein
-
ebelcher@esriaustralia.com.au
-
Rico Corpuz