Article ID: 112451, created on Oct 5, 2011, last review on May 9, 2014

  • Applies to:
  • Plesk 9.3 for Linux/Unix

Symptoms

After a successful backup, you did not receive a notification mail and found the following in the log files:

#cat /usr/local/psa/PMM/logs/pmmcli_daemon.log.2010-05-12-123620
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2010-05-10 02:10:47 Action params: task_type:Backup, owner_guid:2f665cbb-1267-4bcc-a0a0-61128347868e, owner_type:None, creation_date:2010-May-09 01:10:05, fullname:du47_1005090110.tar, logfilename:/usr/local/psa/PMM/sessions/2010-05-09-011005.706/migration.result, mail_to:mail@domain.tld
2010-05-10 02:10:47 exception during action processing
Stacktrace is: Traceback (most recent call last):
File "/usr/local/psa/admin/share/pmmcli/pmmcli_daemon_actions.py", line 509, in process
action_item.process(logger)
File "/usr/local/psa/admin/share/pmmcli/pmmcli_daemon_actions.py", line 284, in process
mailsender.send(logger,self.__mail_to,self.__task_type,self.__task_status,self.__owner_guid,self.__owner_type,self.__creation_date,self.__fullname,self.__logfilename)
File "/usr/local/psa/admin/share/pmmcli/pmmcli_daemon_actions.py", line 245, in send
sendmail = subprocess.Popen(["sendmail",mail_sender,"-t","-oi"], stdin = subprocess.PIPE)
File "/usr/lib/python2.4/subprocess.py", line 550, in __init__
errread, errwrite)
File "/usr/lib/python2.4/subprocess.py", line 993, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
 

Resolution

From http://download1.parallels.com/Plesk/PPP9/Doc/en-US/plesk-9.5-administrators-guide/59264.htm:
...
Select the "Activate this backup" task check box and specify the following:
...
E-mail notification on backing up errors. If you want to send an e-mail notice when something goes wrong during the backup process, type the e-mail address you need.
...
 
It means that if the scheduled backup succeeded, no e-mail will be sent because scheduled backup tasks are removed if succeeded - pmmcli_daemon can send e-mail only for existing tasks.
 

165ec78c924fabffe1d80dc3eabc98c6 a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 6ef0db7f1685482449634a455d77d3f4 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF