Unable to migrate Plesk data from FreeBSD: Failed to upload the migration agent

Refers to:

  • Plesk for Linux

Created:

2016-11-16 13:04:56 UTC

Modified:

2016-12-21 19:54:57 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to migrate Plesk data from FreeBSD: Failed to upload the migration agent

Resolution

Unable to migrate Plesk data from FreeBSD:

Failed to upload the migration agent
Cannot transfer agent to the remote host
Lost connection with the remote host

migration.log shows:

[22:25:03 19.08.2005 | pid 13131]:5; readResponse|handle 1|(14) data[Error: unable to connect to database: Can't connect to local MySQL server through socket$

  1. Make sure that Mysql is running on the source server and you are able to login into it with:

    MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -u admin psa
  2. Try to increase max\_connections variable in /etc/my.cnf.

  3. Make sure that the /tmp/mysql.sock __file exists. If not, create the link:

    ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock
Have more questions? Submit a request
Please sign in to leave a comment.