LINUX.ORG.RU
ФорумAdmin

Zabbix failed to read the ACL of the socket ?

 ,


0

1

Добрый день! Ставлю Zabbix на сервер по оффициальной установке

https://www.zabbix.com/ru/download?zabbix=5.0&os_distribution=centos&os_version=7&db=mysql&ws=apache

На шаге

systemctl restart zabbix-server zabbix-agent rh-nginx116-nginx rh-php72-php-fpm

Получаю ошибку

systemctl status rh-php72-php-fpm.service

  • rh-php72-php-fpm.service - The PHP FastCGI Process Manager Loaded: loaded (/usr/lib/systemd/system/rh-php72-php-fpm.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since Tue 2020-09-08 15:23:31 UTC; 3s ago Process: 21644 ExecStart=/opt/rh/rh-php72/root/usr/sbin/php-fpm –nodaemonize (code=exited, status=78) Main PID: 21644 (code=exited, status=78)

Sep 08 15:23:30 host systemd[1]: Starting The PHP FastCGI Process Manager… Sep 08 15:23:31 host php-fpm[21644]: [08-Sep-2020 15:23:31] ERROR: [pool zabbix] failed to read the ACL of the socket ’/var/opt/rh/rh-php72/run/php-f…orted (95) Sep 08 15:23:31 host php-fpm[21644]: [08-Sep-2020 15:23:31] ERROR: FPM initialization failed Sep 08 15:23:31 host systemd[1]: rh-php72-php-fpm.service: main process exited, code=exited, status=78/n/a Sep 08 15:23:31 host systemd[1]: Failed to start The PHP FastCGI Process Manager. Sep 08 15:23:31 host systemd[1]: Unit rh-php72-php-fpm.service entered failed state. Sep 08 15:23:31 host systemd[1]: rh-php72-php-fpm.service failed. Hint: Some lines were ellipsized, use -l to show in full.

SELinux выключен

Ответ на: комментарий от router

journalctl -xa –unit rh-php72-php-fpm.service – Logs begin at Tue 2020-09-08 21:07:16 UTC, end at Tue 2020-09-08 21:40:59 UTC. – Sep 08 21:40:58 host systemd[1]: Starting The PHP FastCGI Process Manager… – Subject: Unit rh-php72-php-fpm.service has begun start-up – Defined-By: systemd – Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

– Unit rh-php72-php-fpm.service has begun starting up. Sep 08 21:40:59 host php-fpm[1717]: [08-Sep-2020 21:40:59] ERROR: [pool zabbix] failed to read the ACL of the socket ’/var/opt/rh/rh-php72/run/php-fpm/zabbix.sock Sep 08 21:40:59 host php-fpm[1717]: [08-Sep-2020 21:40:59] ERROR: FPM initialization failed Sep 08 21:40:59 host systemd[1]: rh-php72-php-fpm.service: main process exited, code=exited, status=78/n/a Sep 08 21:40:59 host systemd[1]: Failed to start The PHP FastCGI Process Manager. – Subject: Unit rh-php72-php-fpm.service has failed – Defined-By: systemd – Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

– Unit rh-php72-php-fpm.service has failed.

– The result is failed. Sep 08 21:40:59 host systemd[1]: Unit rh-php72-php-fpm.service entered failed state. Sep 08 21:40:59 host systemd[1]: rh-php72-php-fpm.service failed.

skynetyar ()
Ответ на: комментарий от router

и посмотри владельца/права на сокет и каталоги. Владельцем сокета должен быть пользователь, под которым запускается fpm. Для проверки запусти от этого пользователя ( sudo -u $FPM_USER /bin/bash )

file /var/opt/rh/rh-php72/run/php-fpm/zabbix.sock
touch /var/opt/rh/rh-php72/run/php-fpm/zabbix.sock
router ★★★★★ ()
Последнее исправление: router (всего исправлений: 3)