
Well I posted this problem under "cron job failures" but I think it's really a permissions problem? If I try to execute "UnlockTickets.pl" for example in /opt/otrs/bin, as the otrs user, I get the "Can't locate Kernel/Config.pm in @INC (@INC contains: /opt/otrs/Kernel/cpan-lib blah blah blah" error. But if I execute it as root - it runs fine. This particular script is owned by "otrs" though. Most of the others are owned by "apache". (I'm running centos 5) A good systems admin could fix this, but I'm certainly not that. :) Help is appreciated. Joe -- Joe Ersinghaus Information Technology & Communications New Mexico Department of Agriculture/New Mexico State University MSC 3189, P.O. Box 30005 Las Cruces, NM, USA 88003-8005 Phone: (505) 646-7094 Fax: (505) 646-1841

No takers? No one willing to help out a poor programmer forced to perform systems admin work against his will? :) Joe Ersinghaus wrote:
Well I posted this problem under "cron job failures" but I think it's really a permissions problem?
If I try to execute "UnlockTickets.pl" for example in /opt/otrs/bin, as the otrs user, I get the "Can't locate Kernel/Config.pm in @INC (@INC contains: /opt/otrs/Kernel/cpan-lib blah blah blah" error.
But if I execute it as root - it runs fine.
This particular script is owned by "otrs" though. Most of the others are owned by "apache". (I'm running centos 5)
A good systems admin could fix this, but I'm certainly not that. :)
Help is appreciated.
Joe
-- Joe Ersinghaus Information Technology & Communications New Mexico Department of Agriculture/New Mexico State University MSC 3189, P.O. Box 30005 Las Cruces, NM, USA 88003-8005 Phone: (505) 646-7094 Fax: (505) 646-1841

Here's my permissions:
drwxr-xr-x 3 root root 4096 Jul 29 2007 /opt
drwxrwxr-x 7 otrs apache 4096 Jan 9 14:01 /opt/otrs
drwxrwxr-x 4 apache apache 4096 Jan 9 14:01 /opt/otrs/bin
-rwx------ 1 otrs root 5024 Jan 24 2007 /opt/otrs/bin/UnlockTickets.pl
drwxrwxr-x 8 apache apache 4096 Jan 9 14:01 /opt/otrs/Kernel
-rw-rw-r-- 1 apache apache 8478 Apr 20 2007 /opt/otrs/Kernel/Config.pm
Do you see anything different?
Josh
On Thu, Feb 28, 2008 at 11:37 AM, Joe Ersinghaus
Well I posted this problem under "cron job failures" but I think it's really a permissions problem?
If I try to execute "UnlockTickets.pl" for example in /opt/otrs/bin, as the otrs user, I get the "Can't locate Kernel/Config.pm in @INC (@INC contains: /opt/otrs/Kernel/cpan-lib blah blah blah" error.
But if I execute it as root - it runs fine.
This particular script is owned by "otrs" though. Most of the others are owned by "apache". (I'm running centos 5)
A good systems admin could fix this, but I'm certainly not that. :)
Help is appreciated.
Joe
-- Joe Ersinghaus Information Technology & Communications New Mexico Department of Agriculture/New Mexico State University MSC 3189, P.O. Box 30005 Las Cruces, NM, USA 88003-8005 Phone: (505) 646-7094 Fax: (505) 646-1841 _______________________________________________ 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/

Hi Joshua,
Here's my permissions:
drwxr-xr-x 3 root root 4096 Jul 29 2007 /opt drwxrwxr-x 7 otrs apache 4096 Jan 9 14:01 /opt/otrs drwxrwxr-x 4 apache apache 4096 Jan 9 14:01 /opt/otrs/bin -rwx------ 1 otrs root 5024 Jan 24 2007 /opt/otrs/bin/UnlockTickets.pl drwxrwxr-x 8 apache apache 4096 Jan 9 14:01 /opt/otrs/Kernel -rw-rw-r-- 1 apache apache 8478 Apr 20 2007 /opt/otrs/Kernel/Config.pm
Do you see anything different?
Did you run bin/otrs.SetPermissions to fix any errors?
Josh
On Thu, Feb 28, 2008 at 11:37 AM, Joe Ersinghaus
mailto:jersinghaus@nmda.nmsu.edu> wrote: Well I posted this problem under "cron job failures" but I think it's really a permissions problem?
If I try to execute "UnlockTickets.pl" for example in /opt/otrs/bin, as the otrs user, I get the "Can't locate Kernel/Config.pm in @INC (@INC contains: /opt/otrs/Kernel/cpan-lib blah blah blah" error.
But if I execute it as root - it runs fine.
This particular script is owned by "otrs" though. Most of the others are owned by "apache". (I'm running centos 5)
A good systems admin could fix this, but I'm certainly not that. :)
Help is appreciated.
Joe
-- Joe Ersinghaus Information Technology & Communications New Mexico Department of Agriculture/New Mexico State University MSC 3189, P.O. Box 30005 Las Cruces, NM, USA 88003-8005 Phone: (505) 646-7094 Fax: (505) 646-1841 _______________________________________________ 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/
------------------------------------------------------------------------
_______________________________________________ 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/ Regards!
-- Shawn Beasley ((otrs)) :: OTRS AG :: Norsk-Data-Straße 1 :: 61352 Bad Homburg 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/97521 Aufsichtsratsvorsitzender: Burchard Steinbild Vorstandsvorsitzender: André Mindermann
participants (3)
-
Joe Ersinghaus
-
Joshua Scott
-
Shawn Beasley