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-27, 17:34:34

Author Topic: Internal Server 500 Error, php-fpm stoped  (Read 11696 times)

0 Members and 1 Guest are viewing this topic.

Offline pakgalaxy

  • Valuable Member
  • *
  • Posts: 72
  • Karma: +0/-0
    • View Profile
Re: Internal Server 500 Error, php-fpm stoped
« Reply #15 on: 2016-10-05, 12:01:32 »

Error 500 - Internal Server Error

A generic error message, given when no more specific message is suitable


php- Error:
Code: [Select]
[04-Oct-2016 16:24:00] ERROR: An another FPM instance seems to already listen on /opt/configs/php-fpm/sock/php-educare.sock
[04-Oct-2016 16:24:00] ERROR: FPM initialization failed
[05-Oct-2016 01:48:54] ERROR: unable to read what child say: Bad file descriptor (9)
[05-Oct-2016 01:48:54] ERROR: unable to read what child say: Bad file descriptor (9)
[05-Oct-2016 05:21:39] ERROR: unable to read what child say: Bad file descriptor (9)
[05-Oct-2016 05:21:39] ERROR: unable to read what child say: Bad file descriptor (9)

Code: [Select]
*** Process for PHP-FPM service ***
  - Process: restart
Stopping php56m-fpm (PHP Used):                            [FAILED]
Starting php56m-fpm (PHP Used):                            [  OK  ]
-------------------------------------------------------------------

« Last Edit: 2016-10-05, 12:06:50 by pakgalaxy »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Internal Server 500 Error, php-fpm stoped
« Reply #16 on: 2016-10-05, 12:07:48 »
Inform here 'dir -l /opt/' again.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline pakgalaxy

  • Valuable Member
  • *
  • Posts: 72
  • Karma: +0/-0
    • View Profile
Re: Internal Server 500 Error, php-fpm stoped
« Reply #17 on: 2016-10-05, 14:55:20 »
Code: [Select]
[root@vps ~]# sh /script/restart-services

*** Process for MYSQL/MARIADB service ***
Starting MySQL SUCCESS!
  - Process: restart
Shutting down MySQL. SUCCESS!
Starting MySQL. SUCCESS!
-------------------------------------------------------------------

*** Process for BIND service ***
  - Process: restart
Stopping named:                                            [  OK  ]
Starting named:                                            [  OK  ]
-------------------------------------------------------------------

*** Process for HTTPD service ***
  - Process: restart
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
-------------------------------------------------------------------

Stopping pure-ftpd:                                        [  OK  ]
Starting pure-ftpd:                                        [  OK  ]
-------------------------------------------------------------------

*** Process for PHP-FPM service ***
  - Process: restart
Stopping php56m-fpm (PHP Used):                            [FAILED]
Starting php56m-fpm (PHP Used):                            [  OK  ]
-------------------------------------------------------------------

- For help, type '/script/restart-services [--help|-h]'
[root@vps ~]# dir -l /opt
total 56
drwxr-xr-x. 24 root   root   4096 Sep  2 03:34 configs
drwxr-xr-x   4 apache apache 4096 Sep  2 01:24 hiawatha
drwxr-xr-x   6 root   root   4096 Oct  5 05:13 php52m
drwxr-xr-x   6 root   root   4096 Oct  5 05:13 php52s
drwxr-xr-x   6 root   root   4096 Oct  5 05:14 php53m
drwxr-xr-x   6 root   root   4096 Oct  5 05:14 php53s
drwxr-xr-x   6 root   root   4096 Oct  5 05:15 php54m
drwxr-xr-x.  6 root   root   4096 Oct  5 05:15 php54s
drwxr-xr-x   6 root   root   4096 Oct  5 05:16 php55m
drwxr-xr-x   6 root   root   4096 Oct  5 05:16 php55s
drwxr-xr-x   6 root   root   4096 Oct  5 05:17 php56m
drwxr-xr-x   6 root   root   4096 Oct  5 05:17 php56s
drwxr-xr-x   6 root   root   4096 Oct  5 05:18 php70m
drwxr-xr-x   6 root   root   4096 Oct  5 05:18 php70s
[root@vps ~]#


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Internal Server 500 Error, php-fpm stoped
« Reply #18 on: 2016-10-05, 15:06:19 »
I think no issue now. Right?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline pakgalaxy

  • Valuable Member
  • *
  • Posts: 72
  • Karma: +0/-0
    • View Profile
