New setup Centos7, OTRS 5.0.9

Moderator: crythias

Locked
plattnat
Znuny newbie
Posts: 41
Joined: 26 Dec 2015, 09:42
Znuny Version: 6.2.1
Real Name: Nathan Platt

New setup Centos7, OTRS 5.0.9

Post by plattnat »

Hi Guys,

I'm trying to setup OTRS on a centos7 build, so far everything has installed fine but I'm unable to access the installer.pl on the server. The apache test page loads fine.


Apache Error Log;

Code: Select all

[root@UNKNOWN httpd]# tail error_log
   Module: Kernel::System::ObjectManager::Get Line: 180
   Module: Kernel::Modules::Installer::Run Line: 150
   Module: Kernel::System::Web::InterfaceInstaller::Run Line: 129
   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_installer_2epl::handler Line: 39
   Module: (eval) (v1.99) Line: 207
   Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
   Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
   Module: ModPerl::Registry::handler (v1.99) Line: 32

[Tue May 10 12:49:09.308963 2016] [:error] [pid 1589] mkdir /opt/otrs/var/tmp/CacheFileStorable: Permission denied at /opt/otrs//Kernel/System/Cache/FileStorable.pm line 87.\n
[root@UNKNOWN httpd]#
pgmartinez1
Znuny newbie
Posts: 22
Joined: 05 Oct 2015, 16:18
Znuny Version: 5.0.12
Real Name: Pablo Martinez
Company: CONICET

Re: New setup Centos7, OTRS 5.0.9

Post by pgmartinez1 »

check the permissions here:
# ls -Al /opt/otrs/var/tmp/
Prod > Centos 7.2 / OTRS 5.0.12 / LDAP SSO for customers / CAS SSO for Agents / OCS Integration / PHPFreeChat / Nagios Monitor
Dev > Centos 7.2 / OTRS 5.0.13
plattnat
Znuny newbie
Posts: 41
Joined: 26 Dec 2015, 09:42
Znuny Version: 6.2.1
Real Name: Nathan Platt

Re: New setup Centos7, OTRS 5.0.9

Post by plattnat »

I disabled SELinux and i access it now, thanks
ThunderFox
Znuny newbie
Posts: 16
Joined: 11 May 2016, 20:01
Znuny Version: 5.0.6

Re: New setup Centos7, OTRS 5.0.9

Post by ThunderFox »

Hi,

If it helps any, I had this same problem too only on Fedora.

If I recall correctly, enabling httpd_unified with setsebool solved the problem. I would advise against turning off SELinux, as it does help quite a bit to up security of a production system.

Cheers.
Locked