Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-05-07, 15:09:59

Author Topic: Installation Woes  (Read 5823 times)

0 Members and 1 Guest are viewing this topic.

Offline gmorris87

  • Junior Member
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Installation Woes
« on: 2013-09-12, 04:09:25 »
I have a script that I use many times to deploy Kloxo-MR for many of my servers, that I adapted from several guides I read online about installing this. However, up until today, I never had a problem with it. It appears there's something wrong with the yum repos, but I could be wrong. The script I use is pasted below:

Code: [Select]
#First, we run updates

yum update -y
yum install yum-utils yum-priorities vim-minimal subversion curl zip unzip telnet -y

#Who needs SELINUX, especially when it breaks things?!
setenforce 0
echo 'SELINUX=disabled' > /etc/selinux/config

#Add the repos we need
cd /etc/yum.repos.d/
#Commenting out the official since it causes problems on some VPS providers
#wget https://github.com/mustafaramadhan/kloxo/raw/release/kloxo-mr.repo --no-check-certificate
wget http://scripts.notawebhost.com/kloxofix/kloxo-mr.repo

#Time to begin installation
cd /
yum install kloxomr -y

#Run install script
sh /usr/local/lxlabs/kloxo/install/setup.sh

I am aware that I use a different repo here, however, I used this today secondly after following instructions as I was writing a guide at http://www.spankytech.com/installing-kloxo-mr/ so you can see that it happened when I didn't use my custom repo file (which is accessible at http://scripts.notawebhost.com/kloxofix/kloxo-mr.repo).

Either way, I face this error:

Code: [Select]
Running Transaction Test


