yevgenko / cookbook-php-fpm

Installs/Configures php-fpm
http://community.opscode.com/cookbooks/php-fpm
Apache License 2.0
68 stars 117 forks source link

ubuntu 15.04 ships without upstart #79

Open girisreenivas opened 8 years ago

girisreenivas commented 8 years ago

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).

phillipsnick commented 8 years ago

Also get this on Debian 8