Problems with installation

Moderator: crythias

Locked
brycereeves
Znuny newbie
Posts: 4
Joined: 10 Jun 2015, 16:04
Znuny Version: 4.0.8-02
Real Name: Bryce Reeves
Company: SADA Access

Problems with installation

Post by brycereeves »

I have searched all over the internet, and all over this site and have not found a good resolution to the problem I am having. When I try to run install.pl, the pl script tries to download instead of running. and I see the following error in my error_log

Code: Select all

RequestURI: /otrs/installer.pl

 Traceback (4875):
   Module: Kernel::Output::HTML::LayoutTemplate::Output Line: 196
   Module: Kernel::Output::HTML::Layout::Error Line: 958
   Module: Kernel::Output::HTML::Layout::FatalError Line: 862
   Module: Kernel::Output::HTML::LayoutTemplate::Output Line: 200
   Module: Kernel::Output::HTML::Layout::Header Line: 1311
   Module: Kernel::Modules::Installer::Run Line: 163
   Module: Kernel::System::Web::InterfaceInstaller::Run Line: 138
   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_installer_2epl::handler Line: 40
   Module: (eval) (v1.99) Line: 204
   Module: ModPerl::RegistryCooker::run (v1.99) Line: 204
   Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 170
   Module: ModPerl::Registry::handler (v1.99) Line: 31

[Wed Jun 10 08:52:49 2015] -e: Use of uninitialized value in concatenation (.) or string at /opt/otrs//Kernel/Output/HTML/Layout.pm line 862.
ERROR: OTRS-CGI-10 Perl: 5.10.1 OS: linux Time: Wed Jun 10 08:52:49 2015

 Message: mkdir /opt/otrs/var/tmp/CacheFileStorable: Permission denied at /opt/otrs//Kernel/System/Cache/FileStorable.pm line 88


 RemoteAddress: xxx.xxx.xxx.xxx
 RequestURI: /otrs/installer.pl
I have reinstalled the system using the RPM installer, I have run the permissions script more times that I care to remember, absolutely nothing seems to have any effect.

I found that if I run the script from the command line it seems to activate something that allows me to then launch it from the web interface, but I can't accomplish anything still. I am not sure what else to do.

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

Re: Problems with installation

Post by root »

Do you have selinux enabled? On RHEL/CentOS use sestatus to check.
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 ?
brycereeves
Znuny newbie
Posts: 4
Joined: 10 Jun 2015, 16:04
Znuny Version: 4.0.8-02
Real Name: Bryce Reeves
Company: SADA Access

Re: Problems with installation

Post by brycereeves »

ok so I think the .pl issue may be resolved. I think was was an issue with otrs.conf. Now I just get a 500 Internal Server Error and these types of logs


