cookbook-php-fpm icon indicating copy to clipboard operation
cookbook-php-fpm copied to clipboard

ubuntu 15.04 ships without upstart

Open girisreenivas opened this issue 9 years ago • 1 comments

The install recipe attempts to utilize upstart for versions of Ubuntu at 13.10 and beyond (see lines 44-46). I discovered that 15.04 does not ship with upstart enabled and instead uses systemd. I imagine this affects 15.10 as well but have not tested to confirm that. As a result, the following error manifests:

==> default: * service[php-fpm] action enable ==> default: ==> default: ==> default: ================================================================================ ==> default: Error executing action enable on resource 'service[php-fpm]' ==> default: ================================================================================ ==> default: ==> default: Errno::ENOENT ==> default: ------------- ==> default: No such file or directory - /sbin/status

I have resolved this in my environment by commenting out lines 44-46 but a proper fix would limit the range of utilizing upstart to versions of ubuntu where it ships as default (13.10 to 14.10 I believe).

girisreenivas avatar Jan 05 '16 22:01 girisreenivas

Also get this on Debian 8

phillipsnick avatar Jan 06 '16 10:01 phillipsnick