OTRS3.2 install "first email"

Moderator: crythias

Locked
karlzre
Znuny newbie
Posts: 5
Joined: 11 Sep 2012, 12:29
Znuny Version: OTRS3.0

OTRS3.2 install "first email"

Post by karlzre »

Hi,


I'm just trying to install OTRS3.2 on ubuntu 12.10

I followed the install file.

I'm on the point n° 10 "first email.

I tryed the command in the file and get this message :

Code: Select all

sudo cat /opt/otrs/doc/sample_mails/test-email-1.box | /opt/otrs/bin/otrs.PostMaster.pl
ERROR: OTRS-otrs.PostMaster.pl-10 Perl: 5.14.2 OS: linux Time: Tue Dec 11 15:17:49 2012

 Message: mkdir /opt/otrs/var/tmp/CacheFileStorable/DynamicField/3/0: Permission denied at /opt/otrs/Kernel/System/Cache/FileStorable.pm line 79


 Traceback (27991): 
   Module: /opt/otrs/bin/otrs.PostMaster.pl (v1.10) Line: 137
Can anyone help me to fix it ?
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: OTRS3.2 install "first email"

Post by reneeb »

You should run the Perl script with the same permissions, your OTRS runs. Assuming your webserver runs as user "otrs":

Code: Select all

cat /opt/otrs/doc/sample_mails/test-email-1.box | su - otrs /opt/otrs/bin/otrs.PostMaster.pl
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
karlzre
Znuny newbie
Posts: 5
Joined: 11 Sep 2012, 12:29
Znuny Version: OTRS3.0

Re: OTRS3.2 install "first email"

Post by karlzre »

Hi,

Thanks it's working using sudo.

Thanks again.
Locked