The backup process completed, but 2 errors occurred
I am getting email about The backup process completed, but 2 errors occurred. What the fix for this issue?
The system started a separate transport process for remote backup destinations. When the transport completes, the system will send an additional notification with the status of the transport if any errors were encountered.
The backup process encountered the following errors:
[2018-04-20 02:36:54 +0600] user_database: mysqldump: Got error: 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) when trying to connect
warn [pkgacct] user_database: mysqldump: Got error: 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) when trying to connect -
Hi @Nirjonadda Based on that output it seems as though MySQL was not responding when the MySQL dump portion of the backup took place or it was not running. Can you confirm if it is now running? 0 -
Hi @Nirjonadda Based on that output it seems as though MySQL was not responding when the MySQL dump portion of the backup took place or it was not running. Can you confirm if it is now running?
How to check its running or not?0 -
Hello, You can see this at WHM>>Server Status>>Service Status or via CLI you can run something like: /scripts/restartsrv_mysql --status0 -
Hello, You can see this at WHM>>Server Status>>Service Status or via CLI you can run something like:
/scripts/restartsrv_mysql --status
Yes, mysql 5.7 is up via WHM>>Server Status>>Service Status0 -
Hello, That's great, it does seem to have been down during the backup process and the only way to test is to run another backup. You can do this one of two ways: - via CLI initiate the backup process with the following: /usr/local/cpanel/bin/backup --force
- Wait for the automated backup process to initiate on its own In either case, I would monitor the system during the backup process to ensure that the server continues to function normally. Thank you,0
Please sign in to leave a comment.
Comments
5 comments