• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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