Magento issue in ubuntu 14.04


#1

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.

THanks


#2

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]

But service is running fine when run manually.

THanks


#3

I have been meaning to respond to this… I have an open PR on that cookbook and a fork.

and the PR: https://github.com/yevgenko/cookbook-magento/pull/14

— cwebber

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]

But service is running fine when run manually.

THanks


#4

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.

and the PR: https://github.com/yevgenko/cookbook-magento/pull/14

— cwebber

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]

But service is running fine when run manually.

THanks


#5

Hi,
please refer a below mail,any idea ?
Thanks,indra

  From: Indra k <indra.k@cloudenablers.com>

To: Christopher Webber cwebber@chef.io; "chef@lists.opscode.com" chef@lists.opscode.com
Sent: Saturday, 13 December 2014 4:34 PM
Subject: Re: [chef] Re: magento issue in ubuntu 14.04

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.

and the PR: https://github.com/yevgenko/cookbook-magento/pull/14

— cwebber

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]

But service is running fine when run manually.

THanks