ISSUE in OTRS 6.0.x Installation

Moderator: crythias

Post Reply
sameer615
Znuny newbie
Posts: 38
Joined: 16 Aug 2017, 11:26
Znuny Version: OTRS 5
Real Name: sameer sardar
Company: ENS

ISSUE in OTRS 6.0.x Installation

Post by sameer615 »

hey,

I've tried as hard as I can, to install OTRS 6.0.x, I've checked everything which could be possible in order to install OTRS.
Installed OTRS 5.0.x successfully.
Following are the logs:

Module Check

Code: Select all

#  /opt/otrsdemo/bin/otrs.CheckModules.pl
  o Apache::DBI......................ok (v1.12)
  o Apache2::Reload..................ok (v0.13)
  o Archive::Tar.....................ok (v1.58)
  o Archive::Zip.....................ok (v1.30)
  o Crypt::Eksblowfish::Bcrypt.......ok (v0.009)
  o Crypt::SSLeay....................ok (v0.57)
  o Date::Format.....................ok (v2.22)
  o DateTime.........................ok (v0.53)
  o DBI..............................ok (v1.609)
  o DBD::mysql.......................ok (v4.013)
  o DBD::ODBC........................ok (v1.50)
  o DBD::Oracle......................Not installed! (optional - Required to connect to a Oracle database.)
  o DBD::Pg..........................ok (v2.15.1)
  o Digest::SHA......................ok (v5.47)
  o Encode::HanExtra.................ok (v0.23)
  o IO::Socket::SSL..................ok (v1.31)
  o JSON::XS.........................ok (v4.02)
  o List::Util::XS...................ok (v1.50)
  o LWP::UserAgent...................ok (v6.26)
  o Mail::IMAPClient.................ok (v3.42)
    o IO::Socket::SSL................ok (v1.31)
    o Authen::SASL...................ok (v2.13)
    o Authen::NTLM...................ok (v1.09)
  o ModPerl::Util....................ok (v2.000004)
  o Net::DNS.........................ok (v0.65)
  o Net::LDAP........................ok (v0.40)
  o Template.........................ok (v2.22)
  o Template::Stash::XS..............ok (undef)
  o Text::CSV_XS.....................ok (v1.38)
  o Time::HiRes......................ok (v1.9721)
  o XML::LibXML......................ok (v1.70)
  o XML::LibXSLT.....................ok (v1.70)
  o XML::Parser......................ok (v2.36)
  o YAML::XS.........................ok (v0.76)
Perl Module Updated successfully :

Code: Select all

perl -MCPAN -e shell;
cpan[1]> install YAML::XS
cpan[2]> install Text::CSV_XS
cpan[3]> install ModPerl::Util
cpan[4]> install Authen::NTLM
cpan[5]> install Mail::IMAPClient
cpan[6]> install JSON::XS
cpan[7]> install Encode::HanExtra
cpan[8]> install DBD::mysql
cpan[9]> install Crypt::Eksblowfish::Bcrypt

Compilation Check :

Code: Select all

# perl -cw /opt/otrsdemo/bin/cgi-bin/installer.pl
/opt/otrsdemo/bin/cgi-bin/installer.pl syntax OK

# perl -cw /opt/otrsdemo/bin/cgi-bin/index.pl
/opt/otrsdemo/bin/cgi-bin/index.pl syntax OK

# perl -cw /opt/otrsdemo/bin/cgi-bin/customer.pl
/opt/otrsdemo/bin/cgi-bin/customer.pl syntax OK

# perl -cw /opt/otrsdemo/bin/otrs.Console.pl
/opt/otrsdemo/bin/otrs.Console.pl syntax OK


According to me everything is fine. Still I'm getting Syntax error like this :


[Thu Mar 07 15:09:20 2019] [error] [client 10.10.10.10] Bareword found where operator expected at /opt/otrsdemo/bin/cgi-bin/../../Kernel/Config/Defaults.pm line 1949, near "s{\\Q$Self->{Home}\\E/*}{}gr"
[Thu Mar 07 15:09:20 2019] [error] [client 10.10.10.10] Bareword found where operator expected at /opt/otrsdemo/bin/cgi-bin/../../Kernel/Config/Defaults.pm line 2159, near "s{::}{/}smxgr"
[Thu Mar 07 15:09:20 2019] [error] [client 10.10.10.10] syntax error at /opt/otrsdemo/bin/cgi-bin/../../Kernel/Config/Defaults.pm line 1949, near "s{\\Q$Self->{Home}\\E/*}{}gr"
[Thu Mar 07 15:09:20 2019] [error] [client 10.10.10.10] syntax error at /opt/otrsdemo/bin/cgi-bin/../../Kernel/Config/Defaults.pm line 2159, near "s{::}{/}smxgr"
[Thu Mar 07 15:09:20 2019] [error] [client 10.10.10.10] Compilation failed in require at /opt/otrsdemo/bin/cgi-bin/../../Kernel/Config.pm line 98.
[Thu Mar 07 15:09:20 2019] [error] [client 10.10.10.10] BEGIN failed--compilation aborted at /opt/otrsdemo/bin/cgi-bin/../../Kernel/Config.pm line 98.
[Thu Mar 07 15:09:20 2019] [error] [client 10.10.10.10] Compilation failed in require at /opt/otrsdemo/bin/cgi-bin/../../Kernel/System/ObjectManager.pm line 24.
[Thu Mar 07 15:09:20 2019] [error] [client 10.10.10.10] BEGIN failed--compilation aborted at /opt/otrsdemo/bin/cgi-bin/../../Kernel/System/ObjectManager.pm line 24.
[Thu Mar 07 15:09:20 2019] [error] [client 10.10.10.10] Compilation failed in require at /opt/otrsdemo/bin/cgi-bin/installer.pl line 32.
[Thu Mar 07 15:09:20 2019] [error] [client 10.10.10.10] BEGIN failed--compilation aborted at /opt/otrsdemo/bin/cgi-bin/installer.pl line 32.
[Thu Mar 07 15:09:20 2019] [error] [client 10.10.10.10] Premature end of script headers: installer.pl
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: ISSUE in OTRS 6.0.x Installation

Post by crythias »

https://doc.otrs.com/doc/manual/admin/6 ... -otrs.html
Note Please note that OTRS requires a working Perl installation with all "core" modules such as the module version. These modules are not explicitly checked by the script. You may need to install a perl-core package on some systems like RHEL that do not install the Perl core packages by default.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Post Reply