ronnyhartenstein / vagrant-mysql-shared-folder

Vagrant box with Ubuntu 14.04 LTS and MySQL 5.6, where the database data stays on the host and is mounted as VirtualBox shared folder as user mysql.
11 stars 3 forks source link

The previous process exited with exit code 1 #3

Open itsazzad opened 8 years ago

itsazzad commented 8 years ago

How can I fix the issue?

==> default: Warning: Could not retrieve fact fqdn
==> default: Warning: Host is missing hostname and/or domain: vagrant-ubuntu-trusty-64
==> default: Notice: Compiled catalog for vagrant-ubuntu-trusty-64 in environment production in 0.88 seconds
==> default: Info: Applying configuration version '1450528922'
==> default: Notice: /Stage[first]/Bootstrap/Exec[apt-get update]/returns: executed successfully
==> default: Error: Could not start Service[mysql]: Execution of '/sbin/start mysql' returned 1: 
==> default: Error: /Stage[main]/Mysql/Service[mysql]/ensure: change from stopped to running failed: Could not start Service[mysql]: Execution of '/sbin/start mysql' returned 1: 
==> default: Notice: Finished catalog run in 83.27 seconds
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
==> default: The previous process exited with exit code 1.
ronnyhartenstein commented 8 years ago

Hm, could you hook into the running VM and check the log? This should be in /var/lib/mysql/data/*.err or something.