MRatWork Forum by Mustafa Ramadhan - Restart Php Failed Setelah Update

Sponsor:
Server and Web Integrator
Link:
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:

MRatWork Forum | Please login or register. | 2017-11-07, 18:11:00

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- Restart Php Failed Setelah Update

« previous next »

- Print

Pages: [1] Go Down

### Author Topic: Restart Php Failed Setelah Update (Read 730 times)

0 Members and 1 Guest are viewing this topic.

#### GentZu

- Senior Member
- Posts: 323
- Karma: +0/-0
- Gender:
- yare yare...

##### Restart Php Failed Setelah Update

« on: 2017-03-08, 17:22:48 »
Code: [Select]

    A. Control Panel:
       - Kloxo-MR: 7.0.0.c-2017030802
       - Web: hiawatha-10.5.0-f.2.mr.el6.x86_64
       - PHP: php54s-5.4.45-1.ius.centos6 (fpm mode)
    B. Plateform:
       - OS: CentOS release 6.8 (Final) x86_64
       - Hostname: online.node..com
    C. Services:
       1. MySQL: MariaDB-server-10.0.30-1.el6.x86_64
       2. PHP:
          - Installed:
            - Branch: php54-cli-5.4.45-1.ius.centos6.x86_64
            - Multiple:
              * php55m-5.5.38-1.ius.centos6
              * php56m-5.6.30-1.ius.el6
          - Used: php55m-fpm
          - Multiple: disable
       3. Web Used: nginx
         - Hiawatha: hiawatha-10.5.0-f.2.mr.el6.x86_64
         - Lighttpd: lighttpd-1.4.45-1.el6.x86_64
         - Nginx: nginx-1.11.10-1.el6.ngx.x86_64
         - Apache: httpd-2.2.31-1.mr.el6.x86_64
           - PHP Type: php-fpm_event
           - Secondary PHP: off
       4. WebCache: none
         - ATS: --uninstalled--
         - Squid: --uninstalled--
         - Varnish: --uninstalled--
       5. Dns: bind
         - Bind: bind-9.9.7-1.mr.el6.x86_64
         - DJBDns: --uninstalled--
         - NSD: --uninstalled--
         - PowerDNS: --uninstalled--
         - Yadifa: --uninstalled--
       6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
          - pop3/imap4: none
          - smtp: none
          - spam: --uninstalled--
       7. Stats: --Disabled--
    D. Memory:
                 total       used       free     shared    buffers     cached
    Mem:         31941       4830      27110          1        194       1475
    -/+ buffers/cache:       3160      28780
    Swap:         1023          0       1023
    E. Disk Space:
    Filesystem      Size  Used Avail Use% Mounted on
    /dev/md1        913G   29G  838G   4% /

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

di web server config:
Multiple PHP Already Installed : php55m dan php56m
saya pilih PHP Used: php56m
tp di atas (sysinfo) Used: php55m
sudah di klik update pd PHP Configure di loaclhost, admin dan client
dan ntah kenapa setiap sh /script/restart-web -y php fpm ada yg failed
Code: [Select]

    Stopping php54m-fpm (Multiple Php):                        [FAILED]
    Starting php54m-fpm (Multiple Php): /bin/bash: php54m-fpm: command not found
                                                               [FAILED]
    -------------------------------------------------------------------

    Stopping php55m-fpm (Multiple Php):                        [FAILED]
    Starting php55m-fpm (Multiple Php): [08-Mar-2017 23:11:20] ERROR: An another FPM instance seems to already listen on /opt/configs/php-fpm/sock/php55m-admin.sock
    [08-Mar-2017 23:11:20] ERROR: FPM initialization failed
                                                               [FAILED]
    -------------------------------------------------------------------

    Stopping php56m-fpm (Multiple Php):                        [  OK  ]
    Starting php56m-fpm (Multiple Php):                        [  OK  ]
    -------------------------------------------------------------------

    Stopping php55m-fpm (PHP Used):                            [FAILED]
    Starting php55m-fpm (PHP Used): [08-Mar-2017 23:11:20] ERROR: An another FPM instance seems to already listen on /opt/configs/php-fpm/sock/php-admin.sock
    [08-Mar-2017 23:11:20] ERROR: FPM initialization failed
                                                               [FAILED]

kalau untuk webnya saya cek jalan secara normal....
terimakasih
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: Restart Php Failed Setelah Update

« Reply #1 on: 2017-03-08, 18:16:04 »
Coba lakukan update dengan 'yum clean all; yum update -y; sh /script/cleanup'.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### GentZu

- Senior Member
- Posts: 323
- Karma: +0/-0
- Gender:
- yare yare...

##### Re: Restart Php Failed Setelah Update

