cannot restart mysql service. we get the error:stop: Unknown instance: start: Job failed to start. any ideas how to solve this issue? thanks!

asked 2014-12-03 02:25:32 -0600

AlonFre gravatar image

when installing the OpenStack over ubunto server, (according the the installation guide:http://docs.openstack.org/juno/install-guide/install/apt/content/) after : apt-get install mariadb-server python-mysqldb, cannot restart mysql service. we get the error:stop: Unknown instance: start: Job failed to start. any ideas how to solve this issue? thanks!

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
1

answered 2014-12-03 09:48:59 -0600

AlonFre gravatar image

we found a temporary solution, we forced an ip addres of 127.0.0.1 in the etc/hosts file insted of the real addres.

can you tell why for 127.0.0.1 the o.s was able to bind port 3306, but when configuring the real ip address it didnt work?

thanks!

edit flag offensive delete link more
0

answered 2014-12-03 09:15:39 -0600

updated 2014-12-03 09:16:08 -0600

may be your network interface card id down eth0

so try,

sudo ifup eth0

edit flag offensive delete link more

Comments

root@ubuntuServer2:~# ifup eth0 ifup: interface eth0 already configured

AlonFre gravatar imageAlonFre ( 2014-12-10 03:05:54 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2014-12-03 02:25:32 -0600

Seen: 2,376 times

Last updated: Dec 03 '14