MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: bigdigillc on 2015-04-12, 05:38:24

Title: Yum Update Error
Post by: bigdigillc on 2015-04-12, 05:38:24
I get this error when trying to update. I have tried adding the dependecies and removing some of the packages, but still no luck. I am wondering if my repos are correct. Any thoughts?

Code: [Select]
[root@bighost2 ~]# yum clean all
Loaded plugins: fastestmirror, priorities, protectbase, replace
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@bighost2 ~]# yum update
Loaded plugins: fastestmirror, priorities, protectbase, replace
Determining fastest mirrors
mratwork-epel/metalink                                                          |  14 kB     00:00
 * addons: mirror.compevo.com
 * base: repos.dfw.quadranet.com
 * epel: fedora-epel.mirror.lstn.net
 * extras: yum.tamu.edu
 * mratwork-epel: fedora-epel.mirror.lstn.net
 * mratwork-ius-stable: dfw.mirror.rackspace.com
 * updates: mirror-centos.hostingswift.com
addons                                                                          | 1.9 kB     00:00
addons/primary_db                                                               | 1.1 kB     00:00
base                                                                            | 1.1 kB     00:00
base/primary                                                                    | 996 kB     00:00
base                                                                                         2791/2791
epel                                                                            | 3.7 kB     00:00
epel/primary_db                                                                 | 2.7 MB     00:00
extras                                                                          | 2.1 kB     00:00
extras/primary_db                                                               | 164 kB     00:00
mratwork-atrpms                                                                 | 2.6 kB     00:00
mratwork-atrpms/primary_db                                                      | 2.3 MB     00:01
mratwork-epel                                                                   | 3.7 kB     00:00
mratwork-epel/primary_db                                                        | 2.7 MB     00:00
mratwork-ius-archive                                                            | 2.1 kB     00:00
mratwork-ius-archive/primary_db                                                 | 1.5 MB     00:00
mratwork-ius-stable                                                             | 2.1 kB     00:00
mratwork-ius-stable/primary_db                                                  |  76 kB     00:00
mratwork-mariadb-32                                                             | 2.5 kB     00:00
mratwork-mariadb-32/primary_db                                                  |  19 kB     00:00
mratwork-mariadb-64                                                             | 2.5 kB     00:00
mratwork-mariadb-64/primary_db                                                  |  19 kB     00:00
mratwork-nginx                                                                  | 2.5 kB     00:00
mratwork-nginx/primary_db                                                       |  31 kB     00:00
mratwork-nginx-stable                                                           | 2.5 kB     00:00
mratwork-nginx-stable/primary_db                                                |  34 kB     00:00
mratwork-release-neutral-noarch                                                 |  951 B     00:00
mratwork-release-neutral-noarch/primary                                         |  34 kB     00:00
mratwork-release-neutral-noarch                                                                117/117
mratwork-release-version-arch                                                   |  951 B     00:00
mratwork-release-version-arch/primary                                           |  70 kB     00:00
mratwork-release-version-arch                                                                  194/194
mratwork-varnish-3.0                                                            |  951 B     00:00
mratwork-varnish-3.0/primary                                                    |  12 kB     00:00
mratwork-varnish-3.0                                                                             48/48
updates                                                                         | 1.9 kB     00:00
updates/primary_db                                                              | 312 kB     00:00
Excluding Packages from Kloxo-MR - Fedora Core 5 -  - ATrpms
Finished
Excluding Packages from MRatWork - Extra Packages for EL 5 - arch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (archive) - arch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (stable) - arch
Finished
0 packages excluded due to repository protections
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package crash.i386 0:5.1.8-3.el5.centos set to be updated
---> Package kernel-PAE.i686 0:2.6.18-404.el5 set to be installed
---> Package kernel-devel.i686 0:2.6.18-404.el5 set to be installed
---> Package kernel-headers.i386 0:2.6.18-404.el5 set to be updated
---> Package ksh.i386 0:20100621-24.el5_11 set to be updated
--> Processing Dependency: libedit.so.0 for package: php54-cli
---> Package libedit.i386 0:3.0-1.20090722cvs.el5 set to be updated
---> Package mratwork-release.noarch 0:0.0.7-9 set to be updated
---> Package perl-MIME-Lite.noarch 0:3.01-5.0.el5 set to be updated
---> Package perl-Net-IP.noarch 0:1.25-3.el5 set to be updated
---> Package ptlib.i386 0:2.6.7-1.el5 set to be updated
--> Processing Dependency: libv4l2.so.0 for package: ptlib
--> Processing Dependency: libpt_linux_x86_r.so.1.10.1 for package: opal
--> Processing Dependency: pwlib >= 1.10.1 for package: opal
---> Package qmail-pop3d-toaster.i386 0:1.03-1.3.48.mr.el5 set to be updated
---> Package qmail-toaster.i386 0:1.03-1.3.48.mr.el5 set to be updated
--> Processing Dependency: libmysqlclient.so.18(libmysqlclient_18) for package: qmail-toaster
---> Package ruby.i386 0:1.8.7.352-5.el5 set to be updated
---> Package ruby-libs.i386 0:1.8.7.352-5.el5 set to be updated
---> Package simscan-toaster.i386 0:1.4.0-1.4.8.mr.el5 set to be updated
---> Package tzdata.i386 0:2015b-1.el5 set to be updated
---> Package tzdata-java.i386 0:2015b-1.el5 set to be updated
--> Running transaction check
---> Package MariaDB-shared.i386 0:10.0.17-1 set to be updated
--> Processing Dependency: MariaDB-common for package: MariaDB-shared
---> Package libedit0.i386 0:3.0-1.20090722cvs.el5 set to be updated
---> Package ptlib.i386 0:2.6.7-1.el5 set to be updated
--> Processing Dependency: libv4l2.so.0 for package: ptlib
--> Processing Dependency: libpt_linux_x86_r.so.1.10.1 for package: opal
--> Processing Dependency: pwlib >= 1.10.1 for package: opal
--> Running transaction check
---> Package MariaDB-common.i386 0:10.0.17-1 set to be updated
---> Package ptlib.i386 0:2.6.7-1.el5 set to be updated
--> Processing Dependency: libv4l2.so.0 for package: ptlib
--> Processing Dependency: libpt_linux_x86_r.so.1.10.1 for package: opal
--> Processing Dependency: pwlib >= 1.10.1 for package: opal
--> Finished Dependency Resolution
ptlib-2.6.7-1.el5.i386 from mratwork-atrpms has depsolving problems
  --> Missing Dependency: libv4l2.so.0 is needed by package ptlib-2.6.7-1.el5.i386 (mratwork-atrpms)
opal-2.2.2-1.1.0.1.i386 from installed has depsolving problems
  --> Missing Dependency: pwlib >= 1.10.1 is needed by package opal-2.2.2-1.1.0.1.i386 (installed)
opal-2.2.2-1.1.0.1.i386 from installed has depsolving problems
  --> Missing Dependency: libpt_linux_x86_r.so.1.10.1 is needed by package opal-2.2.2-1.1.0.1.i386 (installed)
--> Running transaction check
---> Package kernel-PAE.i686 0:2.6.18-371.11.1.el5 set to be erased
---> Package kernel-devel.i686 0:2.6.18-371.11.1.el5 set to be erased
---> Package ptlib.i386 0:2.6.7-1.el5 set to be updated
--> Processing Dependency: libv4l2.so.0 for package: ptlib
--> Processing Dependency: libpt_linux_x86_r.so.1.10.1 for package: opal
--> Processing Dependency: pwlib >= 1.10.1 for package: opal
--> Finished Dependency Resolution
ptlib-2.6.7-1.el5.i386 from mratwork-atrpms has depsolving problems
  --> Missing Dependency: libv4l2.so.0 is needed by package ptlib-2.6.7-1.el5.i386 (mratwork-atrpms)
opal-2.2.2-1.1.0.1.i386 from installed has depsolving problems
  --> Missing Dependency: pwlib >= 1.10.1 is needed by package opal-2.2.2-1.1.0.1.i386 (installed)
opal-2.2.2-1.1.0.1.i386 from installed has depsolving problems
  --> Missing Dependency: libpt_linux_x86_r.so.1.10.1 is needed by package opal-2.2.2-1.1.0.1.i386 (installed)