Transaction Check Error:
  file /etc/my.cnf from install of mysql-libs-5.5.29-1.el6.x86_64 conflicts with file from package mysql55-libs-5.5.33-1.ius.el6.x86_64
  file /usr/lib64/mysql/libmysqlclient.so.18.0.0 from install of mysql-libs-5.5.29-1.el6.x86_64 conflicts with file from package mysql55-libs-5.5.33-1.ius.el6.x86_64
  file /usr/share/mysql/charsets/Index.xml from install of mysql-libs-5.5.29-1.el6.x86_64 conflicts with file from package mysql55-libs-5.5.33-1.ius.el6.x86_64
  file /usr/share/mysql/charsets/armscii8.xml from install of mysql-libs-5.5.29-1.el6.x86_64 conflicts with file from package mysql55-libs-5.5.33-1.ius.el6.x86_64
  file /usr/share/mysql/charsets/ascii.xml from install of mysql-libs-5.5.29-1.el6.x86_64 conflicts with file from package mysql55-libs-5.5.33-1.ius.el6.x86_64
  file /usr/share/mysql/charsets/cp1250.xml from install of mysql-libs-5.5.29-1.el6.x86_64 conflicts with file from package mysql55-libs-5.5.33-1.ius.el6.x86_64
  file /usr/share/mysql/charsets/cp1256.xml from install of mysql-libs-5.5.29-1.el6.x86_64 conflicts with file from package mysql55-libs-5.5.33-1.ius.el6.x86_64
  file /usr/share/mysql/charsets/cp1257.xml from install of mysql-libs-5.5.29-1.el6.x86_64 conflicts with file from package mysql55-libs-5.5.33-1.ius.el6.x86_64
  file /usr/share/mysql/charsets/cp850.xml from install of mysql-libs-5.5.29-1.el6.x86_64 conflicts with file from package mysql55-libs-5.5.33-1.ius.el6.x86_64
  file /usr/share/mysql/charsets/cp852.xml from install of mysql-libs-5.5.29-1.el6.x86_64 conflicts with file from package mysql55-libs-5.5.33-1.ius.el6.x86_64
  file /usr/share/mysql/charsets/cp866.xml from install of mysql-libs-5.5.29-1.el6.x86_64 conflicts with file from package mysql55-libs-5.5.33-1.ius.el6.x86_64
  file /usr/share/mysql/charsets/dec8.xml from install of mysql-libs-5.5.29-1.el6.x86_64 conflicts with file from package mysql55-libs-5.5.33-1.ius.el6.x86_64
  file /usr/share/mysql/charsets/geostd8.xml from install of mysql-libs-5.5.29-1.el6.x86_64 conflicts with file from package mysql55-libs-5.5.33-1.ius.el6.x86_64
  file /usr/share/mysql/charsets/greek.xml from install of mysql-libs-5.5.29-1.el6.x86_64 conflicts with file from package mysql55-libs-5.5.33-1.ius.el6.x86_64
  file /usr/share/mysql/charsets/hebrew.xml from install of mysql-libs-5.5.29-1.el6.x86_64 conflicts with file from package mysql55-libs-5.5.33-1.ius.el6.x86_64
  file /usr/share/mysql/charsets/hp8.xml from install of mysql-libs-5.5.29-1.el6.x86_64 conflicts with file from package mysql55-libs-5.5.33-1.ius.el6.x86_64
  file /usr/share/mysql/charsets/keybcs2.xml from install of mysql-libs-5.5.29-1.el6.x86_64 conflicts with file from package mysql55-libs-5.5.33-1.ius.el6.x86_64
  file /usr/share/mysql/charsets/koi8r.xml from install of mysql-libs-5.5.29-1.el6.x86_64 conflicts with file from package mysql55-libs-5.5.33-1.ius.el6.x86_64
  file /usr/share/mysql/charsets/koi8u.xml from install of mysql-libs-5.5.29-1.el6.x86_64 conflicts with file from package mysql55-libs-5.5.33-1.ius.el6.x86_64
  file /usr/share/mysql/charsets/latin1.xml from install of mysql-libs-5.5.29-1.el6.x86_64 conflicts with file from package mysql55-libs-5.5.33-1.ius.el6.x86_64
  file /usr/share/mysql/charsets/latin2.xml from install of mysql-libs-5.5.29-1.el6.x86_64 conflicts with file from package mysql55-libs-5.5.33-1.ius.el6.x86_64
  file /usr/share/mysql/charsets/latin5.xml from install of mysql-libs-5.5.29-1.el6.x86_64 conflicts with file from package mysql55-libs-5.5.33-1.ius.el6.x86_64
  file /usr/share/mysql/charsets/latin7.xml from install of mysql-libs-5.5.29-1.el6.x86_64 conflicts with file from package mysql55-libs-5.5.33-1.ius.el6.x86_64
  file /usr/share/mysql/charsets/macce.xml from install of mysql-libs-5.5.29-1.el6.x86_64 conflicts with file from package mysql55-libs-5.5.33-1.ius.el6.x86_64
  file /usr/share/mysql/charsets/macroman.xml from install of mysql-libs-5.5.29-1.el6.x86_64 conflicts with file from package mysql55-libs-5.5.33-1.ius.el6.x86_64
  file /usr/share/mysql/charsets/swe7.xml from install of mysql-libs-5.5.29-1.el6.x86_64 conflicts with file from package mysql55-libs-5.5.33-1.ius.el6.x86_64

Error Summary
-------------

/usr/local/lxlabs/kloxo/install/setup.sh: line 146: lxphp.exe: command not found
/usr/local/lxlabs/kloxo/install/setup.sh: line 152: lxphp.exe: command not found

Run 'sh /script/restart-all' to make sure all services running well

Running the suggested command does not help, nor does a /script/upcp or /script/cleanup help either

