[SOLVED] Error while Installing otrs 6.0.30

Moderator: crythias

Post Reply
chrotha
Znuny newbie
Posts: 93
Joined: 29 Jun 2018, 13:44
Znuny Version: 6.x.x/7.0.x
Real Name: Ruben Sardinha

[SOLVED] Error while Installing otrs 6.0.30

Post by chrotha »

Hey everyone, I've been trying to install the OTRS 6.0.30 version and I've been getting an Apache error while trying to run the installer.pl page.
When I change the name to the Config.pm file, it tries to read from it even if I call the localhost/otrs/installer.pl website.
I tried creating the otrs user and database but it only return the error

Code: Select all

DBD::mysql::st execute failed: Table 'otrs.valid' doesn't exist at /opt/otrs//Kernel/System/DB.pm line 695.
From this I can't really do anything else, can you give me a hand? :?

Thanks in advance
Last edited by chrotha on 14 May 2021, 17:08, edited 1 time in total.
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Error while Installing otrs 6.0.30

Post by reneeb »

Which OS, Database system, Perl version do you use? Are there any logs in the syslog?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
chrotha
Znuny newbie
Posts: 93
Joined: 29 Jun 2018, 13:44
Znuny Version: 6.x.x/7.0.x
Real Name: Ruben Sardinha

Re: Error while Installing otrs 6.0.30

Post by chrotha »

OS : CentOS 7
Perl Version : This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux-thread-multi
Database Version Server version: 5.5.68-MariaDB MariaDB Server

Some of the logs that were shown in the Apache Error_log:

Code: Select all

DBD::mysql::st execute failed: Table 'otrs.valid' doesn't exist at /opt/otrs//Kernel/System/DB.pm line 695

Code: Select all

: Can't load log backend module Kernel::System::Log::SysLog! Can't locate Sys/Syslog.pm in @INC (@INC contains: /usr/Custom /usr/Kernel/cpan-lib /usr /usr/sbin/../../Custom /usr/sbin/../../Kernel/cpan-lib /usr/sbin/../.. /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at /opt/otrs//Kernel/System/Log/SysLog.pm line 15.
[Fri May 14 11:40:06 2021] -e: BEGIN failed--compilation aborted at /opt/otrs//Kernel/System/Log/SysLog.pm line 15.\n[Fri May 14 11:40:06 2021] -e: Compilation failed in require at (eval 283) line 2.
If any more information is needed I can try to provide.

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

Re: Error while Installing otrs 6.0.30

Post by root »

Hi,

Do you have the (meta)package perl-core installed?

- 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 ?
chrotha
Znuny newbie
Posts: 93
Joined: 29 Jun 2018, 13:44
Znuny Version: 6.x.x/7.0.x
Real Name: Ruben Sardinha

Re: Error while Installing otrs 6.0.30

Post by chrotha »

Hey Roy,

Thanks for the reply, it was the perl-core package that was missing, after installing it I could go on with the OTRS installation.
Thanks everyone for the replies, the problem is solved. :)
Post Reply