Error: Missing Dependency: pwlib >= 1.10.1 is needed by package opal-2.2.2-1.1.0.1.i386 (installed)
Error: Missing Dependency: libpt_linux_x86_r.so.1.10.1 is needed by package opal-2.2.2-1.1.0.1.i386 (installed)
Error: Missing Dependency: libv4l2.so.0 is needed by package ptlib-2.6.7-1.el5.i386 (mratwork-atrpms)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest

Title: Re: Yum Update Error
Post by: MRatWork on 2015-04-12, 09:32:58
Info here your 'sh /script/sysinfo'.
Title: Re: Yum Update Error
Post by: bigdigillc on 2015-04-13, 02:23:48
Code: [Select]

A. Kloxo-MR: 6.5.0.f-2015040701

B. OS: CentOS release 5.11 (Final) i686

C. Apps:
   1. MySQL: mysql55-5.5.42-1.ius.el5
   2. PHP: php53u-5.3.29-1.ius.el5
   3. Httpd: httpd-2.2.29-1.mr.el5
   4. Lighttpd: --uninstalled--
   5. Nginx: nginx-1.7.12-1.el5.ngx
   6. Qmail: --uninstalled--
   7. Dns: djbdns-1.05-17.4.mr.el5

D. Php-type (for Httpd/proxy): php-fpm_event

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          4054        672       3381          0         40        448
   -/+ buffers/cache:        184       3869
   Swap:         5535          0       5535

I also tried running 'sh /script/upcp'

Code: [Select]
Examining mratwork-release-0.0.1-1.noarch.rpm: mratwork-release-0.0.1-1.noarch
mratwork-release-0.0.1-1.noarch.rpm: does not update installed package.
No Match for argument: mratwork-release-0.0.1-1.noarch.rpm.1
No package mratwork-release-0.0.1-1.noarch.rpm.1 available.
No Packages marked for Update
- Already use mysql55. No replace
*** Executing Install/Update (upcp) - BEGIN ***

but it doesn't seem, to help.
Title: Re: Yum Update Error
Post by: bigdigillc on 2015-04-13, 22:03:22
I also tried re-installing qmail and got these errors. Any ideas Mustafa?

Code: [Select]
[root@bighost2 ~]# yum install *-toaster webalizer cronie cronie-anacron crontabs
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * addons: centos.mirror.lstn.net
 * base: yum.tamu.edu
 * epel: fedora-epel.mirror.lstn.net
 * extras: dallas.tx.mirror.xygenhosting.com
 * mratwork-epel: fedora-epel.mirror.lstn.net
 * mratwork-ius-stable: dfw.mirror.rackspace.com
 * updates: repos.dfw.quadranet.com
Excluding Packages from Kloxo-MR - Fedora Core 5 -  - ATrpms
Finished
Excluding Packages from MRatWork - Extra Packages for EL 5 - arch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (archive) - arch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (stable) - arch
Finished
0 packages excluded due to repository protections
Setting up Install Process
Package webalizer-2.23_05-5.mr.el5.i386 already installed and latest version
No package cronie available.
No package cronie-anacron available.
Package crontabs-1.10-11.el5.noarch already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autorespond-toaster.i386 0:2.0.5-1.4.2.mr.el5 set to be updated
---> Package control-panel-toaster.noarch 0:0.5-1.4.1.mr set to be updated
---> Package courier-authlib-toaster.i386 0:0.59.2-1.3.13.mr.el5 set to be updated
---> Package courier-imap-toaster.i386 0:4.1.2-1.3.18.mr.el5 set to be updated
---> Package daemontools-toaster.i386 0:0.76-1.3.7.mr.el5 set to be updated
---> Package ezmlm-toaster.i386 0:0.53.324-1.3.9.mr.el5 set to be updated
---> Package libdomainkeys-toaster.i386 0:0.68-1.3.7.mr.el5 set to be updated
---> Package libsrs2-toaster.i386 0:1.0.18-1.3.7.mr.el5 set to be updated
---> Package maildrop-toaster.i386 0:2.0.3-1.3.9.mr.el5 set to be updated
---> Package qmail-pop3d-toaster.i386 0:1.03-1.3.50.mr.el5 set to be updated
---> Package qmail-toaster.i386 0:1.03-1.3.50.mr.el5 set to be updated
--> Processing Dependency: libmysqlclient.so.18(libmysqlclient_18) for package: qmail-toaster
---> Package send-emails-toaster.noarch 0:0.5-1.4.1.mr set to be updated
---> Package simscan-toaster.i386 0:1.4.0-1.4.8.mr.el5 set to be updated
---> Package spamassassin-toaster.i386 0:3.4.0-1.4.6.mr.el5 set to be updated
--> Processing Dependency: perl(Encode::Detect) for package: spamassassin-toaster
--> Processing Dependency: perl(Net::Patricia) for package: spamassassin-toaster
--> Processing Dependency: perl(Geo::IP) for package: spamassassin-toaster
---> Package squirrelmail-toaster.noarch 0:1.4.20-1.3.18.mr set to be updated
---> Package ucspi-tcp-toaster.i386 0:0.88-1.3.11.mr.el5 set to be updated
---> Package vpopmail-toaster.i386 0:5.4.33-1.4.4.mr.el5 set to be updated
--> Running transaction check
---> Package MariaDB-shared.i386 0:10.0.17-1 set to be updated
--> Processing Dependency: MariaDB-common for package: MariaDB-shared
---> Package perl-Encode-Detect.i386 0:1.00-4.el5 set to be updated
---> Package perl-Geo-IP.i386 0:1.31-1.el5.centos set to be updated
---> Package perl-Net-Patricia.i386 0:1.014-3.el5 set to be updated
--> Running transaction check
---> Package MariaDB-common.i386 0:10.0.17-1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package         Arch   Version             Repository                     Size
================================================================================
Installing:
 autorespond-toaster
                 i386   2.0.5-1.4.2.mr.el5  mratwork-release-version-arch  15 k
 control-panel-toaster
                 noarch 0.5-1.4.1.mr        mratwork-release-neutral-noarch
                                                                           25 k
 courier-authlib-toaster
                 i386   0.59.2-1.3.13.mr.el5
                                            mratwork-release-version-arch 301 k
 courier-imap-toaster
                 i386   4.1.2-1.3.18.mr.el5 mratwork-release-version-arch 838 k
 daemontools-toaster
                 i386   0.76-1.3.7.mr.el5   mratwork-release-version-arch  81 k
 ezmlm-toaster   i386   0.53.324-1.3.9.mr.el5
                                            mratwork-release-version-arch 898 k
 libdomainkeys-toaster
                 i386   0.68-1.3.7.mr.el5   mratwork-release-version-arch  45 k
 libsrs2-toaster i386   1.0.18-1.3.7.mr.el5 mratwork-release-version-arch  38 k
 maildrop-toaster
                 i386   2.0.3-1.3.9.mr.el5  mratwork-release-version-arch 259 k
 qmail-pop3d-toaster
                 i386   1.03-1.3.50.mr.el5  mratwork-release-version-arch  36 k
 qmail-toaster   i386   1.03-1.3.50.mr.el5  mratwork-release-version-arch 660 k
 send-emails-toaster
                 noarch 0.5-1.4.1.mr        mratwork-release-neutral-noarch
                                                                          8.7 k
 simscan-toaster i386   1.4.0-1.4.8.mr.el5  mratwork-release-version-arch  61 k
 spamassassin-toaster
                 i386   3.4.0-1.4.6.mr.el5  mratwork-release-version-arch 1.1 M
 squirrelmail-toaster
                 noarch 1.4.20-1.3.18.mr    mratwork-release-neutral-noarch
                                                                          756 k
 ucspi-tcp-toaster
                 i386   0.88-1.3.11.mr.el5  mratwork-release-version-arch 111 k
 vpopmail-toaster
                 i386   5.4.33-1.4.4.mr.el5 mratwork-release-version-arch 1.1 M
Installing for dependencies:
 MariaDB-common  i386   10.0.17-1           mratwork-mariadb-32            29 k
 MariaDB-shared  i386   10.0.17-1           mratwork-mariadb-32           1.6 M
 perl-Encode-Detect
                 i386   1.00-4.el5          epel                           90 k
 perl-Geo-IP     i386   1.31-1.el5.centos   extras                         47 k
 perl-Net-Patricia
                 i386   1.014-3.el5         epel                           37 k

Transaction Summary
================================================================================
Install      22 Package(s)
Upgrade       0 Package(s)

