Hello all,
I recently installed OTRS 5.x.x on a CentOS 7 vm. Recently I added LDAP settings to the config.pm file.
Then, I went to the customer page and was able to successfully enter. Next, I wanted to test the index.pl but when I went to browse out on a remote pc, I am prompted to download the file.
I used the checkmodules.pl and installed any module not labeled (optional).
What could have happened to cause this issue? From some googling, I can see it may be an issue with cgi or the perl modules?
Could someone offer some assistance with this issue? I greatly appreciate you .
[SOLVED]Downloads index.pl when opening
Moderator: crythias
[SOLVED]Downloads index.pl when opening
Last edited by nhughes on 08 Jun 2017, 15:00, edited 1 time in total.
-
- Administrator
- Posts: 3968
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Downloads index.pl when opening
Hi,
Did you checked the syntax of Config.pm? I did this as the otrs user from the directory /opt/otrs by executing.
Are there any errors in the Apache error log?
- Roy
Did you checked the syntax of Config.pm? I did this as the otrs user from the directory /opt/otrs by executing
Code: Select all
perl -cw Kernel/Config.pm
Are there any errors in the Apache error log?
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Re: Downloads index.pl when opening
I checked the syntax using the method you described and that's OK.
I am seeing some anomalies in the error log. I believe some of the code I entered for LDAP is causing it.
Message: Can't load backend module Kernel::System::Auth::ConnectAD!
Why would the absence of that module cause the issue? Image of full error below.
Is this because of syntax with the authmodules? does it need to be Authmodule::ldap ?
I am seeing some anomalies in the error log. I believe some of the code I entered for LDAP is causing it.
Message: Can't load backend module Kernel::System::Auth::ConnectAD!
Why would the absence of that module cause the issue? Image of full error below.
Is this because of syntax with the authmodules? does it need to be Authmodule::ldap ?
You do not have the required permissions to view the files attached to this post.
-
- Administrator
- Posts: 3968
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Downloads index.pl when opening
Hi,
- Roy
This module is deprecated (and not ported to OTRS 4 or 5), check https://github.com/rkaldung/ConnectAD for a link to MSDN and please use the native LDAP module.nhughes wrote: Message: Can't load backend module Kernel::System::Auth::ConnectAD!
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Re: Downloads index.pl when opening
switching everything to LDAP solved the problem. THANKS