Ad Widget

Collapse

Zabbix has taken over php8.3-fpm

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tyler_h
    Junior Member
    • Apr 2024
    • 2

    #1

    Zabbix has taken over php8.3-fpm

    Hello friends.
    I recently installed zabbix to try it out. Everything was fine and good with the install until I restarted the machine. Upon rebooting the server, I have lost most functionality of my websites being hosted behind nginx.

    The service php8.3-fpm will no longer start as zabbix has taken over the sock....

    root@mainserver:/# service php8.3-fpm start
    Job for php8.3-fpm.service failed because the control process exited with error code.
    See "systemctl status php8.3-fpm.service" and "journalctl -xeu php8.3-fpm.service" for details.

    & investigating that error gave me the info...

    Apr 03 08:14:59 mainserver php-fpm8.3[140857]: [03-Apr-2024 08:14:59] ERROR: Another FPM instance seems to already listen on /var/run/php/zabbix.sock
    Apr 03 08:14:59 mainserver php-fpm8.3[140857]: [03-Apr-2024 08:14:59] ERROR: FPM initialization failed
    Apr 03 08:14:59 mainserver systemd[1]: php8.3-fpm.service: Main process exited, code=exited, status=78/CONFIG

    ​I don't know how or why this is happening but need to resolve it asap.
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    Perhaps uninstall the zabbix web front end?

    Or modify your PHP-FPM pool configuration so that your main pool of php-fpm workers runs as nginx or whatever your web user is and uses its own socket, and the zabbix pool of PHP-FPM workers run as the 'zabbix' user and use a different socket path.

    Either way, the problem is that the PHP-FPM worker pool for zabbix is conflicting with your existing pool. You don't say anything about what distro or version you're using, so I can't provide a hint where your php-fpm.d directory is, but the error message you show is definitely a PHP-FPM pool conflict.

    Comment

    • tyler_h
      Junior Member
      • Apr 2024
      • 2

      #3
      Thank you. I removed the software. I was running it on ubuntu 22.04

      Comment

      Working...