[

Code: Select all

Wed Jun 10 09:55:29 2015] [error] [client xxx.xxx.xxx.xxx] ERROR: OTRS-CGI-10 Perl: 5.10.1 OS: linux Time: Wed Jun 10 09:55:29 2015
[Wed Jun 10 09:55:29 2015] [error] [client xxx.xxx.xxx.xxx]
[Wed Jun 10 09:55:29 2015] [error] [client xxx.xxx.xxx.xxx]  Message: mkdir /opt/otrs/var/tmp/CacheFileStorable/TemplateProvider: Permission denied at /opt/otrs/bin/cgi-bin/../../Kernel/System/Cache/FileStorable.pm line 88
[Wed Jun 10 09:55:29 2015] [error] [client xxx.xxx.xxx.xxx]
[Wed Jun 10 09:55:29 2015] [error] [client xxx.xxx.xxx.xxx]
[Wed Jun 10 09:55:29 2015] [error] [client xxx.xxx.xxx.xxx]  RemoteAddress: xxx.xxx.xxx.xxx
[Wed Jun 10 09:55:29 2015] [error] [client xxx.xxx.xxx.xxx]  RequestURI: /o
[Wed Jun 10 09:55:29 2015] [error] [client xxx.xxx.xxx.xxx] trs/installer.pl
[Wed Jun 10 09:55:29 2015] [error] [client xxx.xxx.xxx.xxx]
[Wed Jun 10 09:55:29 2015] [error] [client xxx.xxx.xxx.xxx]  Traceback (5302):
[Wed Jun 10 09:55:29 2015] [error] [client xxx.xxx.xxx.xxx]    Module: Kernel::Output::HTML::LayoutTemplate::Output Line: 196
[Wed Jun 10 09:55:29 2015] [error] [client xxx.xxx.xxx.xxx]    Module: Kernel::Output::HTML::Layout::Footer Line: 1383
[Wed Jun 10 09:55:29 2015] [error] [client xxx.xxx.xxx.xxx]    Module: Kernel::Output::HTML::Layout::FatalError Line: 863
[Wed Jun 10 09:55:29 2015] [error] [client xxx.xxx.xxx.xxx]    Module: Kernel::Output::HTML::LayoutTemplate::Output Line: 200
[Wed Jun 10 09:55:29 2015] [error] [client xxx.xxx.xxx.xxx]    Module: Kernel::Output::HTML::Layout::Header Line: 1311
[Wed Jun 10 09:55:29 2015] [error] [client xxx.xxx.xxx.xxx]    Module: Kernel::Modules::Installer::Run Line: 163
[Wed Jun 10 09:55:29 2015] [error] [client xxx.xxx.xxx.xxx]    Module: Kernel::System::Web::InterfaceInstaller::Run Line: 138
[Wed Jun 10 09:55:29 2015] [error] [client xxx.xxx.xxx.xxx]    Module: /opt/otrs/bin/cgi-bin/installer.pl Line: 40
[Wed Jun 10 09:55:29 2015] [error] [client xxx.xxx.xxx.xxx]
[Wed Jun 10 09:55:29 2015] [error] [client xxx.xxx.xxx.xxx] [Wed Jun 10 09:55:29 2015] installer.pl: Use of uninitialized value in concatenation (.) or string at /opt/otrs/bin/cgi-bin/../../Kernel/Output/HTML/Layout.pm line 863.
[Wed Jun 10 09:55:29 2015] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: installer.pl
brycereeves
Znuny newbie
Posts: 4
Joined: 10 Jun 2015, 16:04
Znuny Version: 4.0.8-02
Real Name: Bryce Reeves
Company: SADA Access

Re: Problems with installation

Post by brycereeves »

root wrote:Do you have selinux enabled? On RHEL/CentOS use sestatus to check.

Thank you for your response! yes that is enabled.


SELinux status: enabled
SELinuxfs mount: /selinux
Current mode: enforcing
Mode from config file: enforcing
Policy version: 24
Policy from config file: targeted
brycereeves
Znuny newbie
Posts: 4
Joined: 10 Jun 2015, 16:04
Znuny Version: 4.0.8-02
Real Name: Bryce Reeves
Company: SADA Access

Re: Problems with installation

Post by brycereeves »

disregard my statement that the issues was resolved with the otrs.conf apparently that broke it more rather than fixed it. it looks like the system is using zzz_otrs.conf rather than otrs.conf.

The problem just seems to be that the .pl will not run rather tries to download.
root
Administrator
Posts: 4253
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Problems with installation

Post by root »

First of all disable SELINUX, on RHEL/CentOS edit /etc/sysconfig/selinux and disable or set it to permissive. Then you have to reboot or execute

Code: Select all

setenforce 0
as root.

Did you run /opt/otrs/bin/otrs.CheckModules.pl? Maybe some modules are missing. A list of all your installed Apache modules could also help. There is also a chance that there is something missing. Configuring Apache's info module http://httpd.apache.org/docs/2.4/mod/mod_info.html is helpful.
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 ?
Locked