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?