Failed to start FPM service for cPanel Daemons

kenw232

Registered
May 11, 2016
2
0
1
New york
cPanel Access Level
Root Administrator
A new install of cPanel on CentOS 7.2 gives me this on bootup:

[FAILED] Failed to start FPM service for cPanel Daemons.
See 'systemctl status cpanel_php_fpm.service' for details.

So I do the command to see:
server(/var/log): systemctl status cpanel_php_fpm.service
? cpanel_php_fpm.service - FPM service for cPanel Daemons
Loaded: loaded (/etc/systemd/system/cpanel_php_fpm.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2016-06-03 14:53:34 EDT; 5min ago
Process: 1660 ExecStart=/usr/local/cpanel/scripts/restartsrv_cpanel_php_fpm --notconfigured-ok (code=exited, status=2)

Jun 03 14:53:34 whatever.server.com systemd[1]: Starting FPM service for cPanel Daemons...
Jun 03 14:53:34 whatever.server.com restartsrv_cpanel_php_fpm[1660]: (XID 73y466) The “cpanel_php_fpm” service is disabled.
Jun 03 14:53:34 whatever.server.com systemd[1]: cpanel_php_fpm.service: control process exited, code=exited status=2
Jun 03 14:53:34 whatever.server.com systemd[1]: Failed to start FPM service for cPanel Daemons.
Jun 03 14:53:34 whatever.server.com systemd[1]: Unit cpanel_php_fpm.service entered failed state.
Jun 03 14:53:34 whatever.server.com systemd[1]: cpanel_php_fpm.service failed.

How do I fix this? Do I need it? Can I disable it without consequence?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
Jun 03 14:53:34 whatever.server.com restartsrv_cpanel_php_fpm[1660]: (XID 73y466) The “cpanel_php_fpm” service is disabled.
Hello,

This service is designed to improve performance of PHP-based internal applications that ship with cPanel. Additional information about this service is available at:

https://documentation.cpanel.net/display/ALD/Service+Manager

Could you check to see if "PHP-FPM service for cPanel Daemons" is disabled in "WHM >> Service Manager"?

Thank you.
 

ChristinaSmith1

Registered
Jul 18, 2016
2
0
1
USA
cPanel Access Level
Root Administrator
I have the same issue, crashes my server every day until I do a forceful reboot. 6 CPUs, 12 GB RAM, SSD hard drive. Yes - my php-fpm is enabled in the WHM >> Service Manager area.

Code:
The service “cpanel_php_fpm” appears to be down.
Service Name

cpanel_php_fpm
Service Status
failed 

Notification
The service “cpanel_php_fpm” appears to be down.

Service Check Method
The system’s command to check or to restart this service failed.

Number of Restart Attempts
1

Startup Log
No startup log

Memory Information
Used
773 MB

Available
10.87 GB

Installed
11.63 GB

Load Information
0.63 0.19 0.07

Uptime
1 minute and 25 seconds

IOStat Information
avg-cpu: %user %nice %system %iowait %steal %idle 4.28 0.00 4.51 1.48 0.02 89.70 Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn vda 350.13 20934.46 765.21 1761844 64400

Top Processes
PID
Owner
CPU %
Memory %
Command
16528
root
11.71
0.02
spamd-dormant: waiting for connections --max-children=3 --max-spare=1 --allowed-ips=127.0.0.1,::1 --pidfile=/var/run/spamd.pid --listen=5,6
16489
mysql
2.89
0.50
/usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=/var/lib/mysql/[myURL].err --open-files-limit=16384 --pid-file=/var/lib/mysql/[myURL].com.pid
17304
root
2.56
0.20
/usr/local/cpanel/etc/init/startcpanel_php_fpm --no-verbose
17175
root
1.54
0.09
/usr/local/cpanel/3rdparty/bin/perl /usr/local/cpanel/etc/init/startup
17309
root
1.42
0.18
php-fpm: master process (/usr/local/cpanel/etc/php-fpm.conf)
 

ChristinaSmith1

Registered
Jul 18, 2016
2
0
1
USA
cPanel Access Level
Root Administrator
Just happened again

Code:
The system’s command to check or to restart this service failed.

Number of Restart Attempts

1

Startup Log

No startup log

Memory Information

Used

2.16 GB

Available

9.46 GB

Installed

11.63 GB

Load Information

1.09 0.30 0.10

Uptime

1 minute and 40 seconds

IOStat Information

avg-cpu: %user %nice %system %iowait %steal %idle 6.50 0.00 4.63 2.42 0.36 86.09 Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn vda 468.71 25403.89 621.01 2534292 61952

Top Processes

PID

Owner

CPU %

Memory %

Command

17303

fashionh

29.81

2.09

/usr/local/apache/bin/httpd -k start -DSSL

17228

nobody

22.49

2.08

/usr/local/apache/bin/httpd -k start -DSSL

17305

fashionh

21.00

2.08

/usr/local/apache/bin/httpd -k start -DSSL

17183

nobody

20.47

1.30

/usr/local/apache/bin/httpd -k start -DSSL

17274

nobody

17.31

1.15
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
I have the same issue, crashes my server every day until I do a forceful reboot. 6 CPUs, 12 GB RAM, SSD hard drive. Yes - my php-fpm is enabled in the WHM >> Service Manager area.
Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
Hello @ChristinaSmith1,

I've not seen an update to this thread with reference to an opened support ticket. Were you able to open a support ticket so we can take a closer look?

Thank you.