Hi,
while installing magento cookbook in ubuntu 14.04 , it sows like this:
[Error while installing magento: Mixlib::ShellOut::ShellCommandFailed: service[php-fpm] (php-fpm::default line 114) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received ‘1’ ---- Begin output of /etc/init.d/php5-fpm restart ---- STDOUT: STDERR: ---- End output of /etc/init.d/php5-fpm restart ---- Ran /etc/init.d/php5-fpm restart returned 1]
But service is running fine when run manually.
That looks like the Upstart vs. SysV issue in recent Ubuntu. You'll
probably need to either use Chef 12 or set the provider to Upstart on
that service.
On Fri Dec 12 04:23:18 2014, Indra k wrote:
Hi,
while installing magento cookbook in ubuntu 14.04 , it sows like this:
[Error while installing magento: Mixlib::ShellOut::ShellCommandFailed:
service[php-fpm] (php-fpm::default line 114) had an error:
Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with
[0], but received '1' ---- Begin output of /etc/init.d/php5-fpm
restart ---- STDOUT: STDERR: ---- End output of /etc/init.d/php5-fpm
restart ---- Ran /etc/init.d/php5-fpm restart returned 1]
On Dec 12, 2014, at 10:15 AM, Lamont Granquist lamont@chef.io wrote:
That looks like the Upstart vs. SysV issue in recent Ubuntu. You'll probably need to either use Chef 12 or set the provider to Upstart on that service.
On Fri Dec 12 04:23:18 2014, Indra k wrote:
Hi,
while installing magento cookbook in ubuntu 14.04 , it sows like this:
[Error while installing magento: Mixlib::ShellOut::ShellCommandFailed:
service[php-fpm] (php-fpm::default line 114) had an error:
Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with
[0], but received '1' ---- Begin output of /etc/init.d/php5-fpm
restart ---- STDOUT: STDERR: ---- End output of /etc/init.d/php5-fpm
restart ---- Ran /etc/init.d/php5-fpm restart returned 1]
Hi all,
I have try this,when installing again working fine.I ve also comment libmysql-ruby package resource,since its not needed for ubuntu14.04,when i do apt-get install libmysql-ruby also it shows unrecognised package.
So for that error i mentioned "php error service":whether any steps to recovery for that issue mentioned by lamont.in cookbook.
Thanks,Indra
From: Christopher Webber cwebber@chef.io
To: chef@lists.opscode.com
Cc: Indra k indra.k@cloudenablers.com
Sent: Friday, 12 December 2014 11:52 PM
Subject: Re: [chef] Re: magento issue in ubuntu 14.04
I have been meaning to respond to this… I have an open PR on that cookbook and a fork.
On Dec 12, 2014, at 10:15 AM, Lamont Granquist lamont@chef.io wrote:
That looks like the Upstart vs. SysV issue in recent Ubuntu. You'll probably need to either use Chef 12 or set the provider to Upstart on that service.
On Fri Dec 12 04:23:18 2014, Indra k wrote:
Hi,
while installing magento cookbook in ubuntu 14.04 , it sows like this:
[Error while installing magento: Mixlib::ShellOut::ShellCommandFailed:
service[php-fpm] (php-fpm::default line 114) had an error:
Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with
[0], but received '1' ---- Begin output of /etc/init.d/php5-fpm
restart ---- STDOUT: STDERR: ---- End output of /etc/init.d/php5-fpm
restart ---- Ran /etc/init.d/php5-fpm restart returned 1]
Hi all,
I have try this,when installing again working fine.I ve also comment libmysql-ruby package resource,since its not needed for ubuntu14.04,when i do apt-get install libmysql-ruby also it shows unrecognised package.
So for that error i mentioned "php error service":whether any steps to recovery for that issue mentioned by lamont.in cookbook.
Thanks,Indra
On Dec 12, 2014, at 10:15 AM, Lamont Granquist lamont@chef.io wrote:
That looks like the Upstart vs. SysV issue in recent Ubuntu. You'll probably need to either use Chef 12 or set the provider to Upstart on that service.
On Fri Dec 12 04:23:18 2014, Indra k wrote:
Hi,
while installing magento cookbook in ubuntu 14.04 , it sows like this:
[Error while installing magento: Mixlib::ShellOut::ShellCommandFailed:
service[php-fpm] (php-fpm::default line 114) had an error:
Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with
[0], but received '1' ---- Begin output of /etc/init.d/php5-fpm
restart ---- STDOUT: STDERR: ---- End output of /etc/init.d/php5-fpm
restart ---- Ran /etc/init.d/php5-fpm restart returned 1]