Total size: 8.0 M
Total download size: 2.3 M
Is this ok [y/N]: y
Downloading Packages:
(1/7): autorespond-toaster-2.0.5-1.4.2.mr.el5.i386.rpm   |  15 kB     00:00
(2/7): libsrs2-toaster-1.0.18-1.3.7.mr.el5.i386.rpm      |  38 kB     00:00
(3/7): libdomainkeys-toaster-0.68-1.3.7.mr.el5.i386.rpm  |  45 kB     00:00
(4/7): daemontools-toaster-0.76-1.3.7.mr.el5.i386.rpm    |  81 kB     00:00
(5/7): ucspi-tcp-toaster-0.88-1.3.11.mr.el5.i386.rpm     | 111 kB     00:00
(6/7): ezmlm-toaster-0.53.324-1.3.9.mr.el5.i386.rpm      | 898 kB     00:00
(7/7): vpopmail-toaster-5.4.33-1.4.4.mr.el5.i386.rpm     | 1.1 MB     00:00
--------------------------------------------------------------------------------
Total                                           598 kB/s | 2.3 MB     00:03
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
  file /etc/my.cnf from install of MariaDB-common-10.0.17-1.i386 conflicts with file from package mysql55-libs-5.5.42-1.ius.el5.i386

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

Title: Re: Yum Update Error
Post by: MRatWork on 2015-04-14, 05:19:32
If using Kloxo-MR 6.5, add 'exclude=mysql-* mysql51* mysql56* MariaDB*' in /etc/yum.conf.
Title: Re: Yum Update Error
Post by: bigdigillc on 2015-04-14, 05:43:39
I have 3 servers, but only this one has this problem. Should I move to 7.0?
Title: Re: Yum Update Error
Post by: Joe on 2015-04-14, 06:09:39
I get the same yum update error below and I'm not running Kloxo 6.5. I'm using Kloxo-MR 7.0.0.b-2015041001.


Transaction Check Error:

file /etc/my.cnf from install of MariaDB-common-10.0.17-1.i386 conflicts with file from package mysql55-libs-5.5.42-1.ius.el5.i386
Title: Re: Yum Update Error
Post by: MRatWork on 2015-04-14, 06:16:57
@Joe,

Inform here 'yum list mysql* MariaDB*; dir /etc/yum.repos.d'.
Title: Re: Yum Update Error
Post by: Joe on 2015-04-14, 06:20:59
# yum list mysql* MariaDB*; dir /etc/yum.repos.d
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * base: centos.mirror.iweb.ca
 * extras: centos.mirror.iweb.ca
 * mratwork-epel: mirror.us.leaseweb.net
 * mratwork-ius-stable: mirror.symnds.com
 * updates: centos.mirror.iweb.ca
Excluding Packages in global exclude list
Finished
Excluding Packages from MRatWork - Extra Packages for EL 5 - arch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (archive) - a
rch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (stable) - ar
ch
Finished
0 packages excluded due to repository protections
Installed Packages
mysql55.i386                        5.5.42-1.ius.el5         installed
mysql55-libs.i386                   5.5.42-1.ius.el5         installed
mysql55-server.i386                 5.5.42-1.ius.el5         installed
mysqlclient15.i386                  5.0.92-3.ius.el5         installed
Available Packages
MySQL-python.i386                   1.2.3-0.1.c1.el5         base
MySQL-zrm.noarch                    3.0-6.el5                mratwork-epel
mysql50.i386                        5.0.96-2.ius.el5         mratwork-ius-stable
mysql50-bench.i386                  5.0.96-2.ius.el5         mratwork-ius-stable
mysql50-debuginfo.i386              5.0.96-2.ius.el5         mratwork-ius-stable
mysql50-devel.i386                  5.0.96-2.ius.el5         mratwork-ius-stable
mysql50-server.i386                 5.0.96-2.ius.el5         mratwork-ius-stable
mysql55-bench.i386                  5.5.42-1.ius.el5         mratwork-ius-stable
mysql55-build.i386                  1-12.el5                 base
mysql55-debuginfo.i386              5.5.42-1.ius.el5         mratwork-ius-stable
mysql55-devel.i386                  5.5.42-1.ius.el5         mratwork-ius-stable
mysql55-embedded.i386               5.5.42-1.ius.el5         mratwork-ius-stable
mysql55-embedded-devel.i386         5.5.42-1.ius.el5         mratwork-ius-stable
mysql55-mysql.i386                  5.5.40-2.el5             updates
mysql55-mysql-bench.i386            5.5.40-2.el5             updates
mysql55-mysql-devel.i386            5.5.40-2.el5             updates
mysql55-mysql-libs.i386             5.5.40-2.el5             updates
mysql55-mysql-server.i386           5.5.40-2.el5             updates
mysql55-mysql-test.i386             5.5.40-2.el5             updates
mysql55-runtime.i386                1-12.el5                 base
mysql55-test.i386                   5.5.42-1.ius.el5         mratwork-ius-stable
mysqlclient15-debuginfo.i386        5.0.92-3.ius.el5         mratwork-ius-stable
mysqlclient15-devel.i386            5.0.92-3.ius.el5         mratwork-ius-stable
mysqlreport.noarch                  3.5-2.el5                mratwork-epel
mysqltuner.noarch                   1.1.1-1.el5              mratwork-epel
CentOS-Base.repo       CentOS-Sources.repo    mratwork.repo
CentOS-Debuginfo.repo  CentOS-Vault.repo      mratwork.repo.rpmsave
CentOS-Media.repo      CentOS-fasttrack.repo  vz.repo
Title: Re: Yum Update Error
Post by: MRatWork on 2015-04-14, 06:25:24
@Joe,

What happen, your server using Kloxo-MR 7.0 but still using mysql55?. Using Kloxo-MR 7.0 more then 1 month?.

To replace, run 'yum replace mysql55 --replace-with=MariaDB-server'.
Title: Re: Yum Update Error
Post by: Joe on 2015-04-14, 06:31:16
I've been running Kloxo 7 for a while now. When I run that command I get this warning so little nervous I'll break something that is already working fine:

[root@server ~]# yum replace mysql55 --replace-with=MariaDB-server
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * base: centos.mirror.iweb.ca
 * extras: centos.mirror.iweb.ca
 * mratwork-epel: mirror.symnds.com
 * mratwork-ius-stable: mirror.symnds.com
 * updates: centos.mirror.iweb.ca
Excluding Packages from MRatWork - Extra Packages for EL 5 - arch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (archive) - a
rch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (stable) - ar
ch
Finished
0 packages excluded due to repository protections
Replacing packages takes time, please be patient...

WARNING: Unable to resolve all providers: ['config(mysql-libs)', 'config(mysql55
-libs)', 'libmysqlclient.so.18', 'libmysqlclient.so.18(libmysqlclient_16)', 'lib
mysqlclient.so.18(libmysqlclient_16.1)', 'mysql-libs', 'mysql55-libs', 'mysql',
'mysql55', 'adt_null.so', 'auth.so', 'auth_test_plugin.so', 'config(mysql55-serv
er)', 'libdaemon_example.so', 'mypluglib.so', 'qa_auth_client.so', 'qa_auth_inte
rface.so', 'qa_auth_server.so', 'mysql55-server']

This may be normal depending on the package.  Continue? [y/N]
Title: Re: Yum Update Error
Post by: MRatWork on 2015-04-14, 06:38:42
Then answer 'y'.
Title: Re: Yum Update Error
Post by: MRatWork on 2015-04-14, 06:40:27
Alternatively, you can run 'sh /script/mysql-to-mariadb'.
Title: Re: Yum Update Error
Post by: Joe on 2015-04-14, 06:43:35
Mustafa how is MariaDB different from Mysql? Why the switch with Kloxo7?
Title: Re: Yum Update Error
Post by: Joe on 2015-04-14, 06:53:31
Not good I said yes and everything updated. Now I can't login to Kloxo panel. Says Invalid password. Pop3 email passwords not working either!
Title: Re: Yum Update Error
Post by: MRatWork on 2015-04-14, 06:54:31
One reason, something wrong with mysql after IUS release their mysql56. It's make trouble in install process.

