[chef] Re: Re: mysql recipe error on ubuntu 12.04


Chronological Thread 
  • From: Boyd Hemphill < >
  • To:
  • Subject: [chef] Re: Re: mysql recipe error on ubuntu 12.04
  • Date: Sun, 11 Nov 2012 06:57:22 -0600

Small error of fact from Paul.  It should be 'restart mysql' on ubuntu because of upstart.

Random Stabs
12.04 uses mysql 5.5 so that might be worth looking at as a cause.

The mysql error lodging is usually pretty helpful.  It will either be in /var/log or where /etc/mysql/ my.cnf says it will be

On Nov 10, 2012 11:38 PM, "Paul Graydon" < "> > wrote:
On 11/10/2012 07:15 PM, S Ahmed wrote:
service[mysql] (mysql::server line 71) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
This is telling you that the service resource was run but the exit status of the command it ran was 1 instead of 0, which usually indicates an error of some description.
Unfortunately it's impossible to tell what that error is from what chef has provided.
You'll need to run:
# service mysql restart
yourself and see what it returns on the command line.

Paul



Archive powered by MHonArc 2.6.16.

§