Ad Widget

Collapse

Not able to restart Zabbix server & Agent.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • atanub
    Junior Member
    • Sep 2021
    • 1

    #1

    Not able to restart Zabbix server & Agent.

    Dear All,

    I am new in this forum. Please help me, I am getting error when trying to restart the Zabbix server. Here is the error code:

    # systemctl restart zabbix-server zabbix-agent httpd rh-php72- php-fpm
    Job for rh-php72-php-fpm.service failed because the control process exited with error code. See "systemctl status rh-php72-php-fpm.service" and "journalctl -xe" for details.


    # 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; enabled; vendor preset: disabled)
    Active: failed (Result: exit-code) since Sun 2021-09-12 21:12:56 EDT; 37s ago
    Process: 17965 ExecStart=/opt/rh/rh-php72/root/usr/sbin/php-fpm --nodaemonize (code=exited, status=78)
    Main PID: 17965 (code=exited, status=78)

    Sep 12 21:12:56 localhost.localdomain systemd[1]: Starting The PHP FastCGI Process Manager...
    Sep 12 21:12:56 localhost.localdomain php-fpm[17965]: [12-Sep-2021 21:12:56] ERROR: [/etc/opt/rh/rh-php72/php-fpm.d/Zabbix.conf:1] Array are not allowed in ...l section
    Sep 12 21:12:56 localhost.localdomain php-fpm[17965]: [12-Sep-2021 21:12:56] ERROR: Unable to include /etc/opt/rh/rh-php72/php-fpm.d/Zabbix.conf from /etc/o...at line 1
    Sep 12 21:12:56 localhost.localdomain php-fpm[17965]: [12-Sep-2021 21:12:56] ERROR: failed to load configuration file '/etc/opt/rh/rh-php72/php-fpm.conf'
    Sep 12 21:12:56 localhost.localdomain php-fpm[17965]: [12-Sep-2021 21:12:56] ERROR: FPM initialization failed
    Sep 12 21:12:56 localhost.localdomain systemd[1]: rh-php72-php-fpm.service: main process exited, code=exited, status=78/n/a
    Sep 12 21:12:56 localhost.localdomain systemd[1]: Failed to start The PHP FastCGI Process Manager.
    Sep 12 21:12:56 localhost.localdomain systemd[1]: Unit rh-php72-php-fpm.service entered failed state.
    Sep 12 21:12:56 localhost.localdomain systemd[1]: rh-php72-php-fpm.service failed.
    Hint: Some lines were ellipsized, use -l to show in full.


    Thanks & Regards,
    Atanu
Working...