PHP-FPM does't start after update

For some reason, after switching the repository to get PHP 5.4 and upgrading on my server, PHP-FPM does not start anymore. I am not sure if the default config name was customized or changed by OS, packaging or myself, but the solution was quite simple to see in /etc/php5/fpm.


There were two config files, one configured correctly and a new one (in my case: php-fpm.conf instead of main.conf). The config file can by easy tested by starting manually not via /etc/init.d/

/usr/sbin/php5-fpm --fpm-config /etc/php5/fpm/main.conf
[23-Dec-2012 18:28:51] ERROR: [pool x] cannot get gid for group 'x'
[23-Dec-2012 18:28:51] ERROR: FPM initialization failed

No comments:

Post a Comment