can't login - installation problem

Hi there, I just installed from source the latest otrs version on a debian 4.0 box running PostgreSQL 8.1 and Apache 2.2.x. I followed all the steps, as described, in the documentation and everything worked fine. After I displayed the login page and tried to login I get the following error: ------------------------------ ------------------------------------------------ Error: Can't write /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm: Permission denied! Comment: Bug Report: Traceback: ERROR: OTRS-CGI-10 Perl: 5.8.8 OS: linux Message: Can't write /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm: Permission denied! Traceback (10512): Module: Kernel::System::Config::WriteDefault (v1.64) Line: 247 Module: Kernel::Modules::AdminInit::Run ( v1.4) Line: 56 Module: Kernel::System::Web::InterfaceAgent::Run (v1.23) Line: 670 Module: /opt/otrs/bin/cgi-bin/index.pl (v1.81) Line: 47 ----------------------------------------------------------------------------- The Apache error_log showed the following too: --------------------------------------------------------------- Message: Can't write cache file /opt/otrs/var/tmp/SysConfig-Cache_Kernel_Config_Files_Framework .xml-3d15c3528f10ac2fe6ba954cf5ecffe5.pm: Permission denied Can't write cache file /opt/otrs/var/tmp/SysConfig-Cache_Kernel_Config_Files_Ticket.xm l-f8dd006d03246fc35157870503272558.pm: Permission denied, ------------------------------------------------------------- any help is much appreciated. Thanks

В сообщении от Friday 21 December 2007 17:30:13 Konstantin webuser написал(а):
I followed all the steps, as described, in the documentation and everything worked fine. After I displayed the login page and tried to login I get the following error
this means not all worked fine ;)
Error: Can't write /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm: Permission denied!
try to run SetPermissions script correctly? Mike

indeed :-)
I did run that script and I thought that I did use the right permissions.
OTRS is installed using the 'otrs' user with home directory '/opt/otrs' and
group 'otrs'. The web server is installed as a regular user who has sudo
privileges. As a result, I did run SetPermissions as:
SetPermissions /opt/otrs otrs web_server_user otrs group_of_web_user
I thought the above was correct?
Thanks for your help
On Dec 21, 2007 2:40 PM, Mike Lykov
В сообщении от Friday 21 December 2007 17:30:13 Konstantin webuser написал(а):
I followed all the steps, as described, in the documentation and everything worked fine. After I displayed the login page and tried to login I get the following error
this means not all worked fine ;)
Error: Can't write /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm: Permission denied!
try to run SetPermissions script correctly?
Mike _______________________________________________ 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?

any chance to get some attention on this issue?
Thanks
On Dec 21, 2007 3:54 PM, Konstantin webuser
indeed :-)
I did run that script and I thought that I did use the right permissions. OTRS is installed using the 'otrs' user with home directory '/opt/otrs' and group 'otrs'. The web server is installed as a regular user who has sudo privileges. As a result, I did run SetPermissions as:
SetPermissions /opt/otrs otrs web_server_user otrs group_of_web_user
I thought the above was correct?
Thanks for your help
On Dec 21, 2007 2:40 PM, Mike Lykov < combr@reg.ru> wrote:
В сообщении от Friday 21 December 2007 17:30:13 Konstantin webuser написал(а):
I followed all the steps, as described, in the documentation and everything worked fine. After I displayed the login page and tried to login I get the following error
this means not all worked fine ;)
Error: Can't write /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm: Permission denied!
try to run SetPermissions script correctly?
Mike _______________________________________________ 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?

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Konstantin webuser wrote:
any chance to get some attention on this issue?
Hi, please read this: http://doc.otrs.org/2.2/en/html/x354.html You made this: SetPermissions /opt/otrs otrs web_server_user otrs group_of_web_user <<snip>> The last step to prepare the installation of OTRS is to set the proper access rights for the files of the ticket system. You can use the script SetPermissions.sh, which is located in the bin directory in the home directory of the OTRS user. The script can be executed with the following parameters: SetPermissions.sh { Home directory of the OTRS user } { OTRS user } { Web server user } [ Group of the OTRS user ] [ Group of the web server user ] <<snap>> - -- _________________________________ Christian Rhomberg ob8.at | Labor für freie Software _________________________________ Mail: christian.rhomberg@ob8.at jabber: christian.rhomberg@jabber.org Mobile: +43(0)699 11465892 Web: http://christian.ob8.at _________________________________ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHciHlN/MrWGb3QDERAtZeAKCc+/W/0h8LHJbmVPPqW37bOPDnagCg4r0f QAL/XRxQoOwbDCreUMjzJvI= =EZ7l -----END PGP SIGNATURE-----

thanks for your reply.
I did read that and did follow it right from the beginning! Let me try to
explain the installation so far in more details.
Its a debian with 2 users. 'user_a:group_a' and 'otrs:otrs'. Apache is
installed and runs from '/home/user_a' directory. I did start apache as
root. 'otrs' belongs to 'group_a' as well so both users ('user_a' and
'otrs') can read and write to each others directories!
I started apache as root. Now, I did run:
SetPermissions /opt/otrs otrs user_a otrs group_a
I think that the above is correct? What am I doing wrong!
Thanks
On Dec 26, 2007 11:41 AM, Christian Rhomberg
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Konstantin webuser wrote:
any chance to get some attention on this issue?
Hi, please read this: http://doc.otrs.org/2.2/en/html/x354.html
You made this:
SetPermissions /opt/otrs otrs web_server_user otrs group_of_web_user
<<snip>>
The last step to prepare the installation of OTRS is to set the proper access rights for the files of the ticket system. You can use the script SetPermissions.sh, which is located in the bin directory in the home directory of the OTRS user. The script can be executed with the following parameters:
SetPermissions.sh { Home directory of the OTRS user } { OTRS user } { Web server user } [ Group of the OTRS user ] [ Group of the web server user ]
<<snap>>
- --
_________________________________
Christian Rhomberg
ob8.at | Labor für freie Software _________________________________
Mail: christian.rhomberg@ob8.at jabber: christian.rhomberg@jabber.org Mobile: +43(0)699 11465892 Web: http://christian.ob8.at _________________________________
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHciHlN/MrWGb3QDERAtZeAKCc+/W/0h8LHJbmVPPqW37bOPDnagCg4r0f QAL/XRxQoOwbDCreUMjzJvI= =EZ7l -----END PGP SIGNATURE-----
_______________________________________________ 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/
participants (3)
-
Christian Rhomberg
-
Konstantin webuser
-
Mike Lykov