Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd November 2010, 14:22
Jawshh Jawshh is offline
Junior Member
 
Join Date: Jul 2010
Posts: 25
Thanks: 2
Thanked 1 Time in 1 Post
Default Ubuntu MYSQL Not Starting at Boot!

Hello,

I recently bought an OpenVZ VPS and installed Ubuntu 10.04 on it. The OS template is from the official templates on OpenVZ.org. I installed and configured NginX, MYSQL and php 5.3 and got everything working fine. I even tested some CMSes and everything worked fine.

I decided to reboot the VPS today and when I try to access a wordpress based site, I get Error Establishing Database connection. I check on my MYSQL service and I realised that it wasn't running. I logged in as root and typed:

/etc/init.d/mysql start

and

ps aux

Mysql was running fine but it isn't starting up on boot. I even set it to start on all 4 levels but nothing changed.

Any ideas?

Thanks,
Josh
Reply With Quote
Sponsored Links
  #2  
Old 3rd November 2010, 16:47
koressak koressak is offline
Junior Member
 
Join Date: Aug 2010
Location: Prague, Czech Republic
Posts: 13
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

You should try to check the logs if there is any hint.
I suggest syslog and mysql logs.

Do you have symlinks in rcX.d/ to the mysql binary?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig3 Mail Warn Errors reason8 General 3 25th November 2009 14:58
Problem with installation of ISPConfig 3 on Ubuntu 8.10 VMartins Installation/Configuration 1 19th November 2009 20:07
Add ons for ISPConfig 3 virtue Installation/Configuration 24 16th October 2009 18:30
Unbale to login to Postfix from webmail wasimriz HOWTO-Related Questions 5 6th April 2009 14:49
Saving data on other disk with “Virtual Hosting With PureFTPd And MySQL Ubuntu 7.10" yoyoman HOWTO-Related Questions 1 19th February 2008 07:45


All times are GMT +2. The time now is 04:14.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.