otrs.CheckModules.pl

Moderator: crythias

Locked
pidilandia
Znuny newbie
Posts: 47
Joined: 19 Sep 2017, 11:48
Znuny Version: 5.0.16

otrs.CheckModules.pl

Post by pidilandia »

Hi,
when i install otrs and start "otrs.CheckModules.pl" i get the message: Can't locate Linux / Distribution.pm in @INC
Has this happened to anyone before?

Thank you.
PP
root
Administrator
Posts: 4250
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: otrs.CheckModules.pl

Post by root »

Hi,

Which operating system?

- 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 ?
pidilandia
Znuny newbie
Posts: 47
Joined: 19 Sep 2017, 11:48
Znuny Version: 5.0.16

Re: otrs.CheckModules.pl

Post by pidilandia »

Debian 9

I have tried to install liblinux-distribution-perl but it without success

thank you

PP
root
Administrator
Posts: 4250
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: otrs.CheckModules.pl

Post by root »

pidilandia wrote: 23 Mar 2021, 14:40 Debian 9

I have tried to install liblinux-distribution-perl but it without success

thank you

PP
Hi,

does it work with these commands?

Code: Select all

export PERL_USE_UNSAFE_INC=1
/opt/otrs/bin/otrs.CheckModules.pl
- 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 ?
pidilandia
Znuny newbie
Posts: 47
Joined: 19 Sep 2017, 11:48
Znuny Version: 5.0.16

Re: otrs.CheckModules.pl

Post by pidilandia »

Ok, thanks, now it's works, but I hava another problem now.

When I try to connect to:

http://XXXX/otrs/index.pl

I receive the following screen attached.
You do not have the required permissions to view the files attached to this post.
wurzel
Znuny guru
Posts: 3273
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: otrs.CheckModules.pl

Post by wurzel »

Hi,

it seems your webserver does not understand perl. You have to enable the perl interpreter.

Flo
OTRS 2025 SILVER (Prod)
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
liquidxtc13
Znuny newbie
Posts: 35
Joined: 30 Nov 2020, 21:13
Znuny Version: 6.4.5
Real Name: Bjoern

Re: otrs.CheckModules.pl

Post by liquidxtc13 »

Hi pidilandia,

as an addition to wurzel's answer, the following commands should do the trick:

Code: Select all

sudo apt-get update && sudo apt apt-get install libapache2-mod-perl

Code: Select all

sudo a2enmod perl

Code: Select all

sudo systemctl restart apache2
Of course you have to configure apache2 as explained in the documentation. But znuny acutally comes with a pre-configures config. I think it's called zzz.otrs.conf resp. zzz.znuny.conf

Hope this helps,
Cheers
Locked