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-04-28, 00:58:22

Author Topic: [Ask] When doing 'yum update' why there are 4 errors?  (Read 5954 times)

0 Members and 1 Guest are viewing this topic.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [Ask] When doing 'yum update' why there are 4 errors?
« Reply #15 on: 2015-04-18, 06:27:44 »
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'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline leonard

  • Valuable Member
  • *
  • Posts: 93
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: [Ask] When doing 'yum update' why there are 4 errors?
« Reply #16 on: 2015-04-18, 09:21:31 »
The 2 commands seem successful, like this:
Code: [Select]
[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 ~]#

Code: [Select]
[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 ~]#

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [Ask] When doing 'yum update' why there are 4 errors?
« Reply #17 on: 2015-04-18, 09:23:16 »
Because want using mysql55 instead mariadb, add 'exclude=MariaDB*' in /etc/yum.conf to prevent from conflict next time.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline leonard

  • Valuable Member
  • *
  • Posts: 93
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: [Ask] When doing 'yum update' why there are 4 errors?
« Reply #18 on: 2015-04-18, 09:38:10 »
Then, I change "PHP Used" to php54m

Finally, I run "sh /script/cleanup" and the result like this:
Code: [Select]
[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..?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [Ask] When doing 'yum update' why there are 4 errors?
« Reply #19 on: 2015-04-18, 09:43:00 »
Yes.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline leonard

  • Valuable Member
  • *
  • Posts: 93
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: [Ask] When doing 'yum update' why there are 4 errors?
« Reply #20 on: 2015-04-18, 10:00:03 »
OK, the problem solved... Thanks so much man!

Offline leonard

  • Valuable Member
  • *
  • Posts: 93
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: [Ask] When doing 'yum update' why there are 4 errors?
« Reply #21 on: 2015-04-20, 18:43:02 »
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:
Code: [Select]
[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.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [Ask] When doing 'yum update' why there are 4 errors?
« Reply #22 on: 2015-04-20, 18:56:26 »
Wrong command.

Try this:
Code: [Select]
yum replace php56u --replace-with=php54
You can see php branch with:
Code: [Select]
yum list php*
..:: 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: [Ask] When doing 'yum update' why there are 4 errors?
« Reply #23 on: 2015-04-20, 19:05:39 »
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).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline leonard

  • Valuable Member
  • *
  • Posts: 93
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: [Ask] When doing 'yum update' why there are 4 errors?
« Reply #24 on: 2015-04-20, 23:56:59 »
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?
« Last Edit: 2015-04-21, 00:05:43 by leonard »

 


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

Page created in 0.068 seconds with 18 queries.

web stats analysis