Hello,
I am using the Plesk Backup PHP script to run a daily full server backup of my server, called via cron. However, for the last few days, it hasn't worked. When I run the backup, I get the following in /usr/local/psa/PMM/sessions/(date)/psadump.log:
[761]: 00:05:40 INFO ------------------------------------------------------------
[761]: 00:05:40 INFO Migration status reporting initialized.
[761]: 00:05:40 INFO Status file: /usr/local/psa/PMM/sessions/2013-12-03-000536.185/dump-status.xml
[761]: 00:05:40 INFO ------------------------------------------------------------
[761]: 00:05:58 ERROR 692e8bb0-ffbe-4221-8c7e-f48a69c88ae1 Cannot detect product mode
[761]: 00:05:59 ERROR 98fb1a8f-cb8a-43e5-8907-b7e54308027b Connection error: Error: unable to execute SHOW TABLES:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
[761]: 00:05:59 ERROR cdbe3e8c-e0d3-4976-839f-29765e90c12f Runtime error:
at /usr/local/psa/PMM/agents/shared/Logging.pm line 84
Logging::error('Runtime error', 'fatal') called at /usr/local/psa/admin/bin/plesk_agent_manager line 1298
main::__ANON__('Error::Simple=HASH(0x1bcae38)', 'SCALAR(0x2e9b9e8)') called at /usr/local/psa/PMM/agents/shared/Error.pm line 326
eval {...} called at /usr/local/psa/PMM/agents/shared/Error.pm line 320
Error::subs::run_clauses('HASH(0x329e750)', 'Can\'t call method "execute" without a package or object refe...', '', 'ARRAY(0x2ea8f58)') called at /usr/local/psa/PMM/agents/shared/Error.pm line 416
Error::subs::try('CODE(0x329e678)', 'HASH(0x329e750)') called at /usr/local/psa/admin/bin/plesk_agent_manager line 1301
main::main() called at /usr/local/psa/admin/bin/plesk_agent_manager line 1303
== STDERR ====================
1+0 records in
1+0 records out
31457280 bytes (31 MB) copied, 11.489 s, 2.7 MB/s
Unable to connect to database:
DBI connect('dbname=psa;host=localhost','admin',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at /usr/local/psa/PMM/agents/shared/Db/DbiBackend.pm line 43
Runtime error: Can't call method "execute" without a package or object reference at /usr/local/psa/PMM/agents/PleskX/PleskStructure.pm line 422.
at /usr/local/psa/PMM/agents/PleskX/PleskStructure.pm line 422
PleskStructure::__populateIpsFromIPAddressesTable9() called at /usr/local/psa/PMM/agents/PleskX/PleskStructure.pm line 414
PleskStructure::__init90() called at /usr/local/psa/PMM/agents/PleskX/PleskStructure.pm line 405
PleskStructure::__init100() called at /usr/local/psa/PMM/agents/PleskX/PleskStructure.pm line 37
PleskStructure::init('') called at /usr/local/psa/PMM/agents/PleskX/PleskX.pm line 191
PleskX::_init('PleskX=HASH(0x32ac298)', 'Storage::FileStorage=HASH(0x32ac1c0)', 'MigrationDumpStatus=HASH(0x1bcb288)', '/usr/local/psa/PMM/agents/shared', undef) called at /usr/local/psa/PMM/agents/PleskX/PleskX.pm line 60
PleskX::new('PleskX', 'Storage::FileStorage=HASH(0x32ac1c0)', 'MigrationDumpStatus=HASH(0x1bcb288)', '/usr/local/psa/PMM/agents/shared', undef) called at /usr/local/psa/admin/bin/plesk_agent_manager line 526
main:erform('verbose', 0, 'owner-type', 'server', 'split-size', undef, 'session-path', '/usr/local/psa/PMM/sessions/2013-12-03-000536.185', 'profile-name', ...) called at /usr/local/psa/admin/bin/plesk_agent_manager line 1292
main::__ANON__() called at /usr/local/psa/PMM/agents/shared/Error.pm line 398
eval {...} called at /usr/local/psa/PMM/agents/shared/Error.pm line 397
Error::subs::try('CODE(0x329e678)', 'HASH(0x329e750)') called at /usr/local/psa/admin/bin/plesk_agent_manager line 1301
main::main() called at /usr/local/psa/admin/bin/plesk_agent_manager line 1303.
MySQL is working fine and isn't running out memory. Max connections is set to 200 but that wouldn't be an issue. Just seems to have stopped working...every site that uses a MySQL db is working fine.
Product version is 11.0.9 and the server is running CentOS 6.5.
Any thoughts would be appreciated.
Thanks,
Jamie
I am using the Plesk Backup PHP script to run a daily full server backup of my server, called via cron. However, for the last few days, it hasn't worked. When I run the backup, I get the following in /usr/local/psa/PMM/sessions/(date)/psadump.log:
[761]: 00:05:40 INFO ------------------------------------------------------------
[761]: 00:05:40 INFO Migration status reporting initialized.
[761]: 00:05:40 INFO Status file: /usr/local/psa/PMM/sessions/2013-12-03-000536.185/dump-status.xml
[761]: 00:05:40 INFO ------------------------------------------------------------
[761]: 00:05:58 ERROR 692e8bb0-ffbe-4221-8c7e-f48a69c88ae1 Cannot detect product mode
[761]: 00:05:59 ERROR 98fb1a8f-cb8a-43e5-8907-b7e54308027b Connection error: Error: unable to execute SHOW TABLES:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
[761]: 00:05:59 ERROR cdbe3e8c-e0d3-4976-839f-29765e90c12f Runtime error:
at /usr/local/psa/PMM/agents/shared/Logging.pm line 84
Logging::error('Runtime error', 'fatal') called at /usr/local/psa/admin/bin/plesk_agent_manager line 1298
main::__ANON__('Error::Simple=HASH(0x1bcae38)', 'SCALAR(0x2e9b9e8)') called at /usr/local/psa/PMM/agents/shared/Error.pm line 326
eval {...} called at /usr/local/psa/PMM/agents/shared/Error.pm line 320
Error::subs::run_clauses('HASH(0x329e750)', 'Can\'t call method "execute" without a package or object refe...', '', 'ARRAY(0x2ea8f58)') called at /usr/local/psa/PMM/agents/shared/Error.pm line 416
Error::subs::try('CODE(0x329e678)', 'HASH(0x329e750)') called at /usr/local/psa/admin/bin/plesk_agent_manager line 1301
main::main() called at /usr/local/psa/admin/bin/plesk_agent_manager line 1303
== STDERR ====================
1+0 records in
1+0 records out
31457280 bytes (31 MB) copied, 11.489 s, 2.7 MB/s
Unable to connect to database:
DBI connect('dbname=psa;host=localhost','admin',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at /usr/local/psa/PMM/agents/shared/Db/DbiBackend.pm line 43
Runtime error: Can't call method "execute" without a package or object reference at /usr/local/psa/PMM/agents/PleskX/PleskStructure.pm line 422.
at /usr/local/psa/PMM/agents/PleskX/PleskStructure.pm line 422
PleskStructure::__populateIpsFromIPAddressesTable9() called at /usr/local/psa/PMM/agents/PleskX/PleskStructure.pm line 414
PleskStructure::__init90() called at /usr/local/psa/PMM/agents/PleskX/PleskStructure.pm line 405
PleskStructure::__init100() called at /usr/local/psa/PMM/agents/PleskX/PleskStructure.pm line 37
PleskStructure::init('') called at /usr/local/psa/PMM/agents/PleskX/PleskX.pm line 191
PleskX::_init('PleskX=HASH(0x32ac298)', 'Storage::FileStorage=HASH(0x32ac1c0)', 'MigrationDumpStatus=HASH(0x1bcb288)', '/usr/local/psa/PMM/agents/shared', undef) called at /usr/local/psa/PMM/agents/PleskX/PleskX.pm line 60
PleskX::new('PleskX', 'Storage::FileStorage=HASH(0x32ac1c0)', 'MigrationDumpStatus=HASH(0x1bcb288)', '/usr/local/psa/PMM/agents/shared', undef) called at /usr/local/psa/admin/bin/plesk_agent_manager line 526
main:erform('verbose', 0, 'owner-type', 'server', 'split-size', undef, 'session-path', '/usr/local/psa/PMM/sessions/2013-12-03-000536.185', 'profile-name', ...) called at /usr/local/psa/admin/bin/plesk_agent_manager line 1292
main::__ANON__() called at /usr/local/psa/PMM/agents/shared/Error.pm line 398
eval {...} called at /usr/local/psa/PMM/agents/shared/Error.pm line 397
Error::subs::try('CODE(0x329e678)', 'HASH(0x329e750)') called at /usr/local/psa/admin/bin/plesk_agent_manager line 1301
main::main() called at /usr/local/psa/admin/bin/plesk_agent_manager line 1303.
MySQL is working fine and isn't running out memory. Max connections is set to 200 but that wouldn't be an issue. Just seems to have stopped working...every site that uses a MySQL db is working fine.
Product version is 11.0.9 and the server is running CentOS 6.5.
Any thoughts would be appreciated.
Thanks,
Jamie