So, change to MariaDB where MariaDB is backward compatible with mysql.
Title: Re: Yum Update Error
Post by: MRatWork on 2015-04-14, 06:55:32
Inform here 'cat /etc/my.cnf'.
Title: Re: Yum Update Error
Post by: Joe on 2015-04-14, 06:56:46
[root@server ~]# cat /etc/my.cnf
##  _______________________________________________________________________
## / Rackspace MySQL 5.5 Terse Configuration File                          \
## |                                                                       |
## | This is a base configuration file containing the most frequently used |
## | settings with reasonably defined default values for configuring and   |
## | tuning MySQL. Note that these settings can likely be further tuned in |
## | order to get optimum performance from MySQL based upon the database   |
## | configuration and hardware platform.                                  |
## |                                                                       |
## | While the settings provided are likely sufficient for most            |
## | situations, an exhaustive list of settings (with descriptions) can be |
## | found at:                                                             |
## | http://dev.mysql.com/doc/refman/5.5/en/server-system-variables.html   |
## |                                                                       |
## | Take care to only add/remove/change a setting if you are comfortable  |
## | doing so! For Rackspace customers, if you have any questions or       |
## | concerns, please contact the MySQL Database Services Team. Be aware   |
## | that some work performed by this team can involve additional billable |
## \ fees.                                                                 /
##  -----------------------------------------------------------------------
##         \   ^__^
##          \  (oo)\_______
##             (__)\       )\/\
##                 ||----w |
##                 ||     ||

[mysqld]
#OpenVZ AIO bug fix
innodb_use_native_aio=0

## General
datadir                         = /var/lib/mysql
tmpdir                          = /var/lib/mysqltmp
socket                          = /var/lib/mysql/mysql.sock
skip-name-resolve
sql-mode                        = NO_ENGINE_SUBSTITUTION
#event-scheduler                = 1

## Cache
thread-cache-size               = 16
table-open-cache                = 4096
table-definition-cache          = 2048
query-cache-size                = 32M
query-cache-limit               = 1M

## Per-thread Buffers
sort-buffer-size                = 1M
read-buffer-size                = 1M
read-rnd-buffer-size            = 1M
join-buffer-size                = 1M

## Temp Tables
tmp-table-size                  = 32M
max-heap-table-size             = 64M

## Networking
back-log                        = 100
#max-connections                = 200
max-connect-errors              = 10000
max-allowed-packet              = 16M
interactive-timeout             = 3600
wait-timeout                    = 600

### Storage Engines
#default-storage-engine         = InnoDB
innodb                          = FORCE

## MyISAM
key-buffer-size                 = 64M
myisam-sort-buffer-size         = 128M

## InnoDB
#innodb-buffer-pool-size        = 128M
#innodb-log-file-size           = 100M
#innodb-log-buffer-size         = 8M
#innodb-file-per-table          = 1
#innodb-open-files              = 300

## Replication
server-id                       = 1
#log-bin                        = /var/log/mysql/bin-log
#relay-log                      = /var/log/mysql/relay-log
relay-log-space-limit           = 16G
expire-logs-days                = 7
#read-only                      = 1
#sync-binlog                    = 1
#log-slave-updates              = 1
#binlog-format                  = STATEMENT
#auto-increment-offset          = 1
#auto-increment-increment       = 2

## Logging
#log-output                      = FILE
#slow-query-log                  = 1
#slow-query-log-file             = /var/log/mysql/slow-log
#log-slow-slave-statements
#long-query-time                 = 2

[mysqld_safe]
log-error                       = /var/log/mysqld.log
open-files-limit                = 65535

[mysql]
no-auto-rehash
[root@server ~]#
Title: Re: Yum Update Error
Post by: MRatWork on 2015-04-14, 06:57:17
Try 'chkconfig mysql on; service mysql restart'.
Title: Re: Yum Update Error
Post by: MRatWork on 2015-04-14, 06:58:31
Also inform here 'dir -l /etc/my*
Title: Re: Yum Update Error
Post by: Joe on 2015-04-14, 06:59:04
When I tried sh /script/cleanup after updates it prompts for password here?

[root@server ~]# sh /script/cleanup
Execute fixlxphpexe for php53s...
*** Executing Update (cleanup) - BEGIN ***
>>> Execute fixDataBaseIssues() <<<
Fix Database Issues
- Fix admin account database settings
- Set default database settings
- Fix resourceplan settings in database
- Alter some database tables to fit that of Kloxo
- Set default welcome text at Kloxo login page
- Remove default db password if exists
>>> Execute doUpdates() <<<
- Create flag dir
Fix IP Address
- Fix process
Create domain backup dirs
- Create process
- Create OS system user admin
- User admin exists
Set Watchdog defaults
- Set process
Fix MySQL root password
- Fix process
Set admin contact email
- Set process
Get Kloxo License info
- Get process
- Create database interface template (Forced)
Enter password:
Title: Re: Yum Update Error
Post by: Joe on 2015-04-14, 06:59:59
[root@server ~]# chkconfig mysql on; service mysql restart
error reading information on service mysql: No such file or directory
mysql: unrecognized service
[root@server ~]#
Title: Re: Yum Update Error
Post by: Joe on 2015-04-14, 07:00:40
[root@server ~]# chkconfig mysql on; service mysql restart
error reading information on service mysql: No such file or directory
mysql: unrecognized service
[root@server ~]# dir -l /etc/my
dir: /etc/my: No such file or directory
[root@server ~]#
Title: Re: Yum Update Error
Post by: MRatWork on 2015-04-14, 07:06:11
Inform 'dir -l /etc/my*' instead 'dir -l /etc/my'.

Look like MariaDB fail to installed, inform here 'yum list mysql* MariaDB*' again.
Title: Re: Yum Update Error
Post by: Joe on 2015-04-14, 07:07:38
[root@server ~]# dir -l /etc/my*
-rw-r--r-- 1 root root 3930 Apr  8  2014 /etc/my.cnf
-rw-r--r-- 1 root root  202 Feb 25 10:41 /etc/my.cnf.rpmnew
-rw-r--r-- 1 root root  525 Apr 14 00:07 /etc/mydns.conf

/etc/my.cnf.d:
total 4
-rw-r--r-- 1 root root 232 Feb 25 10:41 mysql-clients.cnf

/etc/mydns:
total 4
-rw-r--r-- 1 root root 522 Apr 14 00:07 mydns.conf
[root@server ~]#
Title: Re: Yum Update Error
Post by: Joe on 2015-04-14, 07:08:33
[root@server ~]# dir -l /etc/my*
-rw-r--r-- 1 root root 3930 Apr  8  2014 /etc/my.cnf
-rw-r--r-- 1 root root  202 Feb 25 10:41 /etc/my.cnf.rpmnew
-rw-r--r-- 1 root root  525 Apr 14 00:07 /etc/mydns.conf

/etc/my.cnf.d:
total 4
-rw-r--r-- 1 root root 232 Feb 25 10:41 mysql-clients.cnf

/etc/mydns:
total 4
-rw-r--r-- 1 root root 522 Apr 14 00:07 mydns.conf
[root@server ~]# yum list mysql* MariaDB*
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * base: centos.mirror.iweb.ca
 * extras: centos.mirror.iweb.ca
 * mratwork-epel: mirror.cogentco.com
 * mratwork-ius-stable: mirror.symnds.com
 * updates: centos.mirror.iweb.ca