Re: Internal Server 500 Error, php-fpm stoped
« Reply #19 on: 2016-10-05, 16:28:00 »
When services restart it works proper for 5 to 10 minutes.
:-(

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Internal Server 500 Error, php-fpm stoped
« Reply #20 on: 2016-10-05, 16:34:46 »
When services restart it works proper for 5 to 10 minutes.
:-(
Read php and php-fpm log in 'log manager' to know error related to php/php-fpm.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline pakgalaxy

  • Valuable Member
  • *
  • Posts: 72
  • Karma: +0/-0
    • View Profile
Re: Internal Server 500 Error, php-fpm stoped
« Reply #21 on: 2016-10-06, 05:06:36 »
/var/log/php-error.log

Code: [Select]
[06-Oct-2016 04:34:14 Europe/London] PHP Warning:  Module 'mysql' already loaded in Unknown on line 0
[06-Oct-2016 04:34:14 Europe/London] PHP Warning:  Module 'mysqli' already loaded in Unknown on line 0
[06-Oct-2016 04:34:14 Europe/London] PHP Warning:  Module 'pdo_mysql' already loaded in Unknown on line 0
[06-Oct-2016 04:34:16 Europe/London] PHP Warning:  Module 'mysql' already loaded in Unknown on line 0
[06-Oct-2016 04:34:16 Europe/London] PHP Warning:  Module 'mysqli' already loaded in Unknown on line 0
[06-Oct-2016 04:34:16 Europe/London] PHP Warning:  Module 'pdo_mysql' already loaded in Unknown on line 0


/var/log/php-fpm/error.log
Code: [Select]
[04-Oct-2016 16:24:00] ERROR: An another FPM instance seems to already listen on /opt/configs/php-fpm/sock/php-educare.sock
[04-Oct-2016 16:24:00] ERROR: FPM initialization failed
[05-Oct-2016 01:48:54] ERROR: unable to read what child say: Bad file descriptor (9)
[05-Oct-2016 01:48:54] ERROR: unable to read what child say: Bad file descriptor (9)
[05-Oct-2016 05:21:39] ERROR: unable to read what child say: Bad file descriptor (9)
[05-Oct-2016 05:21:39] ERROR: unable to read what child say: Bad file descriptor (9)

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Internal Server 500 Error, php-fpm stoped
« Reply #22 on: 2016-10-06, 05:12:31 »
Select 'php branch' or 'phpXYm' (change XY with 52 til 70) for 'php used'?.
..:: 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: Internal Server 500 Error, php-fpm stoped
« Reply #23 on: 2016-10-06, 05:13:50 »
How much your RAM (inform here 'sh /script/sysinfo') and clients?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline pakgalaxy

  • Valuable Member
  • *
  • Posts: 72
  • Karma: +0/-0
    • View Profile
Re: Internal Server 500 Error, php-fpm stoped
« Reply #24 on: 2016-10-06, 05:48:47 »
A. Control Panel:
   - Kloxo-MR: 7.0.0.b-2016100303
   - Web: hiawatha-10.3.0-f.1.mr.el6.x86_64
   - PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.8 (Final) x86_64
   - Hostname: vps.server.com
C. Services:
   1. MySQL: MariaDB-server-10.0.27-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php54-cli-5.4.45-1.ius.el6.x86_64
        - Multiple:
          * php52m-5.2.17-102.mr.el6
          * php53m-5.3.29-1.ius.el6
          * php54m-5.4.45-1.ius.el6
          * php55m-5.5.38-1.ius.el6
          * php56m-5.6.26-1.ius.el6
          * php70m-7.0.11-1.w6
      - Used: php56m-fpm
      - Multiple: disable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.3.0-f.1.mr.el6.x86_64
     - Lighttpd: lighttpd-1.4.41-1.el6.x86_64
     - Nginx: nginx-1.11.4-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: bogofilter-1.2.4-1.el6.x86_64
   7. Stats: awstats
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          3830       3715        114          1          7        100
   -/+ buffers/cache:       3607        222
   Swap:            0          0          0
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/vda1        97G   21G   71G  23% /


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


Clients: 14 not more than 200 Unique visitors per day.
« Last Edit: 2016-10-06, 05:53:23 by pakgalaxy »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Internal Server 500 Error, php-fpm stoped
« Reply #25 on: 2016-10-06, 05:52:21 »
How much clients that you added?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline pakgalaxy

  • Valuable Member
  • *
  • Posts: 72
  • Karma: +0/-0
    • View Profile
Re: Internal Server 500 Error, php-fpm stoped
« Reply #26 on: 2016-10-06, 05:53:45 »
Clients: 14 not more than 200 Unique visitors per day.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Internal Server 500 Error, php-fpm stoped
« Reply #27 on: 2016-10-06, 06:11:15 »
Inform here how much from 'admin > all > all clients'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline pakgalaxy

  • Valuable Member
  • *
  • Posts: 72
  • Karma: +0/-0
    • View Profile
Re: Internal Server 500 Error, php-fpm stoped
« Reply #28 on: 2016-10-06, 06:22:52 »
All Clients Under admin   (1 to 14 of 14)

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Internal Server 500 Error, php-fpm stoped
« Reply #29 on: 2016-10-06, 06:28:38 »
Inform here 'cat /etc/httpd/conf.d/~lxcenter.conf'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


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

Page created in 0.06 seconds with 19 queries.

web stats analysis