Unable open Backup Manager: Error: no element found

Created:

2016-11-16 12:54:59 UTC

Modified:

2017-04-24 11:04:08 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable open Backup Manager: Error: no element found

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk for Linux
  • Plesk 12.0 for Linux

Symptoms

Opening Backup Manager the following error is shown in Plesk 12.0.18:

Error: no element found: line 1, column 0

The same cron task is launched every 15 minutes, so, several backup tasks are running simultaneously:

# ps afvvx
1650 ? Ss 0:00 2 47 22908 1196 0.0 crond
21793 ? S 0:00 0 47 80468 2744 0.0 \\_ crond
21794 ? Ss 0:00 0 712 10039 1092 0.0 | \\_ /bin/sh -c [ -x /usr/local/psa/admin/sbin/backupmng ] && /usr/local/psa/admin/sbin/backupmng >/dev/null 2>&1
21795 ? S 0:00 0 62 47069 2048 0.0 | \\_ /usr/local/psa/admin/sbin/backupmng
21797 ? S 0:00 0 62 47069 748 0.0 | \\_ /usr/local/psa/admin/sbin/backupmng
21798 ? SN 0:00 0 12626 233225 42856 1.0 | \\_ /usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini /usr/local/psa/admin/plib/backup/scheduled_backup.php --dump 1
23096 ? ZN 0:00 0 0 0 0 0.0 | \\_ [pmmcli] <defunct>
23063 ? S 0:00 0 47 80468 2744 0.0 \\_ crond
23064 ? Ss 0:00 0 712 10039 1092 0.0 \\_ /bin/sh -c [ -x /usr/local/psa/admin/sbin/backupmng ] && /usr/local/psa/admin/sbin/backupmng >/dev/null 2>&1
23065 ? S 0:00 0 62 47069 2052 0.0 \\_ /usr/local/psa/admin/sbin/backupmng
23069 ? S 0:00 0 62 47069 752 0.0 \\_ /usr/local/psa/admin/sbin/backupmng
23070 ? SN 0:00 0 12626 233225 42856 1.0 \\_ /usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini /usr/local/psa/admin/plib/backup/scheduled_backup.php --dump 1
23095 ? ZN 0:00 0 0 0 0 0.0 \\_ [pmmcli] <defunct>

Cause

The issue is in C function flock() . It cannot lock /usr/local/psa/var/backup_tasks_mng.lock file. This is Plesk internal issue PPPM-2287 and is expected to be fixed in future Plesk updates.

Workaround

  1. Kill all hanged processes.

  2. Back up original /usr/local/psa/admin/sbin/backupmng file:

    # mv /usr/local/psa/admin/sbin/backupmng /usr/local/psa/admin/sbin/backupmng.orig
  3. Download and apply patch :

    # wget http://kb.plesk.com/Attachments/kcs-41956/backupmng
    # mv ./backupmng /usr/local/psa/admin/sbin/backupmng
Have more questions? Submit a request
Please sign in to leave a comment.