You are not logged in.
Pages: 1
I try to run pp74-fpm via root, but when I modify the group and user of www.conf.
[root@archlinux ~]# cd /etc/php74/php-fpm.d
[root@archlinux php-fpm.d]# ls
www.conf
[root@archlinux php-fpm.d]# vim www.conf
[root@archlinux php-fpm.d]# systemctl restart php74-fpm
Job for php74-fpm.service failed because the control process exited with error code.
See "systemctl status php74-fpm.service" and "journalctl -xeu php74-fpm.service" for details.It shows
Jul 28 13:36:14 archlinux systemd[1]: php74-fpm.service: Main process exited, code=exited, status=78/CON>
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ An ExecStart= process belonging to unit php74-fpm.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 78.
Jul 28 13:36:14 archlinux systemd[1]: php74-fpm.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit php74-fpm.service has entered the 'failed' state with result 'exit-code'.
Jul 28 13:36:14 archlinux systemd[1]: Failed to start The PHP FastCGI Process Manager.
░░ Subject: A start job for unit php74-fpm.service has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit php74-fpm.service has finished with a failure.
░░
░░ The job identifier is 22851 and the job result is failed.Then I change root and group to default, http, it also shows error
Jul 28 13:39:30 archlinux systemd[1]: php74-fpm.service: Main process exited, code=exited, status=78/CON>
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ An ExecStart= process belonging to unit php74-fpm.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 78.
Jul 28 13:39:30 archlinux systemd[1]: php74-fpm.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit php74-fpm.service has entered the 'failed' state with result 'exit-code'.
Jul 28 13:39:30 archlinux systemd[1]: Failed to start The PHP FastCGI Process Manager.
░░ Subject: A start job for unit php74-fpm.service has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit php74-fpm.service has finished with a failure.
░░
░░ The job identifier is 22913 and the job result is failed.so, what's wrong with it?
Last edited by malacology (2022-01-02 21:20:51)
Don't speak to silly man. Keep Minimalism.
Offline
change systemd script
add -R to allow root to run it
Don't speak to silly man. Keep Minimalism.
Offline
Pages: 1