PDA

View Full Version : Backups fail and keep looping!


105547111
12th May 2008, 09:21 PM
My scheduled backups fail and just keep constantly trying and filling up the hard drive...

I get heaps of these emails:


Following error is occured during scheduled backup process:

Following error is occured during scheduled backup process:

Error in BackupState.doActivityRunner()
Traceback (most recent call last):
File "/usr/local/psa/admin/share/agent_runner/agent_runner.py", line 98, in doActivityRunner
newState = self.doActivity()
File "/usr/local/psa/admin/share/agent_runner/agent_runner.py", line 391, in doActivity
errtxt = runAgent(self, self.session)
File "/usr/local/psa/admin/share/agent_runner/agent_runner.py", line 258, in runAgent
cmd.spawn()
File "/usr/local/psa/admin/lib/python/subproc.py", line 238, in spawn
proc.run()
File "/usr/local/psa/admin/lib/python/subproc.py", line 193, in run
BaseSubprocess.run(self)
File "/usr/local/psa/admin/lib/python/subproc.py", line 177, in run
self.wait()
File "/usr/local/psa/admin/lib/python/subproc.py", line 197, in wait
BaseSubprocess.wait(self)
File "/usr/local/psa/admin/lib/python/subproc.py", line 187, in wait
raise NonzeroExitException(self, os.WEXITSTATUS(status))
NonzeroExitException: was finished with exit code 1



Error in BackupState.doActivityRunner()
Traceback (most recent call last):
File "/usr/local/psa/admin/share/agent_runner/agent_runner.py", line 98, in doActivityRunner
newState = self.doActivity()
File "/usr/local/psa/admin/share/agent_runner/agent_runner.py", line 391, in doActivity
errtxt = runAgent(self, self.session)
File "/usr/local/psa/admin/share/agent_runner/agent_runner.py", line 258, in runAgent
cmd.spawn()
File "/usr/local/psa/admin/lib/python/subproc.py", line 238, in spawn
proc.run()
File "/usr/local/psa/admin/lib/python/subproc.py", line 193, in run
BaseSubprocess.run(self)
File "/usr/local/psa/admin/lib/python/subproc.py", line 177, in run
self.wait()
File "/usr/local/psa/admin/lib/python/subproc.py", line 197, in wait
BaseSubprocess.wait(self)
File "/usr/local/psa/admin/lib/python/subproc.py", line 187, in wait
raise NonzeroExitException(self, os.WEXITSTATUS(status))
NonzeroExitException: was finished with exit code 1

This did NOT happen on Fedora 7 so there is a bug with Plesk 8.4 on Fedora 8 and need some assistance as I have no backups..

What is the deal with support? Say I pay for a ticket and they find its THEIR software I trust you get a refund?

Monica
13th May 2008, 12:34 AM
Hello

Such problems can also occur if you are trying to backup to the FTP server and the credentials are not correct. If the backup is made to the FTP server make sure you can connect from the server with Plesk to this server by the IP and username/password specified.
Also one thing you can check. Try to launch the full server backup with:
/usr/local/psa/bin/pleskbackup -v all full.dump
Check whether there are any errors during the backup function.

105547111
13th May 2008, 01:44 AM
Hi Monica,

Thanks for the reply. Unfortunately I am just backing up into the local repository, so its making me think some permission has not been set right during the install
any ideas what to check?

Monica
13th May 2008, 01:48 AM
What about backup from the command line? You should try it, for example try to backup one domain with:
/usr/local/psa/bin/pleskbackup -v domains domain.b /root/domain.bak

105547111
13th May 2008, 04:47 AM
Hi Monica,

I ran that command and backed up a domain.

It went through phase 1 and 2 and then the shell does a clear screen and I have:

ECD$. (note the C is a funny character with a bit below like a Q)
backup_sign: Can't count dump signature
08:42:14 ERROR Failed to create MIME message
-----
Backup finished.
Finish date: Tue May 13 08:42:14

Okay this seems very bad and is why scheduled backups fail what can I do to get you more info to fix this?

Thanks again,
David

Monica
13th May 2008, 04:57 AM
run the following:
/usr/local/psa/admin/sbin/backup_sign generate
then check again

105547111
13th May 2008, 05:05 AM
That worked it backups now WITHOUT complaining :)

Does this mean the scheduled backups will run okay now?

Monica
13th May 2008, 05:07 AM
It should now. Schedule the backup for the nearest time and check.

105547111
13th May 2008, 05:41 AM
I scheduled a backup and it worked I am so happy and thank you very much for the help greatly appreciated!

Monica
13th May 2008, 05:51 AM
no problem, have a nice day.

105547111
13th May 2008, 06:00 AM
Hi Monica, I found the mail fix, I know this is another thread, but can you look at:

http://forum.swsoft.com/showpost.php?p=205889&postcount=97

It is a bug where plesk is not updating the submission_psa file (its all detailed in my post) I hope this helps, certainly this is why sending mail on submission (587) does not work with short names.