Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to follow the Juju tutorial do deploy MySQL and Wordpress, but I found a problem in MySQL deploy process.

The error appears right after mysql-server installation, when the service is started:

2013

-04-07 08:13:28,962 unit:mysql/0: hook.output INFO: Setting up mysql-server (5.5.29-0ubuntu0.12.04.2) ...

2013-04-07 08:13:30,299 unit:mysql/0: unit.hook.api INFO: dataset size in bytes: 402653184
2013-04-07 08:13:30,666 unit:mysql/0: hook.output INFO: mysql stop/waiting

2013-04-07 08:13:32,855 unit:mysql/0: hook.output ERROR: start: Job failed to start

2013-04-07 08:13:32,947 unit:mysql/0: hook.output ERROR: Traceback (most recent call last):

2013-04-07 08:13:32,949 unit:mysql/0: hook.output ERROR:   File "/var/lib/juju/units/mysql-0/charm/hooks/config-changed", line 351, in <module>

2013-04-07 08:13:32,958 unit:mysql/0: hook.output ERROR:
2013-04-07 08:13:32,959 unit:mysql/0: hook.output ERROR: check_call(['service','mysql','start'])

2013-04-07 08:13:32,959 unit:mysql/0: hook.output ERROR:   File "/usr/lib/python2.7/subprocess.py", line 511, in check_call

2013-04-07 08:13:32,960 unit:mysql/0: hook.output ERROR:
2013-04-07 08:13:32,960 unit:mysql/0: hook.output ERROR: raise CalledProcessError(retcode, cmd)

2013-04-07 08:13:32,961 unit:mysql/0: hook.output ERROR: subprocess
2013-04-07 08:13:32,961 unit:mysql/0: hook.output ERROR: .
2013-04-07 08:13:32,962 unit:mysql/0: hook.output ERROR: CalledProcessError: Command '['service', 'mysql', 'start']' returned non-zero exit status 1

2013-04-07 08:13:32,985 unit:mysql/0: hook.output DEBUG: hook config-changed exited, exit code Traceback (most recent call last):
Failure: juju.errors.CharmInvocationError: Error processing '/var/lib/juju/units/mysql-0/charm/hooks/config-changed': exit code 1.
.
2013-04-07 08:13:32,985 unit:mysql/0: hook.executor DEBUG: Hook error: /var/lib/juju/units/mysql-0/charm/hooks/config-changed Error processing '/var/lib/juju/units/mysql-0/charm/hooks/config-changed': exit code 1.
2013-04-07 08:13:32,989 unit:mysql/0: statemachine DEBUG: unitworkflowstate:  executing error transition error_start, Error processing '/var/lib/juju/units/mysql-0/charm/hooks/config-changed': exit code 1.
2013-04-07 08:13:33,016 unit:mysql/0: statemachine DEBUG: unitworkflowstate: transition error_start (installed -> start_error) {}
2013-04-07 08:13:33,027 unit:mysql/0: statemachine DEBUG: unitworkflowstate: transition complete error_start (state start_error) {}
2013-04-07 08:13:33,035 unit:mysql/0: juju.agents.unit DEBUG: Configuration Changed
2013-04-07 08:13:33,036 unit:mysql/0: juju.agents.unit DEBUG: Configuration updated on service in a non-started state
2013-04-07 08:13:33,042 unit:mysql/0: juju.agents.unit INFO: No upgrade flag set.

I'm running Ubuntu Server 12.10 64 bits (a Digital Ocean VPS). Juju 0.6 with LXC.

uname -a
Linux douglascamata 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

I can't start the mysql service even when I ssh into the unit and execute the command manually.

share|improve this question
    
That is a very old version of Juju, and no longer supported. Have you tried looking at the manual bootstrap and manual provisioning workflow with the latest juju (1.16.3) ? –  thumper Dec 2 '13 at 0:54
add comment

closed as off-topic by RolandiXor Dec 14 '13 at 4:57

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This describes a problem that can't be reproduced that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers." – RolandiXor
If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.