Permission denied

Moderator: crythias

Locked
MarcoB106
Znuny newbie
Posts: 32
Joined: 14 Jan 2015, 12:20
Znuny Version: 3.3.10
Real Name: Marco
Company: DB

Permission denied

Post by MarcoB106 »

Hello everyone,

does anyone know the solution for this error ?


15:22:25 2015] [notice] Apache/2.2.22 (Debian) mod_perl/2.0.7 Perl/v5.14.2 configured -- resuming normal operations
[Wed Feb 11 15:22:32 2015] [error] (13)Permission denied: exec of '/opt/otrs/bin/cgi-bin/index.pl' failed
[Wed Feb 11 15:22:32 2015] [error] [client 10.176.6.119] Premature end of script headers: index.pl


If i try to set Permission with this command : bin/otrs.SetPermissions.pl --otrs-user=otrs --otrs-group=otrs --web-user=www-data --web-group=www-data /opt/otrs

This answer occurs: -bash: bin/otrs.SetPermissions.pl: No Permission


Cheers

Marco
Greetings

Marco

Im running OTRS::ITSM 3.3.10 on Debian 7.4.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Permission denied

Post by crythias »

run as root.
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
MarcoB106
Znuny newbie
Posts: 32
Joined: 14 Jan 2015, 12:20
Znuny Version: 3.3.10
Real Name: Marco
Company: DB

Re: Permission denied

Post by MarcoB106 »

Thanks for the fast response.

I followed your advice and now i receive this error: Error during minification of file /opt/otrs//var/httpd/htdocs/js/thirdparty/jquery-ui-1.10.3/jquery-ui.js: mkdir /opt/otrs/var/tmp/CacheFileStorable/CacheInternalLoader/5/2: Permission denied at /opt/otrs//Kernel/System/Cache/FileStorable.pm line 79

Error Log says:


Traceback (9149):
Module: Kernel::System::Main::FileWrite (OTRS 3.3.10) Line: 485
Module: Kernel::System::Cache::FileStorable::Set (OTRS 3.3.10) Line: 89
Module: Kernel::System::Cache::Set (OTRS 3.3.10) Line: 130
Module: Kernel::System::DynamicField::DynamicFieldGet (OTRS 3.3.10) Line: 324
Module: Kernel::System::DynamicField::DynamicFieldListGet (OTRS 3.3.10) Line: 955
Module: Kernel::System::Service::new (OTRS 3.3.10) Line: 113
Module: Kernel::System::Ticket::new (OTRS 3.3.10) Line: 169
Module: Kernel::System::Web::InterfaceAgent::Run (OTRS 3.3.10) Line: 171
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 49
Module: (eval) (v1.99) Line: 204
Module: ModPerl::RegistryCooker::run (v1.99) Line: 204
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 170
Module: ModPerl::Registry::handler (v1.99) Line: 31

ERROR: OTRS-CGI-40 Perl: 5.14.2 OS: linux Time: Wed Feb 11 16:48:04 2015

Message: Can't write '/opt/otrs/var/tmp/CacheFileStorable/DynamicField/3/a/3a185f32828a79653f6a091eb41d040c': Permission denied

RemoteAddress: 10.176.6.119
RequestURI: /otrs/index.pl

Traceback (9149):
Module: Kernel::System::Main::FileWrite (OTRS 3.3.10) Line: 485
Module: Kernel::System::Cache::FileStorable::Set (OTRS 3.3.10) Line: 89
Module: Kernel::System::Cache::Set (OTRS 3.3.10) Line: 130
Module: Kernel::System::DynamicField::DynamicFieldListGet (OTRS 3.3.10) Line: 962
Module: Kernel::System::Service::new (OTRS 3.3.10) Line: 113
Module: Kernel::System::Ticket::new (OTRS 3.3.10) Line: 169
Module: Kernel::System::Web::InterfaceAgent::Run (OTRS 3.3.10) Line: 171
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 49
Module: (eval) (v1.99) Line: 204
Module: ModPerl::RegistryCooker::run (v1.99) Line: 204
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 170
Module: ModPerl::Registry::handler (v1.99) Line: 31


Any Idea what to do now?
Greetings

Marco

Im running OTRS::ITSM 3.3.10 on Debian 7.4.
Locked