php-fpm 70m,在线等: PHP -fpm 无法启动(Failed to start The PHP FastCGI Process Manager.)

执行:sudo systemctl start php-fpm 后

Job for php-fpm.service failed because the control process exited with error code. See "systemctl status php-fpm.service" and "journalctl -xe" for details.

按照提示输入 systemctl status php-fpm.service

错误代码:

systemctl status php-fpm.service

● php-fpm.service - The PHP FastCGI Process Manager

Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; enabled; vendor preset: disabled)

Active: failed (Result: exit-code) since Fri 2018-06-08 17:57:03 UTC; 8s ago

Process: 1978 ExecStart=/usr/sbin/php-fpm --nodaemonize --fpm-config /etc/php-fpm.conf (code=exited, status=78)

Main PID: 1978 (code=exited, status=78)

Jun 08 17:57:03 servername systemd[1]: Starting The PHP FastCGI Process Manager...

Jun 08 17:57:03 servername php-fpm[1978]: [08-Jun-2018 17:57:03] ERROR: [pool www] cannot get...nx'

Jun 08 17:57:03 servername php-fpm[1978]: [08-Jun-2018 17:57:03] ERROR: FPM initialization failed

Jun 08 17:57:03 servername systemd[1]: php-fpm.service: main process exited, code=exited, sta...n/a

Jun 08 17:57:03 servername systemd[1]: Failed to start The PHP FastCGI Process Manager.

Jun 08 17:57:03 servername systemd[1]: Unit php-fpm.service entered failed state.

Jun 08 17:57:03 servername systemd[1]: php-fpm.service failed.

Hint: Some lines were ellipsized, use -l to show in full.

怎么办?请教同学们.

环境:openresty php7 mysql centos7

yum install php71w-fpm

Package php71w-fpm-7.1.17-1.w7.x86_64 already installed and latest version

Nothing to do

error.log 的错误提示:

2018/06/08 18:14:23 [error] 825#825: *47 connect() failed (111: Connection refused) while connecting to upstream

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值