• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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