« Reply #2 on: 2017-03-08, 18:39:52 »
masih sama hasilnya pak
Code: [Select]

    Stopping php54m-fpm (Multiple Php):                        [FAILED]
    Starting php54m-fpm (Multiple Php): /bin/bash: php54m-fpm: command not found
                                                               [FAILED]
    -------------------------------------------------------------------

    Stopping php55m-fpm (Multiple Php):                        [FAILED]
    Starting php55m-fpm (Multiple Php): [09-Mar-2017 00:41:01] ERROR: An another FPM    instance seems to already listen on /opt/configs/php-fpm/sock/php55m-admin.sock
    [09-Mar-2017 00:41:01] ERROR: FPM initialization failed
                                                               [FAILED]
    -------------------------------------------------------------------

    Stopping php56m-fpm (Multiple Php):                        [  OK  ]
    Starting php56m-fpm (Multiple Php):                        [  OK  ]
    -------------------------------------------------------------------

    Stopping php56m-fpm (PHP Used):                            [FAILED]
    Starting php56m-fpm (PHP Used): [09-Mar-2017 00:41:01] ERROR: An another FPM ins   tance seems to already listen on /opt/configs/php-fpm/sock/php-admin.sock
    [09-Mar-2017 00:41:01] ERROR: FPM initialization failed
                                                               [FAILED]

ohhh iya kenapa command /etc/init.d/kloxo restart jd gk bisa...
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: Restart Php Failed Setelah Update

« Reply #3 on: 2017-03-08, 19:23:03 »
Ini karena '/etc/init.d/kloxo' dipecah jadi kloxo-web, kloxo-php dan kloxo-wrap. Alasan penggantian adalah Centos 7 tidak mau kalau 'hanya' kloxo. Itu sama halnya dengan phpm-fpm init dipecah jadi php53m-fpm sampai php71m-fpm init.
Untuk masalah anda, coba lakukan 'sh /script/phpm-updater -y'.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### GentZu

- Senior Member
- Posts: 323
- Karma: +0/-0
- Gender:
- yare yare...

##### Re: Restart Php Failed Setelah Update

« Reply #4 on: 2017-03-09, 12:00:30 »
masih error, dan yg ada sekarang malah akses webnya jdi lemot setelah eksekusi perintah 'sh /script/phpm-updater -y'.
Code: [Select]

    Stopping php54m-fpm (Multiple Php):                        [FAILED]
    Starting php54m-fpm (Multiple Php): /bin/bash: php54m-fpm: command not found
                                                               [FAILED]
    -------------------------------------------------------------------

    Stopping php55m-fpm (Multiple Php):                        [  OK  ]
    Starting php55m-fpm (Multiple Php):                        [  OK  ]
    -------------------------------------------------------------------

    Stopping php56m-fpm (Multiple Php):                        [  OK  ]
    Starting php56m-fpm (Multiple Php):                        [  OK  ]
    -------------------------------------------------------------------

    Stopping php56m-fpm (PHP Used):                            [FAILED]
    Starting php56m-fpm (PHP Used): [09-Mar-2017 17:59:58] ERROR: An another FPM instance seems to already listen on /opt/configs/php-fpm/sock/php-aozora.sock
    [09-Mar-2017 17:59:58] ERROR: FPM initialization failed
                                                               [FAILED]
    -------------------------------------------------------------------

Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: Restart Php Failed Setelah Update

« Reply #5 on: 2017-03-09, 13:06:19 »
Untuk php54m, lakukan 'sh /script/phpm-installer php54m -y'. Setelah selesai, lakukan 'pkill -9 php-fpm; sh /script/restart; sh /script/restart-web'.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### GentZu

- Senior Member
- Posts: 323
- Karma: +0/-0
- Gender:
- yare yare...

##### Re: Restart Php Failed Setelah Update

« Reply #6 on: 2017-03-09, 17:32:16 »
padahal itu di multiple php pernah install php54m, tp sudah saya remove...
itu kan gk kepakai, apa harus di install jg?
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: Restart Php Failed Setelah Update

« Reply #7 on: 2017-03-09, 18:14:08 »
Quote from: GentZu on 2017-03-09, 17:32:16

> padahal itu di multiple php pernah install php54m, tp sudah saya remove...
> itu kan gk kepakai, apa harus di install jg?

Ini efek dari dipisahnya phpm-fpm.init menjadi php53m-fpm.ini dan seterusnya.
Jika memang sudah dihapus, lakukan 'chkconfig php54m-fpm off; chkconfig --del php54m-fpm; rm -f /etc/init.d/php54m-fpm'.
Memang bagian ini tidak/belum sempat 'diselesaikan'.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

- Print

Pages: [1] Go Up
« previous next »

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- Restart Php Failed Setelah Update

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

..:: Monetize your Website or Blog with BidVertiser ::.. ..:: Sell your ad space with BidVertiser ::..

- Design By SMFSimple.com
- SMF 2.0.14 | SMF © 2017, Simple Machines

Page created in 0.037 seconds with 17 queries.

Mirror created by MasterkinG32.CoM