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-25, 21:57:23

Author Topic: /script/fixweb still doesn't work for slave  (Read 3248 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
/script/fixweb still doesn't work for slave
« on: 2014-09-05, 18:40:02 »
On master:

Quote
sh /script/fixweb --client=admin3

- For help, type '/script/fixweb --help'

Fixing Web server config

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

Quote
sh /script/fixweb --server=backup.xxx.pl

- For help, type '/script/fixweb --help'

Fixing Web server config

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

The good news is php_fpm event finally works on slave but it still refers to /home/php-fpm somewhere:

Quote
[root@backup tpl]# /etc/init.d/php-fpm restart
Zatrzymywanie php-fpm:                                     [NIEUDANE]
Uruchamianie php-fpm: [05-Sep-2014 12:44:11] ERROR: unable to bind listening socket for address '/home/php-fpm/sock/admin.sock': No such file or directory (2)
[05-Sep-2014 12:44:11] ERROR: FPM initialization failed
                                                           [NIEUDANE]

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: /script/fixweb still doesn't work for slave
« Reply #1 on: 2014-09-05, 19:52:50 »
Comparing '/etc/rc.d/init.d/php-fpm' in master and slave
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: /script/fixweb still doesn't work for slave
« Reply #2 on: 2014-09-06, 00:19:40 »
Comparing '/etc/rc.d/init.d/php-fpm' in master and slave

They are exactly the same. Running /script/cleanup on slave does not fix that problem.

I had to recreate /home/php-fpm/sock then it works again

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: /script/fixweb still doesn't work for slave
« Reply #3 on: 2014-09-06, 00:49:17 »
How about run 'sh /script/cleanup --type=slave'?
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: /script/fixweb still doesn't work for slave
« Reply #4 on: 2014-09-06, 01:00:39 »
php-fpm works on slaves now?
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: /script/fixweb still doesn't work for slave
« Reply #5 on: 2014-09-06, 12:38:37 »
How about run 'sh /script/cleanup --type=slave'?

Not tested. I'm not running /script/cleanup on master because it always mess up mail etc.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: /script/fixweb still doesn't work for slave
« Reply #6 on: 2014-09-06, 12:39:08 »
php-fpm works on slaves now?

Yes, but still referes to /home/php-fpm instead of /opt/configs/php-fpm

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: /script/fixweb still doesn't work for slave
« Reply #7 on: 2014-09-06, 13:34:17 »
Compare the content of /opt/configs/php-fpm between master and server.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: /script/fixweb still doesn't work for slave
« Reply #8 on: 2014-09-06, 19:11:21 »
They are the same...

 


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

Page created in 0.035 seconds with 18 queries.

web stats analysis