Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-22-2012, 02:52 AM
|
#1
|
LQ Newbie
Registered: Jun 2012
Posts: 2
Rep:
|
PLEASE help: MySQL server problems through socket '/var/lib/mysql/mysql.sock' (2).
Hi all,
I am a novice hosting reseller and I woke this morning to find ALL the websites i'm hosting that require MySQL to run have suddenly gone down and showing variants of the below phrase:
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
What has happened here? All sites have been installed using auto-installer Softaculous and have been running perfectly for a few months until now, its almost as if someone has turned off MySQL over night. I obviously have some very angry customers at the moment, could somebody please advise me on (a preferably simple way) how to turn it back on? Will their data be lost?
I'm panicking a fair bit here. Any help would be greatly appreciated.
|
|
|
06-22-2012, 03:02 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
Hmm... should you really be reselling hosting space if you can't even google that error message, let alone fix it?? All that definitely means is that the mysql daemon is not listening. That probably means mysql is not running but why it's not running could be all manner of reasons. You sound like you just want someone to say "as root, run 'service mysql start'" which, seeing as you're atking other peoples money to know this simple stuff already... ouch...
|
|
|
06-22-2012, 03:04 AM
|
#3
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
Hi,
are you sure you did not change anything? There was a recent mysql security vulnerability and patch: CVE-2012-2122. Does softaculous automatically install such security updates?
Evo2.
|
|
|
06-22-2012, 03:53 AM
|
#4
|
LQ Newbie
Registered: Jun 2012
Posts: 2
Original Poster
Rep:
|
@ acid_kewpie - The answer is no I probably shouldnt be selling it, thing is I bought it as a package from ebay and was promised the earth but failed to deliver (as usual), and now I have a few customers and i'm not just going to leave them in limbo like others would. So theres no simple button to press and turn it back on? I'm out of my depth. :-/
@ Evo - i'll have a look at Softaculous homepage and see what they say as I definately haven't changed anything, everything was fine last night and a mess this morning.
|
|
|
06-22-2012, 06:42 AM
|
#5
|
Member
Registered: Apr 2011
Distribution: OpenSuse 12.3 , Slackware 13.1 ; Centos 6.2 ; Fedora 14
Posts: 90
Rep:
|
Did u try
service mysqld start ?
|
|
|
All times are GMT -5. The time now is 11:31 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|