Please advise on how to proceed with this. If there is anything I can contribute to, I have a few servers that I am not using all of the available bandwidth and disk space on.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Installation Woes
« Reply #1 on: 2013-09-12, 04:17:25 »
For latest upload of Kloxo-MR, fresh install always remove php, mysql and bind. It's to make guarantee/sure no conflict like you found. This removal step needed because Kloxo-MR use php53u and mysql55 as default packages.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline gmorris87

  • Junior Member
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Installation Woes
« Reply #2 on: 2013-09-12, 07:08:47 »
This was actually on a fresh installation of centos 6 64bit, so, this was not an upgrade of any kind :(
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Installation Woes
« Reply #3 on: 2013-09-12, 14:36:37 »
This is portion of code of setup.sh:
Code: [Select]
...
yum clean all

yum -y install wget zip unzip yum-utils yum-priorities vim-minimal subversion curl

yum remove bind* mysql* mariadb* MariaDB* php* -y

#if [ ! -f /opt/php52s/bin/php ] ; then
# if [ -f /usr/bin/php ] ; then
# yum -y remove php*
# fi

yum -y install mysql55 mysql55-server mysql55-libs

yum -y install php53u php53u-mysql

## install after mysql55 and php53u because if mysql not exist will install 'old' mysql
yum -y install net-snmp php52s
#fi
...

where:
1. remove 'bind* mysql* mariadb* MariaDB* php*' first
2. install 'mysql55 mysql55-server mysql55-libs', 'install php53u php53u-mysql' and 'net-snmp php52s'
3. See remark code of '## install after mysql55 and php53u because if mysql not exist will install 'old' mysql'
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Installation Woes
« Reply #4 on: 2013-09-12, 14:54:30 »
For to "REINSTALL", run 'sh /script/upcp -y'
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Installation Woes
« Reply #5 on: 2013-09-12, 14:55:41 »
Remember, install process already change from running 'sh /usr/local/lxlabs/kloxo/install/setup' to 'sh /script/upcp'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Installation Woes
« Reply #6 on: 2013-09-12, 15:41:53 »
I found this issue because conflict mysql from centalt and mysql55 from ius.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline gmorris87

  • Junior Member
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Installation Woes
« Reply #7 on: 2013-09-12, 22:22:26 »
I made a changes in setup.sh to make it work, it seems it didnt like lxphp.exe (a variable not set right somewhere?) so I changed it to the following:

Code: [Select]
export PATH=/usr/sbin:/sbin:$PATH

cd /usr/local/lxlabs/kloxo/install

#fixed lxphp error
/usr/bin/php installer.php --install-type=$APP_TYPE --install-from=setup $* | tee kloxo-mr_install.log

And it seems to have cleared the error. Also, the comments in setup.sh that is running says it is from January of this year, have you released any new versions of the installer since? Which would indicate I need to update my repo list, if that is the case.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline gmorris87

  • Junior Member
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Installation Woes
« Reply #8 on: 2013-09-12, 22:31:08 »
Even after modifying setup.sh to change all instances of lxphp.exe to read /usr/bin/php I still am faced with this:

Code: [Select]
Complete!

sh: lxphp.exe: command not found

Creating Vpopmail database...
Prepare /home/kloxo/httpd...
error reading information on service hiawatha: No such file or directory
sh: hiawatha: command not found
sh: lxphp.exe: command not found

Run 'sh /script/restart-all' to make sure all services running well

It looks to me like the installation process has changed, the old repos have had stuff removed to make it so it wouldn't work, thusly, there are new repo's with a correct working installer? I know exactly 7 days ago I installed a kloxo-mr server for someone, and it did so without any errors (and he loves it btw) which means that now that its consistently not working, something's changed on your end, as my install method has not changed.

Please advise :)
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline gmorris87

  • Junior Member
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Installation Woes
« Reply #9 on: 2013-09-12, 23:06:31 »
Actually you already did tell me the fix, I just didn't catch it. Found the exact solution on another thread :)

Modified the centalt repo in the mr-repo file so it did not include mariadb* in the exclue list.

Code: [Select]
[kloxo-mr-centalt]
name=Kloxo-MR - centalt - $basearch
baseurl=http://centos.alt.ru/repository/centos/6/$basearch/
#mirrorlist=http://rpms.potissima.com/repo/mirrors/centalt-centos-6-$basearch-mirrors.txt
enabled=1
gpgcheck=0
exclude=openssh* perl*

Installation purred like a kitten afterwards.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Installation Woes
« Reply #10 on: 2013-09-12, 23:43:43 »
It's Kloxo-MR risk because use multiple repos. Kloxo-MR approach is rare where to use multiple. Usually, other panels use their repo only (Kloxo official also).

Before change code in Kloxo-MR to use MySQLi API instead MySQL API, all mysql packages (from 5.0.x until 5.5.x; including mariadb) have no conflict for Kloxo-MR install process. But, MySQLi API have a problem with 'old' mysql (aka mysql 5.0.x).

So, when install Kloxo-MR with always NOT use mysql 5.0.x is not simple process.

That it.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.031 seconds with 19 queries.

web stats analysis