Excluding Packages from MRatWork - Extra Packages for EL 5 - arch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (archive) - a
rch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (stable) - ar
ch
Finished
0 packages excluded due to repository protections
Installed Packages
MariaDB-client.i386                10.0.17-1                 installed
MariaDB-common.i386                10.0.17-1                 installed
mysqlclient15.i386                 5.0.92-3.ius.el5          installed
Available Packages
MariaDB-Galera-server.i386         10.0.17-1                 mratwork-mariadb-32
MariaDB-Galera-test.i386           10.0.17-1                 mratwork-mariadb-32
MariaDB-compat.i386                10.0.17-1                 mratwork-mariadb-32
MariaDB-connect-engine.i386        10.0.17-1                 mratwork-mariadb-32
MariaDB-devel.i386                 10.0.17-1                 mratwork-mariadb-32
MariaDB-oqgraph-engine.i386        10.0.17-1                 mratwork-mariadb-32
MariaDB-server.i386                10.0.17-1                 mratwork-mariadb-32
MariaDB-shared.i386                10.0.17-1                 mratwork-mariadb-32
MariaDB-test.i386                  10.0.17-1                 mratwork-mariadb-32
MySQL-python.i386                  1.2.3-0.1.c1.el5          base
MySQL-zrm.noarch                   3.0-6.el5                 mratwork-epel
mysql.i386                         5.0.95-5.el5_9            base
mysql-bench.i386                   5.0.95-5.el5_9            base
mysql-connector-java.i386          1:5.1.12-2.el5            mratwork-epel
mysql-connector-odbc.i386          3.51.26r1127-2.el5        base
mysql-connector-odbc64.i386        5.1.8-1.el5               base
mysql-devel.i386                   5.0.95-5.el5_9            base
mysql-mmm.noarch                   2.2.1-1.el5               mratwork-epel
mysql-mmm-agent.noarch             2.2.1-1.el5               mratwork-epel
mysql-mmm-monitor.noarch           2.2.1-1.el5               mratwork-epel
mysql-mmm-tools.noarch             2.2.1-1.el5               mratwork-epel
mysql-proxy.i386                   0.5.1-2.el5               mratwork-epel
mysql-server.i386                  5.0.95-5.el5_9            base
mysql-test.i386                    5.0.95-5.el5_9            base
mysql50.i386                       5.0.96-2.ius.el5          mratwork-ius-stable
mysql50-bench.i386                 5.0.96-2.ius.el5          mratwork-ius-stable
mysql50-debuginfo.i386             5.0.96-2.ius.el5          mratwork-ius-stable
mysql50-devel.i386                 5.0.96-2.ius.el5          mratwork-ius-stable
mysql50-server.i386                5.0.96-2.ius.el5          mratwork-ius-stable
mysql51.i386                       1-9.el5                   base
mysql51-build.i386                 1-9.el5                   base
mysql51-mysql.i386                 5.1.70-1.el5              base
mysql51-mysql-bench.i386           5.1.70-1.el5              base
mysql51-mysql-libs.i386            5.1.70-1.el5              base
mysql51-mysql-server.i386          5.1.70-1.el5              base
mysql51-mysql-test.i386            5.1.70-1.el5              base
mysql51-runtime.i386               1-9.el5                   base
mysql55.i386                       5.5.42-1.ius.el5          mratwork-ius-stable
mysql55-bench.i386                 5.5.42-1.ius.el5          mratwork-ius-stable
mysql55-build.i386                 1-12.el5                  base
mysql55-debuginfo.i386             5.5.42-1.ius.el5          mratwork-ius-stable
mysql55-devel.i386                 5.5.42-1.ius.el5          mratwork-ius-stable
mysql55-embedded.i386              5.5.42-1.ius.el5          mratwork-ius-stable
mysql55-embedded-devel.i386        5.5.42-1.ius.el5          mratwork-ius-stable
mysql55-libs.i386                  5.5.42-1.ius.el5          mratwork-ius-stable
mysql55-mysql.i386                 5.5.40-2.el5              updates
mysql55-mysql-bench.i386           5.5.40-2.el5              updates
mysql55-mysql-devel.i386           5.5.40-2.el5              updates
mysql55-mysql-libs.i386            5.5.40-2.el5              updates
mysql55-mysql-server.i386          5.5.40-2.el5              updates
mysql55-mysql-test.i386            5.5.40-2.el5              updates
mysql55-runtime.i386               1-12.el5                  base
mysql55-server.i386                5.5.42-1.ius.el5          mratwork-ius-stable
mysql55-test.i386                  5.5.42-1.ius.el5          mratwork-ius-stable
mysqlclient15-debuginfo.i386       5.0.92-3.ius.el5          mratwork-ius-stable
mysqlclient15-devel.i386           5.0.92-3.ius.el5          mratwork-ius-stable
mysqlreport.noarch                 3.5-2.el5                 mratwork-epel
mysqltuner.noarch                  1.1.1-1.el5               mratwork-epel
[root@server ~]#
Title: Re: Yum Update Error
Post by: MRatWork on 2015-04-14, 07:11:29
Try 'yum remove mysql* -y; yum install MariaDB-server -y' and then inform again 'yum list mysql* MariaDB*'.
Title: Re: Yum Update Error
Post by: Joe on 2015-04-14, 07:25:00
I ran this command that you gave my earlier sh /script/mysql-to-mariadb (I just answer yes with the update earlier). That installed mariadb again so I ran cleanup but now have this error in the Kloxo login page:

Fatal error: Class 'mysqli' not found in /usr/local/lxlabs/kloxo/httpdocs/lib/php/sqlitelib.php on line 59
Title: Re: Yum Update Error
Post by: Joe on 2015-04-14, 07:25:48
[root@server ~]# yum remove mysql* -y; yum install MariaDB-server -y
Loaded plugins: fastestmirror, priorities, protectbase, replace
Setting up Remove Process
No Match for argument: mysql*
Loading mirror speeds from cached hostfile
 * base: centos.mirror.iweb.ca
 * extras: centos.mirror.iweb.ca
 * mratwork-epel: mirror.symnds.com
 * mratwork-ius-stable: mirror.symnds.com
 * updates: centos.mirror.iweb.ca
Excluding Packages from MRatWork - Extra Packages for EL 5 - arch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (archive) - a
rch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (stable) - ar
ch
Finished
0 packages excluded due to repository protections
Package(s) mysql* available, but not installed.
No Packages marked for removal
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * base: centos.mirror.iweb.ca
 * extras: centos.mirror.iweb.ca
 * mratwork-epel: mirror.symnds.com
 * mratwork-ius-stable: mirror.symnds.com
 * updates: centos.mirror.iweb.ca
Excluding Packages from MRatWork - Extra Packages for EL 5 - arch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (archive) - a
rch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (stable) - ar
ch
Finished
0 packages excluded due to repository protections
Setting up Install Process
Package MariaDB-server-10.0.17-1.i386 already installed and latest version
Nothing to do
[root@server ~]#
Title: Re: Yum Update Error
Post by: Joe on 2015-04-14, 07:26:35
[root@server ~]# yum list mysql* MariaDB*
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * base: centos.mirror.iweb.ca
 * extras: centos.mirror.iweb.ca
 * mratwork-epel: mirror.symnds.com
 * mratwork-ius-stable: mirror.symnds.com
 * updates: centos.mirror.iweb.ca
Excluding Packages from MRatWork - Extra Packages for EL 5 - arch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (archive) - a
rch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (stable) - ar
ch
Finished
0 packages excluded due to repository protections
Installed Packages
MariaDB-client.i386                10.0.17-1                 installed
MariaDB-common.i386                10.0.17-1                 installed
MariaDB-server.i386                10.0.17-1                 installed
MariaDB-shared.i386                10.0.17-1                 installed
Available Packages
MariaDB-Galera-server.i386         10.0.17-1                 mratwork-mariadb-32
MariaDB-Galera-test.i386           10.0.17-1                 mratwork-mariadb-32
MariaDB-compat.i386                10.0.17-1                 mratwork-mariadb-32
MariaDB-connect-engine.i386        10.0.17-1                 mratwork-mariadb-32
MariaDB-devel.i386                 10.0.17-1                 mratwork-mariadb-32
MariaDB-oqgraph-engine.i386        10.0.17-1                 mratwork-mariadb-32
MariaDB-test.i386                  10.0.17-1                 mratwork-mariadb-32
MySQL-python.i386                  1.2.3-0.1.c1.el5          base
MySQL-zrm.noarch                   3.0-6.el5                 mratwork-epel
mysql.i386                         5.0.95-5.el5_9            base
mysql-bench.i386                   5.0.95-5.el5_9            base
mysql-connector-java.i386          1:5.1.12-2.el5            mratwork-epel
mysql-connector-odbc.i386          3.51.26r1127-2.el5        base
mysql-connector-odbc64.i386        5.1.8-1.el5               base
mysql-devel.i386                   5.0.95-5.el5_9            base
mysql-mmm.noarch                   2.2.1-1.el5               mratwork-epel
mysql-mmm-agent.noarch             2.2.1-1.el5               mratwork-epel
mysql-mmm-monitor.noarch           2.2.1-1.el5               mratwork-epel
mysql-mmm-tools.noarch             2.2.1-1.el5               mratwork-epel
mysql-proxy.i386                   0.5.1-2.el5               mratwork-epel
mysql-server.i386                  5.0.95-5.el5_9            base
mysql-test.i386                    5.0.95-5.el5_9            base
mysql50.i386                       5.0.96-2.ius.el5          mratwork-ius-stable
mysql50-bench.i386                 5.0.96-2.ius.el5          mratwork-ius-stable
mysql50-debuginfo.i386             5.0.96-2.ius.el5          mratwork-ius-stable
mysql50-devel.i386                 5.0.96-2.ius.el5          mratwork-ius-stable
mysql50-server.i386                5.0.96-2.ius.el5          mratwork-ius-stable
mysql51.i386                       1-9.el5                   base
mysql51-build.i386                 1-9.el5                   base
mysql51-mysql.i386                 5.1.70-1.el5              base
mysql51-mysql-bench.i386           5.1.70-1.el5              base
mysql51-mysql-libs.i386            5.1.70-1.el5              base
mysql51-mysql-server.i386          5.1.70-1.el5              base
mysql51-mysql-test.i386            5.1.70-1.el5              base
mysql51-runtime.i386               1-9.el5                   base
mysql55.i386                       5.5.42-1.ius.el5          mratwork-ius-stable
mysql55-bench.i386                 5.5.42-1.ius.el5          mratwork-ius-stable
mysql55-build.i386                 1-12.el5                  base
mysql55-debuginfo.i386             5.5.42-1.ius.el5          mratwork-ius-stable
mysql55-devel.i386                 5.5.42-1.ius.el5          mratwork-ius-stable
mysql55-embedded.i386              5.5.42-1.ius.el5          mratwork-ius-stable
mysql55-embedded-devel.i386        5.5.42-1.ius.el5          mratwork-ius-stable
mysql55-libs.i386                  5.5.42-1.ius.el5          mratwork-ius-stable
mysql55-mysql.i386                 5.5.40-2.el5              updates
mysql55-mysql-bench.i386           5.5.40-2.el5              updates
mysql55-mysql-devel.i386           5.5.40-2.el5              updates
mysql55-mysql-libs.i386            5.5.40-2.el5              updates
mysql55-mysql-server.i386          5.5.40-2.el5              updates
mysql55-mysql-test.i386            5.5.40-2.el5              updates
mysql55-runtime.i386               1-12.el5                  base
mysql55-server.i386                5.5.42-1.ius.el5          mratwork-ius-stable
mysql55-test.i386                  5.5.42-1.ius.el5          mratwork-ius-stable
mysqlclient15.i386                 5.0.92-3.ius.el5          mratwork-ius-stable
mysqlclient15-debuginfo.i386       5.0.92-3.ius.el5          mratwork-ius-stable
mysqlclient15-devel.i386           5.0.92-3.ius.el5          mratwork-ius-stable
mysqlreport.noarch                 3.5-2.el5                 mratwork-epel
mysqltuner.noarch                  1.1.1-1.el5               mratwork-epel
[root@server ~]#
Title: Re: Yum Update Error
Post by: Joe on 2015-04-14, 07:28:30
I tried running cleanup again and email is working but not panel. cleanup keeps giving this error at the end:

