• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Backup Fails "Could not get task status with pmmcli"

eugenevdm

Regular Pleskian
Every day backup fails:

Traceback (most recent call last):
File "/opt/psa/admin/sbin/pmmcli", line 6, in <module>
pmmcli.main()
File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 1875, in main
log.initPidLog("pmmcli", pmmcli_log_dir, 1)
File "/opt/psa/admin/lib/python/log.py", line 20, in initPidLog
handler = FileHandler(os.path.join(dir, component + ".log"))
File "/opt/psa/admin/lib/python/log.py", line 8, in __init__
os.chmod(filename, permissions)
OSError: [Errno 2] No such file or directory: '/opt/psa/PMM/logs/pmmcli.log'
Runtime error: Could not get task status with pmmcli[]

This is the backup command:

/usr/local/psa/bin/pleskbackup server --prefix=cpx_backup --description=cpx_backup_description --output-file=/backup/17feb2012

Please help.
 
Plesk 9.5.4

Python 2.5.2

If this is relevant:

Ubuntu 8.04.4 64-bit

crontab -l show this script belongs to root.

I suspect possibly the script works on the command line but not in CRON but I'll need more testing.
 
No such file or directory: '/opt/psa/PMM/logs/pmmcli.log'

Are you sure that this directory is really exists with correct permissions?
 
Yes it exists:

Code:
root@cp1:/opt/psa/PMM/logs# ls -la /opt/psa/PMM/logs/pmmcli.log
-rw------- 1 root root 8942741 2012-02-20 11:59 /opt/psa/PMM/logs/pmmcli.log

Not sure if those permissions are correct. We certainly didn't change anything.
 
Back
Top