• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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