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. 2017-11-08, 01:57:27

Author Topic: Failed update on 2 different servers  (Read 2536 times)

0 Members and 1 Guest are viewing this topic.

Offline matrixismyname

  • Junior Member
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Failed update on 2 different servers
« on: 2014-04-24, 20:52:29 »
Hello !

I'm trying to update 2 functional kloxo instalations (6.5.0.f-2014020301)

First one (dedicated server) is with CentOS 6.5 x64 gives me these errors:
http://pastebin.com/CYEEm0TU

Second one (VPS/OpenVZ) is with CentOS 6.5 x64 gives me these errors:
http://pastebin.com/zqDjSZHT

They are both configured with almost the same settings (webserver,database,both masters, etc).

Please help me fix/update them without reinstalling it, thank you and I appreciate any help :)

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Failed update on 2 different servers
« Reply #1 on: 2014-04-25, 06:44:35 »
Update KLoxo-MR first with 'yum update kloxomr' and then run 'sh /script/upcp'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline matrixismyname

  • Junior Member
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Failed update on 2 different servers
« Reply #2 on: 2014-04-25, 15:13:42 »
It worked successfully on the second server (vps, openvz) but it broke my first one, the web server being offline ATM.

I updated with 'yum update kloxomr' then executed 'sh /script/upcp' as advised resulting in:

- Already use mysql55. No replace
*** Executing Install/Update (upcp) - BEGIN ***
- Run 'sh /script/cleanup' if you want to fix/restore non-working components.
*** Executing Install/Update (upcp) - END ***

After that I tried 'yum update' but it gave the same error as before, so I tried and executed 'sh /script/cleanup' (you didn't advise me that, I know that) and it broke the web server, I don't know how to fix it, it seems that it doesn't start anymore because I executed 'sh /script/restart-all' and this is the result:

Stopping mysqld:                                           [  OK  ]
Starting mysqld:                                           [  OK  ]
Stopping Djbdns for:
  - axfrdns    [  OK  ]
  - tinydns    [  OK  ]
Starting Djbdns for:
  - axfrdns    [  OK  ]
  - tinydns    [  OK  ]
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
Stopping kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-phpcgi:                                     [  OK  ]
Stopping kloxo-hiawatha:                                   [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]

I was running nginxproxy + php.

Please advise, thank you.

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Failed update on 2 different servers
« Reply #3 on: 2014-04-25, 18:04:23 »
If upcp found different mysql then upcp try to replace to mysql55. After this process, upcp running cleanup.

Every update Kloxo-MR, better running upcp/cleanup.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline matrixismyname

  • Junior Member
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Failed update on 2 different servers
« Reply #4 on: 2014-04-25, 21:27:07 »
I have the feeling that you don't understand me, so I'm gonna rephrase it.

What you said to me in the first reply, worked flawlessly on my VPS, but NOT on my dedicated.

ON MY DEDICATED SERVER I RUNNED THE FOLLOWING COMMANDS:

yum update kloxomr
sh /script/upcp
sh /script/cleanup
yum update (DIDN'T WORK, SAME PROBLEMS AS LAST TIME, SEE FIRST POST)
sh /script/restart-all


And my websever doesn't work anymore, all the sites hosted on that server with kloxo are unreachable.
« Last Edit: 2014-04-25, 21:48:54 by matrixismyname »

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Failed update on 2 different servers
« Reply #5 on: 2014-04-25, 22:47:07 »
1. Php52s (using by Kloxo-MR 6.5.0.f; special rpm compile for Kloxo-MR panel) may trouble if you choose php55 as php-branch. The reason is php55 already deprecated mysql/mysqli module and change to mysqlnd. Sadly php52s not have mysqlnd. It's different if you choose Kloxo-MR 6.5.1.b where using php53s (not special compile but just using plain php53u with 'special' trick').

2. In one monrh ago, mysql 5.5 already remove by Centalt repo (declare inside mratwork.repo) where mysql 5.5 will be install if running under Centos 6. In Centos 5, using mysql55 (special branch from IUS; declare inside mratwork.repo also). Related to this issue, I was recompile php52s and some other rpms to change to use mysql55.

I hope you understand why you found this issue.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline matrixismyname

  • Junior Member
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Failed update on 2 different servers
« Reply #6 on: 2014-04-25, 23:51:12 »
Are you trying to tell me that I can't fix the problem without switching to 6.5.1.b ?

That's what I'm really looking for, a solution to my problem.

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Failed update on 2 different servers
« Reply #7 on: 2014-04-26, 03:54:06 »
Still update but don't use php55 as branch select. Better php53u.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Failed update on 2 different servers
« Reply #8 on: 2014-04-26, 03:55:09 »
So, change php-branch as php53u first and then update your Kloxo-MR.

Run 'yum replace php55u --replace-with=php53u; yum update'.
« Last Edit: 2014-04-26, 03:57:49 by MRatWork »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline matrixismyname

  • Junior Member
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Failed update on 2 different servers
« Reply #9 on: 2014-04-26, 21:14:42 »
I ran those commands, I successfully updated kloxo and other apps, but the webserver was still offline, but after I ranned cleanup script everything works again perfectly.

Thank you for your help Mustafa ! Have a nice day !

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.04 seconds with 17 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM