Quantcast
Channel: BitNami Answers - latest questions
Viewing all articles
Browse latest Browse all 2052

MySQL will not restart after update

$
0
0

I'm using a bitnami wordpress stack to host my site

AMI: bitnami-wordpress-3.2.1-4-linux-ubuntu-10.04-ebs (ami-8333ffea)

and wanted to update some packages and used the built-in command to stop mysql

sudo /opt/bitnami/ctlscript.sh stop mysql

There was an issue with an openjdk-6 package that kept causing the apt-get upgrade to stalling and eventually time-out.

I ended up using aptitude to manual remove the openjdk from the update (and any dependencies). apt-get then worked successfully.

Now I'd like to restart MySQL and get my site running again.

bitnami@_______:~$ sudo /opt/bitnami/ctlscript.sh start mysql
120126 17:48:20 mysqld_safe Logging to '/opt/bitnami/mysql/data/mysqld.log'.
120126 17:48:21 mysqld_safe Starting mysqld.bin daemon with databases from /opt/bitnami/mysql/data
120126 17:48:26 mysqld_safe mysqld from pid file /opt/bitnami/mysql/data/ip-10-122-205-196.pid ended
/opt/bitnami/mysql/scripts/ctl.sh : mysql  could not be started
bitnami@_______:~$ sudo /opt/bitnami/ctlscript.sh status
apache already running
mysql not running

I've checked for other mysql processes running

bitnami@_______:~$ ps aux | grep mysql
mysql      528  0.0  2.8 145672 18160 ?        Ssl  Jan25   0:20 /usr/sbin/mysqld
bitnami   4089  0.0  0.1   3348   800 pts/0    S+   18:41   0:00 grep mysql

Tried killing them (well, the first one at least) and still had no luck restarting mysql.

Any advice?


Viewing all articles
Browse latest Browse all 2052

Trending Articles