[SOLVED] OTRS on CentOS 7 - Error in installation

Moderator: crythias

Locked
felgnon
Znuny newbie
Posts: 6
Joined: 08 Oct 2014, 20:19
Znuny Version: 3.3.9

[SOLVED] OTRS on CentOS 7 - Error in installation

Post by felgnon »

Hi guys, i'm having some troubles installing OTRS on CentOS 7. I googled but found nothing that could help my situation.

Here is a printscreen of my error:
Image

I would be glad if you could help me here, as i can't find any solution : )
Last edited by felgnon on 22 Oct 2014, 18:05, edited 1 time in total.
MatjazBF
Znuny newbie
Posts: 21
Joined: 29 Oct 2013, 12:11
Znuny Version: 4.0.10
Real Name: Matjaz Batic Finzgar

Re: OTRS on CentOS 7 - Error in installation

Post by MatjazBF »

You shoud install RPM as root

Here are my notes for instal:
yum upgrade
yum -y install net-tools vim wget
yum -y install mariadb-server mariadb

vim /etc/my.cnf
max_allowed_packet=20M
query_cache_size=32M

#MYSQL
service mariadb start
/usr/bin/mysql_secure_installation


#OTRS
wget http://ftp.otrs.org/pub/otrs//RPMS/rhel ... noarch.rpm

useradd otrs
passwd otrs
yum install --nogpgcheck otrs-4.0.0.beta1-01.noarch.rpm

#APACHE
chkconfig httpd on
service httpd start

#add repo
wget http://ftp-stud.hs-esslingen.de/pub/epe ... noarch.rpm
yum -y install epel-release-7-1.noarch.rpm

vim /etc/sysconfig/otrs
OTRS_USED_WEBSERVER_TEST="/bin/systemctl is-active httpd"

/opt/otrs/bin/otrs.CheckModules.pl
yum -y install "perl(YAML::XS)"

yum -y install "perl(Text::CSV_XS)" "perl(PDF::API2)" "perl(ModPerl::Util)" "perl(Mail::IMAPClient)"
yum -y install "perl(Crypt::Eksblowfish::Bcrypt)" "perl(GD)" "perl(GD::Text)" "perl(GD::Graph)" "perl(JSON::XS)"

#firewall OFF
systemctl stop firewalld
systemctl mask firewalld

#open port on Firewall
firewall-cmd --zone=public --add-service=http --permanent
firewall-cmd --reload

#SElinux OFF
vim /etc/selinux/config

add otrs to group apache
usermod -a -G apache otrs
felgnon
Znuny newbie
Posts: 6
Joined: 08 Oct 2014, 20:19
Znuny Version: 3.3.9

Re: OTRS on CentOS 7 - Error in installation

Post by felgnon »

Thank you for the answer, but when i get to the part of installing OTRS i get the same error as i have on the image above.
I think i'll try to install it by the source code, maybe that that works.
Rooobaaat
Znuny wizard
Posts: 432
Joined: 11 Sep 2014, 16:28
Znuny Version: OTRS 5.0.x

Re: OTRS on CentOS 7 - Error in installation

Post by Rooobaaat »

try the following:

1 - delete the otrs user
2 - log in as root
3 - deactivate SELinux
4 - run the rpm installation
5 - report if everything is fine
My english is better than your german :P

"Produktiv": OTRS: 5.0.x, OTRS::ITSM 5.0.x
"Testing": OTRS 6 git
OS: Debian 8.0 (Jessie)
Apache2.4.10/MySQL 5.5.41
felgnon
Znuny newbie
Posts: 6
Joined: 08 Oct 2014, 20:19
Znuny Version: 3.3.9

Re: OTRS on CentOS 7 - Error in installation

Post by felgnon »

Yea it was the otrs user creating some problems, had to delete it. It's working fine now.
Thanks a lot for the help : )
Locked