• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

FailedtostartLSB:startsphp-fpm

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

 

跟nginx一样都是进程占用,记录下

[root@localhost pazzn]# systemctl status php-fpm.service
● php-fpm-72.service - LSB: starts php-fpm
   Loaded: loaded (/etc/rc.d/init.d/php-fpm-72; bad; vendor preset: disabled)
   Active: inactive (dead)
     Docs: man:systemd-sysv-generator(8)
Warning: php-fpm-72.service changed on disk. Run 'systemctl daemon-reload' to reload units.
[root@localhost pazzn]# systemctl start php-fpm.service
Warning: php-fpm.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Job for php-fpm-72.service failed because the control process exited with error code. See "systemctl status php-fpm-72.service" and "journalctl -xe" for details.
[root@localhost pazzn]# systemctl daemon-reload
[root@localhost pazzn]# systemctl start php-fpm.service
Job for php-fpm-56.service failed because the control process exited with error code. See "systemctl status php-fpm-56.service" and "journalctl -xe" for details.
[root@localhost pazzn]# systemctl start php-fpm-56.service
Job for php-fpm-56.service failed because the control process exited with error code. See "systemctl status php-fpm-56.service" and "journalctl -xe" for details.
[root@localhost pazzn]# systemctl status php-fpm-56.service
● php-fpm-56.service - LSB: starts php-fpm
   Loaded: loaded (/etc/rc.d/init.d/php-fpm-56; bad; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2019-07-22 16:52:47 CST; 7s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 29005 ExecStart=/etc/rc.d/init.d/php-fpm-56 start (code=exited, status=1/FAILURE)

Jul 22 16:52:47 localhost.localdomain systemd[1]: Starting LSB: starts php-fpm...
Jul 22 16:52:47 localhost.localdomain php-fpm-56[29005]: Starting php-fpm [22-Jul-2019 16:52:47] ERROR: An another FPM instance se...6.sock
Jul 22 16:52:47 localhost.localdomain php-fpm-56[29005]: [22-Jul-2019 16:52:47] ERROR: FPM initialization failed
Jul 22 16:52:47 localhost.localdomain php-fpm-56[29005]: failed
Jul 22 16:52:47 localhost.localdomain systemd[1]: php-fpm-56.service: control process exited, code=exited status=1
Jul 22 16:52:47 localhost.localdomain systemd[1]: Failed to start LSB: starts php-fpm.
Jul 22 16:52:47 localhost.localdomain systemd[1]: Unit php-fpm-56.service entered failed state.
Jul 22 16:52:47 localhost.localdomain systemd[1]: php-fpm-56.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[root@localhost pazzn]# ps -e | grep php-fpm
28745 ?        00:00:00 php-fpm
28746 ?        00:00:00 php-fpm
28747 ?        00:00:00 php-fpm
28748 ?        00:00:00 php-fpm
28749 ?        00:00:00 php-fpm
28750 ?        00:00:00 php-fpm
[root@localhost pazzn]# kill -9 28745
[root@localhost pazzn]# kill -9 28746
[root@localhost pazzn]# kill -9 28747
[root@localhost pazzn]# kill -9 28748
[root@localhost pazzn]# kill -9 28749
[root@localhost pazzn]# kill -9 28750
[root@localhost pazzn]# ps -e | grep php-fpm
[root@localhost pazzn]# systemctl start php-fpm-56.service
[root@localhost pazzn]# systemctl status php-fpm-56.service
● php-fpm-56.service - LSB: starts php-fpm
   Loaded: loaded (/etc/rc.d/init.d/php-fpm-56; bad; vendor preset: disabled)
   Active: active (running) since Mon 2019-07-22 16:53:44 CST; 9s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 29024 ExecStart=/etc/rc.d/init.d/php-fpm-56 start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/php-fpm-56.service
           ├─29026 php-fpm: master process (/www/server/php/56/etc/php-fpm.conf)
           ├─29027 php-fpm: pool www
           ├─29028 php-fpm: pool www
           ├─29029 php-fpm: pool www
           ├─29030 php-fpm: pool www
           └─29031 php-fpm: pool www

Jul 22 16:53:44 localhost.localdomain systemd[1]: Starting LSB: starts php-fpm...
Jul 22 16:53:44 localhost.localdomain php-fpm-56[29024]: Starting php-fpm  done
Jul 22 16:53:44 localhost.localdomain systemd[1]: Started LSB: starts php-fpm.
[root@localhost pazzn]# 

 


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
安装php扩展ffmpeg-php发布时间:2022-07-10
下一篇:
PHPWindows系统下调用OpenOffice发布时间:2022-07-10
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap