Mong các bạn giúp mình, khi mình nhập cấu hình Opcache xong thì gặp lỗi
"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."
Mình dùng lệnh systemctl status php-fpm.service xem tình trạng thì báo:
● php-fpm.service - The PHP FastCGI Process Manager
Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/php-fpm.service.d
└─limit.conf
Active: active (running) since Sat 2019-06-29 04:45:12 -07; 3min 31s ago
Main PID: 13916 (php-fpm)
Status: "Processes active: 0, idle: 0, Requests: 0, slow: 0, Traffic: 0req/sec"
CGroup: /system.slice/php-fpm.service
└─13916 php-fpm: master process (/etc/php-fpm.conf)
Jun 29 04:45:12 instance-2 systemd[1]: Starting The PHP FastCGI Process Manager...
Jun 29 04:45:12 instance-2 systemd[1]: Started The PHP FastCGI Process Manager.
Mình dùng lệnh "journalctl -xe" thì thấy có báo lỗi
-- Subject: Unit php-fpm.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit php-fpm.service has begun starting up.
Jun 29 04:45:09 instance-2 php-fpm[13893]: Sat Jun 29 04:45:09 2019 (13893): Fatal Error Insufficien
Jun 29 04:45:09 instance-2 systemd[1]: php-fpm.service: main process exited, code=exited, status=254
Jun 29 04:45:09 instance-2 systemd[1]: Failed to start The PHP FastCGI Process Manager.
-- Subject: Unit php-fpm.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit php-fpm.service has failed.
--
-- The result is failed.
Jun 29 04:45:09 instance-2 systemd[1]: Unit php-fpm.service entered failed state.
Jun 29 04:45:09 instance-2 systemd[1]: php-fpm.service failed.
Jun 29 04:45:09 instance-2 polkitd[1542]: Unregistered Authentication Agent for unix-process:13884:4
Jun 29 04:45:12 instance-2 polkitd[1542]: Registered Authentication Agent for unix-process:13910:486
Jun 29 04:45:12 instance-2 systemd[1]: Starting The PHP FastCGI Process Manager...
-- Subject: Unit php-fpm.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit php-fpm.service has begun starting up.
Jun 29 04:45:12 instance-2 systemd[1]: Started The PHP FastCGI Process Manager.
-- Subject: Unit php-fpm.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit php-fpm.service has finished starting up.
--
-- The start-up result is done.
Jun 29 04:45:12 instance-2 polkitd[1542]: Unregistered Authentication Agent for unix-process:13910:4
lines 1748-1781/1781 (END)
"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."
Mình dùng lệnh systemctl status php-fpm.service xem tình trạng thì báo:
● php-fpm.service - The PHP FastCGI Process Manager
Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/php-fpm.service.d
└─limit.conf
Active: active (running) since Sat 2019-06-29 04:45:12 -07; 3min 31s ago
Main PID: 13916 (php-fpm)
Status: "Processes active: 0, idle: 0, Requests: 0, slow: 0, Traffic: 0req/sec"
CGroup: /system.slice/php-fpm.service
└─13916 php-fpm: master process (/etc/php-fpm.conf)
Jun 29 04:45:12 instance-2 systemd[1]: Starting The PHP FastCGI Process Manager...
Jun 29 04:45:12 instance-2 systemd[1]: Started The PHP FastCGI Process Manager.
Mình dùng lệnh "journalctl -xe" thì thấy có báo lỗi
-- Subject: Unit php-fpm.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit php-fpm.service has begun starting up.
Jun 29 04:45:09 instance-2 php-fpm[13893]: Sat Jun 29 04:45:09 2019 (13893): Fatal Error Insufficien
Jun 29 04:45:09 instance-2 systemd[1]: php-fpm.service: main process exited, code=exited, status=254
Jun 29 04:45:09 instance-2 systemd[1]: Failed to start The PHP FastCGI Process Manager.
-- Subject: Unit php-fpm.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit php-fpm.service has failed.
--
-- The result is failed.
Jun 29 04:45:09 instance-2 systemd[1]: Unit php-fpm.service entered failed state.
Jun 29 04:45:09 instance-2 systemd[1]: php-fpm.service failed.
Jun 29 04:45:09 instance-2 polkitd[1542]: Unregistered Authentication Agent for unix-process:13884:4
Jun 29 04:45:12 instance-2 polkitd[1542]: Registered Authentication Agent for unix-process:13910:486
Jun 29 04:45:12 instance-2 systemd[1]: Starting The PHP FastCGI Process Manager...
-- Subject: Unit php-fpm.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit php-fpm.service has begun starting up.
Jun 29 04:45:12 instance-2 systemd[1]: Started The PHP FastCGI Process Manager.
-- Subject: Unit php-fpm.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit php-fpm.service has finished starting up.
--
-- The start-up result is done.
Jun 29 04:45:12 instance-2 polkitd[1542]: Unregistered Authentication Agent for unix-process:13910:4
lines 1748-1781/1781 (END)