PDA

View Full Version : problems after upgrade



mafcin
08-01-2010, 09:41 AM
i have a lot of problems after upgrading my DA from 1.35.1 to 1.36...

firstly there was an error during connect to database in MySQL Management:
Error connecting to MySQL: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)so i created a symbolic link to the correct socket file and for now it's ok
secondly, when i tried to create full user backups, there was an error:
Unable to find /usr/local/mysql/bin/mysqldump to create mysql backupand now i dont know what to do - of course i can fix it, but there is a question - is this will be the last problem? or maybe there is an easier way to fix it? as i wrote - on the older versions of DirectAdmin everything was great and worked without any problems

DirectAdmin Support
08-01-2010, 11:41 PM
Hello,

Which OS are you using?
http://help.directadmin.com/item.php?id=318

If your correct mysql.sock path is somewhere in /var/lib/mysql.. you may have Debian binaries when you should have CentOS binaries.

The above guide should step you though which OS you're using (very specifically) and which OS the DA binaries are, so we can go from there.

If you need binaries for your OS, just email us your license ID and the OS you need, and we can walk you through the swapping process.

John

mafcin
08-02-2010, 01:16 PM
thanks for fast reply
as we can see below, I have Debian binaries and my OS is Centos..., so I'm going to write an email

# cat /etc/redhat-release
CentOS release 5.5 (Final)
# cat /etc/debian_version
cat: /etc/debian_version: No such file or directory
# uname
Linux
# uname -r
2.6.31.5-grsec-xxxx-grs-ipv4-64
# uname -m
x86_64
# /usr/local/directadmin/directadmin o
Compiled on 'Debian 4.0'
Compile time: Jul 5 2010 at 14:32:42