Internal server error

Moderator: crythias

Locked
rajbps
Znuny newbie
Posts: 47
Joined: 02 Jan 2014, 22:02
Znuny Version: 3.3.3
Real Name: Raj
Company: Business Park Solutions Ltd

Internal server error

Post by rajbps »

Hi Team,

I have otrs version 5.0.9 installed on contos 7.
When I go to admin=> System Logs , I get an error : Internal serverError. The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.

Now if I check the error logs in /var/logs/httpd/ssl_error, I can see the following:

15:40:37.460668 2016] [:error] [pid 13922] [Mon Jun 20 15:40:37 2016] -e: Permission denied at /opt/otrs//Kernel/System/Log.pm line 279.\n
[Mon Jun 20 15:40:55.152310 2016] [:error] [pid 15810] [Mon Jun 20 15:40:55 2016] -e: Permission denied at /opt/otrs//Kernel/System/Log.pm line 279.\n
[Mon Jun 20 15:42:04.232935 2016] [:error] [pid 15811] [Mon Jun 20 15:42:04 2016] -e: Permission denied at /opt/otrs//Kernel/System/Log.pm line 279.\n
[Mon Jun 20 15:42:27.504401 2016] [:error] [pid 15814] [Mon Jun 20 15:42:27 2016] -e: Permission denied at /opt/otrs//Kernel/System/Log.pm line 279.\n

I am logged on as the first agent created.

Can anyone please advise?

Regards,

Rajbps
Eggllo
Znuny newbie
Posts: 79
Joined: 09 Jun 2016, 14:27
Znuny Version: 5.0.10

Re: Internal server error

Post by Eggllo »

Have you run the otrs.SetPermissions.pl script?

You might find this topic from the mailing list helpful, if a bit outdated.
http://lists.otrs.org/pipermail/otrs/20 ... 40745.html
OTRS v5.0.10 with ITSM extension.
MySQL database
Ubuntu 16.04 LTS
coolmf
Znuny newbie
Posts: 37
Joined: 02 Nov 2015, 16:29
Znuny Version: 5.0.26

Re: Internal server error

Post by coolmf »

/opt/otrs//Kernel/System/Log.pm
That looks odd, notice the double slash between otrs and Kernel.
Check config and find out where that comes from.
OTRS 5.0.26 with ITSM, and FAQ module on CentOS 7 with MariaDB and Apache
Using LDAPS for customers and agents against Azure AD
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Internal server error

Post by RStraub »

I wouldn't mind the double slash. Linux handles that just fine.

It might happen if you are using (for example) a symlink:
/opt/otrs/ -> /opt/otrs-5.0.7/ results in /opt/otrs//
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Locked