deepin 编译安装nginx +php 5.6 加入系统服务无法启动
Tofloor
poster avatar
shtanwei
deepin
2016-09-11 20:49
Author
cp ./sapi/fpm/init.d.php-fpm /etc/init.d/php-fpm

运行 service php-fpm start 提示
Failed to start php-fpm.service: Unit php-fpm.service not found.

cp /usr/namp/nginx/sbin/nginx /etc/init.d/nginx
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.

● nginx.service
   Loaded: loaded (/etc/init.d/nginx; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since 日 2016-09-11 12:48:34 CST; 2
     Docs: man:systemd-sysv-generator(8)
  Process: 29249 ExecStart=/etc/init.d/nginx start (code=exited, status=

9月 11 12:48:34 iwei systemd[1]: Starting nginx.service...
9月 11 12:48:34 iwei nginx[29249]: nginx: invalid option: "start"
9月 11 12:48:34 iwei systemd[1]: nginx.service: Control process exited, c
9月 11 12:48:34 iwei systemd[1]: Failed to start nginx.service.
9月 11 12:48:34 iwei systemd[1]: nginx.service: Unit entered failed state
9月 11 12:48:34 iwei systemd[1]: nginx.service: Failed with result 'exit-


Reply Favorite View the author
All Replies
avatar
heshu
deepin
2016-09-11 22:46
#1
换systemd了吧~
Reply View the author
avatar
shtanwei
deepin
2016-09-12 01:13
#2
systemctl 这个?这个我也试过 不知道问题出在哪。直接启动是可以
Reply View the author
avatar
yutent
deepin
2016-09-12 01:51
#3
It has been deleted!