[SOLVED]Downloads index.pl when opening

Moderator: crythias

Post Reply
nhughes
Znuny newbie
Posts: 19
Joined: 14 Mar 2017, 22:02
Znuny Version: 3.3.3

[SOLVED]Downloads index.pl when opening

Post by nhughes »

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 :).
Last edited by nhughes on 08 Jun 2017, 15:00, edited 1 time in total.
root
Administrator
Posts: 3963
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

Post by root »

Hi,

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 ?
nhughes
Znuny newbie
Posts: 19
Joined: 14 Mar 2017, 22:02
Znuny Version: 3.3.3

Re: Downloads index.pl when opening

Post by nhughes »

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.
ConnectAD.PNG
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.
root
Administrator
Posts: 3963
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

Post by root »

Hi,
nhughes wrote: Message: Can't load backend module Kernel::System::Auth::ConnectAD!
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.

- 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 ?
nhughes
Znuny newbie
Posts: 19
Joined: 14 Mar 2017, 22:02
Znuny Version: 3.3.3

Re: Downloads index.pl when opening

Post by nhughes »

switching everything to LDAP solved the problem. THANKS :D :) 8) :lol:
Post Reply