Friday, October 16, 2015

Ubuntu 14.04 php5-fpm throws unknown instance on service restart

After upgrading my Ubuntu server from 12.04 to 14.04 this morning, I tried to restart php5-fpm and got this error:

Unknown job: php5-fpm

It is a Ubuntu's bug:

One workaround that works for me is:

Create /etc/init/php5-fpm.override file with the single line "reload signal USR2" in it.