MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: leonard on 2015-04-17, 16:19:21
-
When doing 'yum update', I'm getting error like this:
[root@server1 ~]# yum update
.....
--> Running transaction check
---> Package php56u-cli.x86_64 0:5.6.7-1.ius.el6 will be installed
---> Package php56u-process.x86_64 0:5.6.7-1.ius.el6 will be installed
---> Package php56u-xml.x86_64 0:5.6.7-1.ius.el6 will be installed
--> Processing Conflict: php56u-process-5.6.7-1.ius.el6.x86_64 conflicts php-process < 5.6
--> Processing Conflict: php56u-cli-5.6.7-1.ius.el6.x86_64 conflicts php-cli < 5.6
--> Processing Conflict: php56u-common-5.6.7-1.ius.el6.x86_64 conflicts php-common < 5.6
--> Processing Conflict: php56u-xml-5.6.7-1.ius.el6.x86_64 conflicts php-xml < 5.6
--> Finished Dependency Resolution
Error: php56u-common conflicts with php54-common-5.4.39-1.ius.el6.x86_64
Error: php56u-cli conflicts with php54-cli-5.4.39-1.ius.el6.x86_64
Error: php56u-xml conflicts with php54-xml-5.4.39-1.ius.el6.x86_64
Error: php56u-process conflicts with php54-process-5.4.39-1.ius.el6.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Have a clue to this..?
-
Inform here your 'sh /script/sysinfo'.
-
Here's the result:
[root@server1 ~]# sh /script/sysinfo
A. Kloxo-MR: 7.0.0.b-2015040402
B. OS: CentOS release 6.6 (Final) x86_64
C. Apps:
1. MySQL: mysql55-5.5.42-1.ius.el6.x86_64
2. PHP: php54-5.4.39-1.ius.el6.x86_64
3. Httpd: httpd-2.2.29-1.mr.el6.x86_64
4. Lighttpd: --uninstalled--
5. Hiawatha: hiawatha-9.12.0-f.3.mr.el6.x86_64
6. Nginx: nginx-1.7.11-1.el6.ngx.x86_64
7. Cache: --uninstalled--
8. Dns: bind-9.9.5-1.el6.x86_64
9. Qmail: qmail-toaster-1.03-1.3.48.mr.el6.x86_64
- with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64
D. Php-type (for Httpd/proxy): php-fpm_event
E. Memory:
total used free shared buffers cached
Mem: 3072 410 2661 223 0 159
-/+ buffers/cache: 250 2821
Swap: 0 0 0
[root@server1 ~]#
-
Try 'yum reinstall mratwork* -y; yum update -y'.
-
The result still the same error, as follows:
[root@server1 ~]# yum reinstall mratwork* -y; yum update -y
.....
--> Running transaction check
---> Package php56u-cli.x86_64 0:5.6.7-1.ius.el6 will be installed
---> Package php56u-process.x86_64 0:5.6.7-1.ius.el6 will be installed
---> Package php56u-xml.x86_64 0:5.6.7-1.ius.el6 will be installed
--> Processing Conflict: php56u-process-5.6.7-1.ius.el6.x86_64 conflicts php-process < 5.6
--> Processing Conflict: php56u-cli-5.6.7-1.ius.el6.x86_64 conflicts php-cli < 5.6
--> Processing Conflict: php56u-common-5.6.7-1.ius.el6.x86_64 conflicts php-common < 5.6
--> Processing Conflict: php56u-xml-5.6.7-1.ius.el6.x86_64 conflicts php-xml < 5.6
--> Finished Dependency Resolution
Error: php56u-common conflicts with php54-common-5.4.39-1.ius.el6.x86_64
Error: php56u-cli conflicts with php54-cli-5.4.39-1.ius.el6.x86_64
Error: php56u-xml conflicts with php54-xml-5.4.39-1.ius.el6.x86_64
Error: php56u-process conflicts with php54-process-5.4.39-1.ius.el6.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@server1 ~]#
-
Inform here 'yum list installed php*'.
-
Here's yum list installed php
[root@server1 ~]# yum list installed php
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
* base: mirror.sanctuaryhost.com
* extras: mirror.cisp.com
* mratwork-epel: mirror.steadfast.net
* mratwork-ius-stable: ord.mirror.rackspace.com
* mratwork-remi-php56: mirrors.mediatemple.net
* updates: centos.chi.host-engine.com
0 packages excluded due to repository protections
Error: No matching Packages to list
[root@server1 ~]#
-
Wrong command.
Try:
yum list installed php*
-
Just same result like this:
[root@server1 ~]# yum list installed php*
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
* base: mirror.sanctuaryhost.com
* extras: mirror.cisp.com
* mratwork-epel: mirror.steadfast.net
* mratwork-ius-stable: ord.mirror.rackspace.com
* mratwork-remi-php56: mirrors.mediatemple.net
* updates: centos.chi.host-engine.com
0 packages excluded due to repository protections
Error: No matching Packages to list
[root@server1 ~]#
-
Try:
yum list installed|grep php
-
Or:
cd /; yum list installed php*
-
[root@server1 ~]# yum list installed|grep php
kloxomr7-thirdparty-phpmyadmin.noarch
mod_suphp.x86_64 0.7.2-1.mr.el5 @mratwork-release-version-arch
php54.x86_64 5.4.39-1.ius.el6 @mratwork-ius-stable
php54-cli.x86_64 5.4.39-1.ius.el6 @mratwork-ius-stable
php54-common.x86_64 5.4.39-1.ius.el6 @mratwork-ius-stable
php54-embedded.x86_64 5.4.39-1.ius.el6 @mratwork-ius-stable
php54-fpm.x86_64 5.4.39-1.ius.el6 @mratwork-ius-stable
php54-gd.x86_64 5.4.39-1.ius.el6 @mratwork-ius-stable
php54-imap.x86_64 5.4.39-1.ius.el6 @mratwork-ius-stable
php54-intl.x86_64 5.4.39-1.ius.el6 @mratwork-ius-stable
php54-ioncube-loader.x86_64 4.7.5-2.ius.el6 @mratwork-ius-stable
php54-ldap.x86_64 5.4.39-1.ius.el6 @mratwork-ius-stable
php54-litespeed.x86_64 5.4.39-1.ius.el6 @mratwork-ius-stable
php54-mbstring.x86_64 5.4.39-1.ius.el6 @mratwork-ius-stable
php54-mcrypt.x86_64 5.4.39-1.ius.el6 @mratwork-ius-stable
php54-mysqlnd.x86_64 5.4.39-1.ius.el6 @mratwork-ius-stable
php54-pdo.x86_64 5.4.39-1.ius.el6 @mratwork-ius-stable
php54-pear.noarch 1:1.9.5-2.ius.el6 @mratwork-ius-stable
php54-pecl-apc.x86_64 3.1.14-1.ius.el6 @mratwork-ius-archive
php54-pecl-geoip.x86_64 1.0.8-3.ius.el6 @mratwork-ius-stable
php54-process.x86_64 5.4.39-1.ius.el6 @mratwork-ius-stable
php54-pspell.x86_64 5.4.39-1.ius.el6 @mratwork-ius-stable
php54-recode.x86_64 5.4.39-1.ius.el6 @mratwork-ius-stable
php54-snmp.x86_64 5.4.39-1.ius.el6 @mratwork-ius-stable
php54-soap.x86_64 5.4.39-1.ius.el6 @mratwork-ius-stable
php54-tidy.x86_64 5.4.39-1.ius.el6 @mratwork-ius-stable
php54-xml.x86_64 5.4.39-1.ius.el6 @mratwork-ius-stable
php54-xmlrpc.x86_64 5.4.39-1.ius.el6 @mratwork-ius-stable
[root@server1 ~]#
[root@server1 ~]# cd /; yum list installed php*
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
* base: mirror.sanctuaryhost.com
* extras: mirror.cisp.com
* mratwork-epel: mirror.steadfast.net
* mratwork-ius-stable: ord.mirror.rackspace.com
* mratwork-remi-php56: mirrors.mediatemple.net
* updates: centos.chi.host-engine.com
0 packages excluded due to repository protections
Error: No matching Packages to list
[root@server1 /]#
-
Look like it's not related to php directly but with mysql. Did you try change/switch mariadb to mysql before?.
-
I never touch to anything changed all mysql since configs of yours.
-
It's request by you for want mysql instead mariadb because 'warning' for mysqli.
-
Solution:
1. Replace php54 to php56u with 'yum replace php54 --replace-with=php56u -y'
2. Then 'yum clean all; yum update -y'
3. Make sure using phpXYm (like php54m) under 'php used' instead 'php branch' in 'webserver configure'
-
The 2 commands seem successful, like this:
[root@server1 ~]# yum replace php54 --replace-with=php56u -y
.....xxxx
Install 26 Package(s)
Remove 26 Package(s)
Installed:
php56u.x86_64 0:5.6.7-1.ius.el6 php56u-cli.x86_64 0:5.6.7-1.ius.el6
php56u-common.x86_64 0:5.6.7-1.ius.el6 php56u-embedded.x86_64 0:5.6.7-1.ius.el6
php56u-fpm.x86_64 0:5.6.7-1.ius.el6 php56u-gd.x86_64 0:5.6.7-1.ius.el6
.....xxxx
Dependency Installed:
php56u-pecl-jsonc.x86_64 0:1.3.7-1.ius.el6
Complete!
[root@server1 ~]#
[root@server1 ~]# yum clean all; yum update -y
Total download size: 31 M
.....xxxx
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Adding qmailtoaster users and groups.
groupadd: group 'nofiles' already exists
.....xxxx
Generating DH parameters, 512 bit long safe prime, generator 2
This is going to take a long time
.....xxxx
id: postfix: No such user
id: postfix: No such user
id: vchkpw: No such user
Updating : httpd-tools-2.2.29-2.mr.el6.x86_64 4/32
Updating : httpd-2.2.29-2.mr.el6.x86_64 5/32
Updating : 1:mod_ssl-2.2.29-2.mr.el6.x86_64 6/32
.....xxxx
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/ _/
_/ ..:: Kloxo-MR Web Panel ::.. _/
_/ _/
_/ Attention: _/
_/ _/
_/ Run 'sh /script/cleanup' for to make sure running well _/
_/ or 'sh /script/cleanup-simple' (cleanup without fix services configs) _/
_/ _/
_/ Run 'sh /script/upcp' if update from Kloxo-MR 6.5.0 _/
_/ _/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Cleanup : kloxomr7-thirdparty-phpmyadmin-4.4.0-1.mr.noarch 17/32
Cleanup : tzdata-2015b-1.el6.noarch 18/32
Cleanup : kloxomr7-7.0.0.b-2015040402.mr.noarch 20/32
Cleanup : nginx-1.7.11-1.el6.ngx.x86_64 21/32
.....xxxx
Verifying : kloxomr7-7.0.0.b-2015041602.mr.noarch 1/32
Verifying : hiawatha-9.12.0-f.4.mr.el6.x86_64 3/32
Verifying : tzdata-2015c-2.el6.noarch 8/32
Verifying : krb5-devel-1.10.3-37.el6_6.x86_64 9/32
Verifying : httpd-2.2.29-2.mr.el6.x86_64 14/32
Verifying : nginx-1.7.12-1.el6.ngx.x86_64 15/32
Verifying : firebird-libfbclient-2.5.4.26856.0-1.el6.x86_64 16/32
.....xxxx
Updated:
firebird-libfbclient.x86_64 0:2.5.4.26856.0-1.el6
hiawatha.x86_64 0:9.12.0-f.4.mr.el6
httpd.x86_64 0:2.2.29-2.mr.el6
httpd-tools.x86_64 0:2.2.29-2.mr.el6
kloxomr-webmail-afterlogic.noarch 0:7.5.0-1.mr
kloxomr7.noarch 0:7.0.0.b-2015041602.mr
kloxomr7-thirdparty-phpmyadmin.noarch 0:4.4.2-1.mr
krb5-devel.x86_64 0:1.10.3-37.el6_6
krb5-libs.x86_64 0:1.10.3-37.el6_6
mod_ruid2.x86_64 0:0.9.8-2.el6
mod_ssl.x86_64 1:2.2.29-2.mr.el6
nginx.x86_64 0:1.7.12-1.el6.ngx
qmail-pop3d-toaster.x86_64 0:1.03-1.3.51.mr.el6
qmail-toaster.x86_64 0:1.03-1.3.51.mr.el6
shadow-utils.x86_64 2:4.1.4.2-19.el6_6.1
tzdata.noarch 0:2015c-2.el6
Complete!
[root@server1 ~]#
-
Because want using mysql55 instead mariadb, add 'exclude=MariaDB*' in /etc/yum.conf to prevent from conflict next time.
-
Then, I change "PHP Used" to php54m
Finally, I run "sh /script/cleanup" and the result like this:
[root@server1 ~]# sh /script/cleanup
.....xxxx
*** Executing Update (cleanup) - END ***
*** Restart services - BEGIN ***
Shutting down system logger: [ OK ]
Starting system logger: [ OK ]
-------------------------------------------------------------------
Stopping mysqld: [ OK ]
Starting mysqld: [ OK ]
-------------------------------------------------------------------
Stopping named: [ OK ]
Starting named: [ OK ]
-------------------------------------------------------------------
Stopping nginx: [ OK ]
Starting nginx: [ OK ]
-------------------------------------------------------------------
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: [ OK ]
Starting xinetd: [ OK ]
-------------------------------------------------------------------
Execute fixlxphpexe for php54s...
Stopping kloxo-phpcgi: [ OK ]
Starting kloxo-phpcgi: [ OK ]
Stopping kloxo-hiawatha: [ OK ]
Starting kloxo-hiawatha: [ OK ]
-------------------------------------------------------------------
Stopping php54m-fpm: [ OK ]
Starting php54m-fpm: [ OK ]
-------------------------------------------------------------------
*** Restart services - END ***
*** Process Time: 00:00:02:13.133981 (dd:hh:mm:ss:xxxxxx) ***
[root@server1 ~]#
What everything is correct, bro..?
-
Yes.
-
OK, the problem solved... Thanks so much man!
-
Hi Mustafa, after trying to test all day, in fact this php56 is not compatible with the mtn, eventhough I've tried to edit the all php.ini, but still in vain. Therefore, I will be back to php54 again. But there are obstacles, when I run "yum replace php56 --replace-with=php54u -y" I am getting error like this:
[root@server1 ~]# yum replace php56 --replace-with=php54u -y
Loaded plugins: fastestmirror, priorities, protectbase, replace
Replacing packages takes time, please be patient...
Error: Package 'php56' is not installed.
[root@server1 ~]#
Am I wrong..? Please correct me if it wrong command.
-
Wrong command.
Try this:
yum replace php56u --replace-with=php54
You can see php branch with:
yum list php*
-
Because using Kloxo-MR 7.0, better change php via 'php used' instead change 'php branch' (like running 'yum replace'). Change/switch between php version with 'php used' tend to on-the-play and no need replace between old and new php version (replace is equal to remove old and then install new php).
-
Now, I have returned to php54 with successful.
You know why I just downgrade to php54, there are two things the cause of:
1. The mtn of RL is error - cannot generate the thumbnail.
2. Indicator for CPU Load percentage is error [getCpuUsage(): couldn't access STAT path or STAT file invalid]
Because using Kloxo-MR 7.0, better change php via 'php used' instead change 'php branch' (like running 'yum replace'). Change/switch between php version with 'php used' tend to on-the-play and no need replace between old and new php version (replace is equal to remove old and then install new php).
If I may guess what you mean is enough change in the 'PHP Used' to choose php56m. This would be better than the overall upgrade from php54 to 56...is it correct?