[root@server ~]# sh /script/cleanup
Execute fixlxphpexe for php53s...

*** Restart services - BEGIN ***

Shutting down kernel logger:                               [PASSED]
Shutting down system logger:                               [  OK  ]
Starting system logger:                                    [  OK  ]
Starting kernel logger:                                    [PASSED]
-------------------------------------------------------------------

Shutting down MySQL.. SUCCESS!
Starting MySQL. SUCCESS!
-------------------------------------------------------------------

Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
-------------------------------------------------------------------


*** Process for QMAIL service ***
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
-------------------------------------------------------------------

- For help, type '/script/restart-mail [--help|-h]'
-------------------------------------------------------------------

Stopping xinetd: supervise: fatal: unable to start clamd/run: file does not exis
t
supervise: fatal: unable to start log/run: file does not exist
                                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
-------------------------------------------------------------------

Execute fixlxphpexe for php53s...
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
Stopping kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-phpcgi:                                     [  OK  ]
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
Stopping kloxo-hiawatha: supervise: fatal: unable to start clamd/run: file does
not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
                                                           [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]
-------------------------------------------------------------------
*** Restart services - END ***


*** Process Time: 00:00:00:10.10439 (dd:hh:mm:ss:xxxxxx) ***

[root@server ~]# supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist

Title: Re: Yum Update Error
Post by: MRatWork on 2015-04-14, 07:29:34
Look something wrong with your Kloxo-MR. Inform here 'lxphp.exe -v; php -v; yum list installed mysql* MariaDB*'
Title: Re: Yum Update Error
Post by: MRatWork on 2015-04-14, 07:30:41
Did you update from KLoxo-MR 6.5 or old Kloxo-MR 7.0?.
Title: Re: Yum Update Error
Post by: Joe on 2015-04-14, 07:31:32
It was an update from old Kloxo 7.
Title: Re: Yum Update Error
Post by: Joe on 2015-04-14, 07:31:46
[root@server ~]# lxphp.exe -v; php -v; yum list installed mysql* MariaDB*
PHP 5.3.29 (cli) (built: Aug 14 2014 11:50:45)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2014 Zend Technologies
PHP 5.1.6 (cli) (built: Nov  6 2014 12:25:33)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * base: centos.mirror.iweb.ca
 * extras: centos.mirror.iweb.ca
 * mratwork-epel: mirror.symnds.com
 * mratwork-ius-stable: mirror.symnds.com
 * updates: centos.mirror.iweb.ca
Excluding Packages from MRatWork - Extra Packages for EL 5 - arch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (archive) - a
rch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (stable) - ar
ch
Finished
0 packages excluded due to repository protections
Installed Packages
MariaDB-client.i386                     10.0.17-1                      installed
MariaDB-common.i386                     10.0.17-1                      installed
MariaDB-server.i386                     10.0.17-1                      installed
MariaDB-shared.i386                     10.0.17-1                      installed
[root@server ~]#
Title: Re: Yum Update Error
Post by: MRatWork on 2015-04-14, 07:37:50
Look like something wrong with php. Inform here 'yum list installed php*'.

For 'special' php for Kloxo-MR 7.0, run 'sh /script/phpm-installer php54s; sh /script/fixlxphpexe php54s; sh /script/restart -y'.
Title: Re: Yum Update Error
Post by: Joe on 2015-04-14, 07:42:08
Maybe that's the problem. I've been using older version of php because the scripts and version of Drupal I use is not compatible with new version.

[root@server ~]# yum list installed php*
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * base: centos.mirror.iweb.ca
 * extras: centos.mirror.iweb.ca
 * mratwork-epel: mirror.symnds.com
 * mratwork-ius-stable: mirror.symnds.com
 * updates: centos.mirror.iweb.ca
Excluding Packages from MRatWork - Extra Packages for EL 5 - arch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (archive) - a
rch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (stable) - ar
ch
Finished
0 packages excluded due to repository protections
Installed Packages
php.i386                             5.1.6-45.el5_11                   installed
php-bcmath.i386                      5.1.6-45.el5_11                   installed
php-cli.i386                         5.1.6-45.el5_11                   installed
php-common.i386                      5.1.6-45.el5_11                   installed
php-devel.i386                       5.1.6-45.el5_11                   installed
php-gd.i386                          5.1.6-45.el5_11                   installed
php-mbstring.i386                    5.1.6-45.el5_11                   installed
php-pdo.i386                         5.1.6-45.el5_11                   installed
php-pear.noarch                      1:1.4.9-8.el5                     installed
php-pecl-geoip.i386                  1.0.8-3.el5                       installed
php-pgsql.i386                       5.1.6-45.el5_11                   installed
php-xml.i386                         5.1.6-45.el5_11                   installed
[root@server ~]#
Title: Re: Yum Update Error
Post by: MRatWork on 2015-04-14, 07:45:26
What's script and drupal version used?.
Title: Re: Yum Update Error
Post by: Joe on 2015-04-14, 07:49:40
I ran sh /script/phpm-installer php54s; sh /script/fixlxphpexe php54s; sh /script/restart -y to see if I can get back into the control panel.

Now I can see the panel login page but when I click to login I get this error:

Parse error: syntax error, unexpected 'if' (T_IF) in /usr/local/lxlabs/kloxo/httpdocs/lib/php/index.php on line 105
Title: Re: Yum Update Error
Post by: Joe on 2015-04-14, 07:54:05
I'm using Drupal 5 with Ubercart and many different modules that are not compatible with new versions of php or latest versions of Drupal. I had someone develop the site for me years ago.
Title: Re: Yum Update Error
Post by: Joe on 2015-04-14, 07:55:55
Btw, I didn't run the update on that VPS with Drupal. Instead I have a second VPS for backups and email. I always update that first to make sure I don't have problem like this. I really need back into the panel. Ugh.
Title: Re: Yum Update Error
Post by: Joe on 2015-04-14, 08:07:01
And I keep getting this 'supervise: fatal: unable to start log/run: file does not exist' error after cleanup.

- Already exists
Set /home permission to 0755
- Set process
- chown apache:apache FOR /home/kloxo/httpd/ AND INSIDE
- chmod 644 FOR *.php* INSIDE /home/kloxo/httpd/
- chmod 755 FOR *.pl/cgi/py/rb INSIDE /home/kloxo/httpd/
- chmod 755 FOR /home/kloxo/httpd/ AND INSIDE
- chmod 771 FOR /home/kloxo/httpd/
Enable xinetd service
- Enable process
Fix suexec
- Fix process
Install/Fix Services/Permissions/Configfiles
- Set permissions for /usr/bin/php-cgi
- Set permissions for closeinput binary
- Set permissions for phpsuexec.sh script
- Set permissions for /var/lib/php/session/ dir
- Set permissions for /var/bogofilter/ dir
- Kill sisinfoc system process
Execute/remove/initialize/install script
- Execute vpopmail.sh
- Remove /home/kloxo/httpd/script dir
- Initialize /home/kloxo/httpd/script dir
- Set ownership apache:apache for /home/kloxo/httpd/script dir
- Install phpinfo.php into /home/kloxo/httpd/script dir
Remove cache dir
- Remove process
Initialize awstats dirdata
- Initialize process
Update Kloxo database
- Updating process
Remove old lxlabs ssh key
- Remove process
- Preparing MySQL/MariaDB service
- MariaDB activated
- Updating Main services
Updating All packages - WAIT to process...
- No update found/not installed
Removing /home/httpd/*/httpdocs
- Removing...
Add 'hostname' information to '/etc/hosts'
- Add ip, short and full name of 'hostname'
Initialize some skeletons
- Php files for default web page
- Skeleton for default web page
- robots.txt for default web page
- Php files for disable web page
- Skeleton for disable web page
- robots.txt for disable web page
- Php files for webmail web page
- Skeleton for webmail web page
- robots.txt for webmail web page
- Php files for cp web page
- Skeleton for cp web page
- robots.txt for cp web page
- Skeleton for error web page
- robots.txt for error web page
- chown apache:apache FOR /home/kloxo/httpd/ AND INSIDE
- chmod 644 FOR *.php* INSIDE /home/kloxo/httpd/
- chmod 755 FOR *.pl/cgi/py/rb INSIDE /home/kloxo/httpd/
- chmod 755 FOR /home/kloxo/httpd/ AND INSIDE
- chmod 771 FOR /home/kloxo/httpd/
- Php files for login web page
- Skeleton for login web page
- Files for error web pages
- Skeleton for error web pages
- Copy error web pages to '/home/kloxo/httpd/error'
- No exists user-skeleton
- No exists user-logo
Initialize phpMyAdmin configfile
- phpMyAdmin: Set db password in configfile
Initialize OS admin account description
- Initialize process
Copy all contents from /usr/local/lxlabs/kloxo/file/bind
- Copy to /opt/configs/bind
- Copy etc/named.conf to /etc/named.conf
Copy all contents from /usr/local/lxlabs/kloxo/file/djbdns
- Copy to /opt/configs/djbdns
Copy all contents from /usr/local/lxlabs/kloxo/file/mydns
- Copy to /opt/configs/mydns
- Copy etc/conf/mydns.conf to /etc/mydns/mydns.conf
Preparing MyDns database
- Fixing MySQL commands in import files
- Generating password
- Add Password to configuration file
Copy all contents from /usr/local/lxlabs/kloxo/file/nsd
- Copy to /opt/configs/nsd
- Copy etc/conf/nsd3.conf to /etc/nsd/nsd.conf
Copy all contents from /usr/local/lxlabs/kloxo/file/pdns
- Copy to /opt/configs/pdns
- Copy etc/conf/pdns.conf to /etc/pdns/pdns.conf
Preparing PowerDNS database
- Install MySQL and Geo Backend
- Fixing MySQL commands in import files
- Generating password
- Add Password to configuration file
Copy all contents from /usr/local/lxlabs/kloxo/file/yadifa
- Copy to /opt/configs/yadifa
- Copy etc/yadifad.conf to /etc/yadifad.conf
Initialize apache config
- /etc/httpd/conf.d dir already exists
- /opt/configs/apache/tpl dir already exists
- /opt/configs/apache/conf dir already exists
- /opt/configs/apache/etc dir already exists
- /opt/configs/apache/etc/conf dir already exists
- /opt/configs/apache/etc/conf.d dir already exists
Copy all contents from /usr/local/lxlabs/kloxo/file/apache
- Copy to /opt/configs/apache
- Copy etc/conf/httpd.conf to /etc/httpd/conf/httpd.conf
- chown root:root FOR /opt/configs/apache/ AND INSIDE
- chmod 755 FOR *.sh INSIDE /opt/configs/apache/
Initialize lighttpd config
- /etc/lighttpd/conf.d dir already exists
- /opt/configs/lighttpd/tpl dir already exists
- /opt/configs/lighttpd/conf dir already exists
- /opt/configs/lighttpd/etc dir already exists
- /opt/configs/lighttpd/etc/conf dir already exists
- /opt/configs/lighttpd/etc/conf.d dir already exists
Copy all contents from /usr/local/lxlabs/kloxo/file/lighttpd
- Copy to /opt/configs/lighttpd
- Copy etc/conf/lighttpd.conf to /etc/lighttpd/lighttpd.conf
- chown root:root FOR /opt/configs/lighttpd/ AND INSIDE
- chmod 755 FOR *.sh INSIDE /opt/configs/lighttpd/
Initialize nginx config
- /etc/nginx/conf.d dir already exists
- /opt/configs/nginx/tpl dir already exists
- /opt/configs/nginx/conf dir already exists
- /opt/configs/nginx/etc dir already exists
- /opt/configs/nginx/etc/conf dir already exists
- /opt/configs/nginx/etc/conf.d dir already exists
Copy all contents from /usr/local/lxlabs/kloxo/file/nginx
- Copy to /opt/configs/nginx
- Copy etc/conf/nginx.conf to /etc/nginx/nginx.conf
- chown root:root FOR /opt/configs/nginx/ AND INSIDE
- chmod 755 FOR *.sh INSIDE /opt/configs/nginx/
Initialize hiawatha config
- /etc/hiawatha/conf.d dir already exists
- /opt/configs/hiawatha/tpl dir already exists
- /opt/configs/hiawatha/conf dir already exists
- /opt/configs/hiawatha/etc dir already exists
- /opt/configs/hiawatha/etc/conf dir already exists
- /opt/configs/hiawatha/etc/conf.d dir already exists
Copy all contents from /usr/local/lxlabs/kloxo/file/hiawatha
- Copy to /opt/configs/hiawatha
- Copy etc/conf/hiawatha_standard.conf to /etc/hiawatha/hiawatha.conf
- chown root:root FOR /opt/configs/hiawatha/ AND INSIDE
- chmod 755 FOR *.sh INSIDE /opt/configs/hiawatha/
Copy all contents from /usr/local/lxlabs/kloxo/file/varnish
- Copy to /opt/configs/varnish
Copy all contents from /usr/local/lxlabs/kloxo/file/squid
- Copy to /opt/configs/squid
Copy all contents from /usr/local/lxlabs/kloxo/file/trafficserver
- Copy to /opt/configs/trafficserver
cat: /etc/rc.d/init.d/php-fpm: No such file or directory
- Install /etc/php-fpm.conf
- Copy php-fpm init to /etc/init.d dir
Copy all contents from /usr/local/lxlabs/kloxo/file/openssl
- Copy to /opt/configs/openssl
Initialize PureFtp service
- Initialize process
- Restart xinetd service for pureftp
Initialize logrotate
- kloxo logrotate
- syslog logrotate
Preparing RoundCube database
- Fixing MySQL commands in import files
- Generating password
- Add Password to configuration file
- Database installed
Initialize Roundcube files
- Initialize process
Preparing Horde database
- Fix MySQL commands in import files of Horde
- Generating password
- Add password to configuration file
- Database installed
Initialize Horde files
- Initialize process
Preparing T-Dah Database
- No need database
Initialize T-Dah files
- Initialize process
Preparing Afterlogic database
- Fixing MySQL commands in import files
- Generating password
- Add Password to configuration file
- Database installed
Initialize Afterlogic files
- Initialize process
Preparing Squirrelmail Database
- No need database
Initialize Squirrelmail files
- Initialize process
Preparing Telaen Database
- No need database
Initialize Telaen files
- Initialize process
Preparing Rainloop Database
- No need database
Initialize Rainloop files
- Initialize process
Install Webmail chooser
- Install process
Initialize Mail service
- Initialize process
Fix services
- Fix dns services
- Fix webcache services
- Fix web services
- Fix php services
- Fix mail-all services
- Fix ftp-all services
Fixing Hiawatha service
*** Executing Update (cleanup) - END ***

*** Restart services - BEGIN ***

Shutting down kernel logger:                               [PASSED]
Shutting down system logger:                               [  OK  ]
Starting system logger:                                    [  OK  ]
Starting kernel logger:                                    [PASSED]
-------------------------------------------------------------------

Shutting down MySQL.. SUCCESS!
Starting MySQL. SUCCESS!
-------------------------------------------------------------------

Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
-------------------------------------------------------------------


*** Process for QMAIL service ***
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
-------------------------------------------------------------------

- For help, type '/script/restart-mail [--help|-h]'
-------------------------------------------------------------------

Stopping xinetd: supervise: fatal: unable to start clamd/run: file does not exis
t
supervise: fatal: unable to start log/run: file does not exist
                                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
-------------------------------------------------------------------

Execute fixlxphpexe for php54s...
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
Stopping kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-phpcgi:                                     [  OK  ]
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
Stopping kloxo-hiawatha: supervise: fatal: unable to start clamd/run: file does
not exist
supervise: fatal: unable to start log/run: file does not exist
                                                           [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]
-------------------------------------------------------------------
*** Restart services - END ***


*** Process Time: 00:00:02:35.155819 (dd:hh:mm:ss:xxxxxx) ***

[root@server ~]# supervise: fatal: unable to start clamd/run: file does not exis
t
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
Title: Re: Yum Update Error
Post by: Joe on 2015-04-14, 08:41:38
This fixed the clamd error with script cleanup (found in another post). yum install simscan-toaster; sh /script/fixmail-all; sh /script/restart-mail -y'

However, I still cannot login to control panel and have this error after attempting to login:

Parse error: syntax error, unexpected 'if' (T_IF) in /usr/local/lxlabs/kloxo/httpdocs/lib/php/index.php on line 105
Title: Re: Yum Update Error
Post by: MRatWork on 2015-04-14, 08:41:45
I ran sh /script/phpm-installer php54s; sh /script/fixlxphpexe php54s; sh /script/restart -y to see if I can get back into the control panel.

Now I can see the panel login page but when I click to login I get this error:

Parse error: syntax error, unexpected 'if' (T_IF) in /usr/local/lxlabs/kloxo/httpdocs/lib/php/index.php on line 105
Update your Kloxo-MR 7.0 with 'yum clean all; yum update kloxomr7 -y'.
Title: Re: Yum Update Error
Post by: MRatWork on 2015-04-14, 08:45:23
Php 5.1.x is very old. Kloxo-MR still support php 5.2.x via 'secondary php' (but need install php52m first).
Title: Re: Yum Update Error
Post by: Joe on 2015-04-14, 08:55:15
Php 5.1.x is very old. Kloxo-MR still support php 5.2.x via 'secondary php' (but need install php52m first).

Yes I know. It's too over my head to update all those modules and cost is too great for me now. Anyway, thanks I'm able to log back into panel and everything seems to be working again and even that old version of php seems to work now and is still listed as a choice for php in the Web Server Configuration with this latest version of panel? Is it just not officially still supported with the new version?
Title: Re: Yum Update Error
Post by: Joe on 2015-04-14, 09:57:50
Working great too now with the VPS running Drupal and older version of PHP. Thanks again!

If anyone else has to run an older version of PHP here's a summary of what got everything working with the latest version of Kloxo 7:

sh /script/mysql-to-mariadb
sh /script/phpm-installer php54s; sh /script/fixlxphpexe php54s; sh /script/restart -y
yum install simscan-toaster; sh /script/fixmail-all; sh /script/restart-mail -y
yum clean all; yum update
sh /script/cleanup

Title: Re: Yum Update Error
Post by: MRatWork on 2015-04-14, 10:04:31
IF you have trouble with php 5.3+, try with php 5.2. Kloxo-MR still support php 5.2 in CentOS 5 and 6.
Title: Re: Yum Update Error
Post by: Joe on 2015-04-14, 10:40:58
I tried switching:

Multiple PHP Already Installed:   php52m php54m

Then when I select PHP branch version 5.2.17 it updates and refreshes the page with 5.1.6 installed as before. "Enable PHP 5.2 (use Php52s) As Secondary PHP" when checked and updated goes back to unchecked. What am I doing wrong when trying php52? I type command php -v and it still shows 5.1.6.
Title: Re: Yum Update Error
Post by: MRatWork on 2015-04-14, 11:23:45
No select 'php52m' in 'php used' at this moment. You see .htaccess in every domain with content:

Code: [Select]
### begin content - please not remove this line

### MR -- attention
### 1. Move '#<Ifmodule !mod_php5.c>' until '#</Ifmodule>' on
###    above '###Start Kloxo PHP config Area'
### 2. Remove # in front of '#<Ifmodule !mod_php5.c>' and '#</Ifmodule>'
###    on point (1)
### 3. Remove # in front of 'AddHandler x-httpd-php52' to activate secondary-php
###    on point (1)
### 4. Or Remove # in front of 'AddHandler x-httpd-php' to activate primary-php
###    on point (1) if select suphp_worker/_event for primary-php

#<Ifmodule !mod_php5.c>
    #AddHandler x-httpd-php52 .php
    #AddHandler x-httpd-php .php
#</Ifmodule>

### end content - please not remove this line

And then change to:
Code: [Select]
<Ifmodule !mod_php5.c>
    AddHandler x-httpd-php52 .php
    #AddHandler x-httpd-php .php
</Ifmodule>

### begin content - please not remove this line

### MR -- attention
### 1. Move '#<Ifmodule !mod_php5.c>' until '#</Ifmodule>' on
###    above '###Start Kloxo PHP config Area'
### 2. Remove # in front of '#<Ifmodule !mod_php5.c>' and '#</Ifmodule>'
###    on point (1)
### 3. Remove # in front of 'AddHandler x-httpd-php52' to activate secondary-php
###    on point (1)
### 4. Or Remove # in front of 'AddHandler x-httpd-php' to activate primary-php
###    on point (1) if select suphp_worker/_event for primary-php

#<Ifmodule !mod_php5.c>
    #AddHandler x-httpd-php52 .php
    #AddHandler x-httpd-php .php
#</Ifmodule>

### end content - please not remove this line
Title: Re: Yum Update Error
Post by: Joe on 2015-04-14, 12:19:15
I changed the htaccess file. Is that all that is needed because when I run a phpinfo.php file on the domain it still shows the 5.1.6 php version and not 5.2?
Title: Re: Yum Update Error
Post by: MRatWork on 2015-04-14, 12:22:45
Only work in apache/proxy with other then ruid2 or itk.
Title: Re: Yum Update Error
Post by: MRatWork on 2015-04-14, 12:54:31
Check:
- http://xl2.mratwork.com/php52/
- http://xl2.mratwork.com/php53/
- http://xl2.mratwork.com/php54/

and what's you see.
Title: Re: Yum Update Error
Post by: Joe on 2015-04-14, 13:04:43
Check:
- http://xl2.mratwork.com/php52/
- http://xl2.mratwork.com/php53/
- http://xl2.mratwork.com/php54/

and what's you see.

I can see all your different versions. My phpinfo file doesn't change versions when I edit the htaccess file. I'm running apache and tried ruid2 and itk. When I switch to 5.4 from 5.1.6 I see the new phpinfo. The htaccess isn't doing anything on my end.
Title: Re: Yum Update Error
Post by: MRatWork on 2015-04-14, 13:09:46
So, install all php in 'Multiple PHP Install' until see listing in 'Multiple PHP Already Installed:' (install process is in background and need waiting) in 'webserver configure'. Also select 'php-fpm_event' in 'php type'.
Title: Re: Yum Update Error
Post by: bigdigillc on 2015-04-18, 02:32:59
@Mustafa ,
Any ideas on my issue. It seems my thread got hijacked. haha. I tried excluding the repos you specified, but still get same error. Also, GOogle can no longer reach any of the sites on that server.


I removed the other software and got it down to this one error.

Code: [Select]
Error: Missing Dependency: libv4l2.so.0 is needed by package ptlib-2.6.7-1.el5.i386 (mratwork-atrpms)

Title: Re: Yum Update Error
Post by: MRatWork on 2015-04-18, 04:44:33
Send ssh and panel access to my PM. I will to find out this issue.