Backup failed


I'm having some issues with my virtualmin installation. After an update to PHP 5.3.3, and doing

$ sudo update $ sudo update

some repositories where installed, including some virtualmin features. As soon I restarted the VPS, i was no more able to start webmin at boot. After asking the VPS manager to start webmin for me, I was nt able to start mysql: i kept recieving the message:

root@ns1:~# mysql -u root -p=0220404 ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

I've tried to fix it, but it seems that the command service thinks is running but it isnt, so it wont let me start it. On this attempt to fix it, it seems i broke something, cause now mails are not being deliverd to virtualmin virtual servers account, they are being rejected.

That's why i've tried to migrate my virtualmin installation to another clean installation of UBUNTU 12.04, but when trying to do this, i get the following error:

Backup failed : DBI connect failed : Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

So, in other words, i'm trying to migrate my virtual servers because mysql is not working, and i'm not able to start it. But to made the backups, it ask me to have mysql in function. So, how should i proceed?



Howdy -- it sounds like you may need to login to your server, and review the running processes in order to determine if there's any sort of MySQL process running that's causing it to not launch another one.

Another possibility is that there's a stray pid file that it wasn't able to automatically clean up, which is preventing a new MySQL process from starting.

Unfortunately, this Support area here is for folks using Virtualmin Pro. If you're using Virtualmin GPL, you'd want to use the Forums for any additional questions. We monitor those, along with lots of wonderful folks in the community. Thanks!

Thanks! I've posted in the forums. Sorry for the mistake.


Hello there,

I can't seem to find a solution, and my clients are trying to kill me because the server is not working since saturday evening!

So, is there any way i can buy a week, or month of support from you guys, even thoug i'm using virtualmin gpl?


I had responded to your forum post, did you have a chance to try that?

If so, post a response in the forums and let us know what happens when you try the suggestion I mentioned.