[SOLVED] Can't open file ZZZAAuto.pm

Moderator: crythias

Locked
noraj
Znuny newbie
Posts: 8
Joined: 27 Oct 2011, 15:27
Znuny Version: 3.0.1
Location: FR

[SOLVED] Can't open file ZZZAAuto.pm

Post by noraj »

Hello,

I've tried to install OTRS 3.1.0 beta4 yesterday and I've noticed that there was a new release (beta5).
I've got the same problem for the 2 installations : after having created the otrs table and getting connected, I've got this error message :
Can't open file /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm
I checked the directory and there's no ZZZAAuto.pm file, so that's probably the reason why OTRS can't open it...

Where could I find this file ? And the other one, ZZZAuto.pm ?

Thanks in advance for your help
noraj
Znuny newbie
Posts: 8
Joined: 27 Oct 2011, 15:27
Znuny Version: 3.0.1
Location: FR

Re: [SOLVED] Can't open file ZZZAAuto.pm

Post by noraj »

I solved the problem by re-installing the stable release of OTRS.
fbz
Znuny newbie
Posts: 4
Joined: 04 May 2012, 12:44
Znuny Version: 3.1.4

Re: [SOLVED] Can't open file ZZZAAuto.pm

Post by fbz »

Hi

I have exactly the same issue on installing 3.1.4 on Ubuntu. How did your solved your problem. Which version...
orangebox
Znuny newbie
Posts: 4
Joined: 11 Jan 2013, 08:33
Znuny Version: 3.1.12

Re: [SOLVED] Can't open file ZZZAAuto.pm

Post by orangebox »

I have an identical problem, but with OTRS stable version 3.1.12 on Ubuntu 10.04. Any known workarounds?
I followed the installation instructions at: http://wiki.otterhub.org/index.php?titl ... %2810.4%29
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: [SOLVED] Can't open file ZZZAAuto.pm

Post by reneeb »

Rerun the SetPermission script...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
orangebox
Znuny newbie
Posts: 4
Joined: 11 Jan 2013, 08:33
Znuny Version: 3.1.12

Re: [SOLVED] Can't open file ZZZAAuto.pm

Post by orangebox »

That did not help. What a shame. Does anyone know exactly what permissions are needed on Kernel/*/*/* so I can set them manually? Anyone successfully running OTRS on Ubuntu, could you please post the results of 'ls -lR /opt/otrs/Kernel' on your system? Many thanks.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: [SOLVED] Can't open file ZZZAAuto.pm

Post by crythias »

From the INSTALL file in your release:

Webserver with www-data user (e. g. Debian, Ubuntu):

Code: Select all

bin/otrs.SetPermissions.pl --otrs-user=otrs --web-user=www-data --otrs-group=www-data --web-group=www-data /opt/otrs
-rw-rw-r-- 1 www-data www-data 267396 Jan 17 08:20 ZZZAAuto.pm
-rw-rw-r-- 1 www-data www-data 6509 Dec 6 15:39 ZZZAuto.pm
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
orangebox
Znuny newbie
Posts: 4
Joined: 11 Jan 2013, 08:33
Znuny Version: 3.1.12

Re: [SOLVED] Can't open file ZZZAAuto.pm

Post by orangebox »

I must be doing something really dumb, just can't figure out what!
The above didn't help either. AFTER running the SetPermissions script as above (running as root), Kernel/Config/Files still has perms like this:
drwxr-xr-x 2 root root 4096 2013-01-03 14:52 Files
No wonder www-data (through installer.pl) is unable to open Files/ZZZAuto.pm and Files/ZZZAAuto.pm.
Any more advice?
:-(
orangebox
Znuny newbie
Posts: 4
Joined: 11 Jan 2013, 08:33
Znuny Version: 3.1.12

Re: [SOLVED] Can't open file ZZZAAuto.pm

Post by orangebox »

Duh! Got it.
It doesn't work if I make /opt/otrs a link to /opt/otrs-3.2.0.beta5/ (for example)
It is necessary to: mv otrs-3.2.0.beta5 otrs
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: [SOLVED] Can't open file ZZZAAuto.pm

Post by crythias »

Or set permissions on the other folder
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked