• 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 not working

D

dsojo

Guest
i have scheduled a backup and i got this

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

any idea ??
 
hi ! happy new year !

This version, plesk 8.3 centos 4.5

Python 2.3.4 (#1, Dec 11 2007, 05:27:57)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-9)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

thanks!

thanks!
 
Hi,

Try checking backup logs to find more information on why backup actually failed.
Backup logs are usually placed under /var/lib/psa/dumps/tmp
You should check agent-runner.log and supervisor.log at first place.
 
we got same error on my centos 4.5 server, we find some of the table not found in psa database. if select only one or two domains it will work. but it doesn't work for all the domains
 
The same problem, someone has been a solution?
Following error is occured during scheduled backup process:

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

Python and Perl have been updated to the latest release Centos 4.4 Please 8.3

Here is my log:

</client></migrate-clients></selected-objects>
<configuration-only>false</configuration-only>
<backup-file-name>/domainadmin_2008.03.26_10.06</backup-file-name>
<ftp-host>XXX.XXX.XXX.XXX</ftp-host>
<ftp-login>username</ftp-login>
<ftp-password>password</ftp-password><split-size>2146435072</split-size>
</start-backup>
</action>

2008-03-26 10:06:32,862 INFO Packet succesfully validated.
2008-03-26 10:06:32,884 INFO Outgoing packet:
<?xml version="1.0" encoding="UTF-8"?><action-response>
<command-accepted></command-accepted>
</action-response>

2008-03-26 10:06:32,884 INFO Packet succesfully validated.
2008-03-26 10:06:32,892 INFO Executing <subprocess[1726] '/var/lib/psa/dumps/tmp/2008-03-26-10.06.32.529933/PleskX.pl' '--dump-accounts=-' '--dump-domains=-' '--description=backup.
Creation date: Mar 26, 2008 10:06 AM' '--output=/var/lib/psa/dumps/tmp/2008-03-26-10.06.32.529933/backup-file' '--split-size=2146435072' '--verbosity=1'>
2008-03-26 10:06:33,298 INFO Incoming packet:
<?xml version='1.0' encoding='UTF-8'?>
<action>
<get-status/>
</action>

2008-03-26 10:06:33,299 INFO Packet succesfully validated.
2008-03-26 10:06:33,300 INFO Outgoing packet:
<?xml version="1.0" encoding="UTF-8"?><action-response>
<working>
<preparing></preparing>
</working>
</action-response>

2008-03-26 10:06:33,301 INFO Packet succesfully validated.
2008-03-26 10:06:36,245 INFO Subprocess <subprocess[1726] '/var/lib/psa/dumps/tmp/2008-03-26-10.06.32.529933/PleskX.pl' '--dump-accounts=-' '--dump-domains=-' '--description=backup.
Creation date: Mar 26, 2008 10:06 AM' '--output=/var/lib/psa/dumps/tmp/2008-03-26-10.06.32.529933/backup-file' '--split-size=2146435072' '--verbosity=1'> was finished with exit code 255
== STDOUT ====================

== STDERR ====================
Can't use an undefined value as an ARRAY reference at SiteApp.pm line 292.

2008-03-26 10:06:43,686 INFO Incoming packet:
<?xml version='1.0' encoding='UTF-8'?>
<action>
<get-status/>
</action>

2008-03-26 10:06:43,687 INFO Packet succesfully validated.
2008-03-26 10:06:43,688 INFO Outgoing packet:
<?xml version="1.0" encoding="UTF-8"?><action-response>
<finished>
<error>Error in BackupState.doActivityRunner()
Traceback (most recent call last):
File &quot;/usr/local/psa/admin/share/agent_runner/agent_runner.py&quot;, line 98, in doActivityRunner
newState = self.doActivity()
File &quot;/usr/local/psa/admin/share/agent_runner/agent_runner.py&quot;, line 391, in doActivity
errtxt = runAgent(self, self.session)
File &quot;/usr/local/psa/admin/share/agent_runner/agent_runner.py&quot;, line 258, in runAgent
cmd.spawn()
File &quot;/usr/local/psa/admin/lib/python/subproc.py&quot;, line 238, in spawn
proc.run()
File &quot;/usr/local/psa/admin/lib/python/subproc.py&quot;, line 193, in run
BaseSubprocess.run(self)
File &quot;/usr/local/psa/admin/lib/python/subproc.py&quot;, line 177, in run
self.wait()
File &quot;/usr/local/psa/admin/lib/python/subproc.py&quot;, line 197, in wait
BaseSubprocess.wait(self)
File &quot;/usr/local/psa/admin/lib/python/subproc.py&quot;, line 187, in wait
raise NonzeroExitException(self, os.WEXITSTATUS(status))
NonzeroExitException: was finished with exit code 255
</error>
</finished>
</action-response>

2008-03-26 10:06:43,688 INFO Packet succesfully validated.
 
appears that you have rebuilt perl and not rebuilt all of the installed perl modules after that and one is failing. Try rebuilding your installed perl modules, In this case I would think that it may be DBI.pm that is the issue at hand.
 
is it local or ftp backup?
first you should check if /var/lib/psa/dumps/tmp/ is 777 (sometimes it needs to be!). second always check the multipart option during backup.
 
Has anyone found a solution for this error? I have been getting it since I installed PLESK on this server. Here is the Plesk and server information: psa v8.2.1_build82070918.10 os_FedoraCore 6
Without having to upgrade plesk to a newer version is there something I can do to make the backups run correctly?

Here is the error segment from the log file:

2008-07-20 17:25:26,349 INFO Packet succesfully validated.
2008-07-20 17:25:26,350 INFO Outgoing packet:
<?xml version="1.0" encoding="UTF-8"?><action-response>
<finished>
<error>Error in BackupState.doActivityRunner()
Traceback (most recent call last):
File &quot;/usr/local/psa/admin/share/agent_runner/agent_runner.py&quot;, line 98, in doActivityRunner
newState = self.doActivity()
File &quot;/usr/local/psa/admin/share/agent_runner/agent_runner.py&quot;, line 391, in doActivity
errtxt = runAgent(self, self.session)
File &quot;/usr/local/psa/admin/share/agent_runner/agent_runner.py&quot;, line 258, in runAgent
cmd.spawn()
File &quot;/usr/local/psa/admin/lib/python/subproc.py&quot;, line 238, in spawn
proc.run()
File &quot;/usr/local/psa/admin/lib/python/subproc.py&quot;, line 193, in run
BaseSubprocess.run(self)
File &quot;/usr/local/psa/admin/lib/python/subproc.py&quot;, line 177, in run
self.wait()
File &quot;/usr/local/psa/admin/lib/python/subproc.py&quot;, line 197, in wait
BaseSubprocess.wait(self)
File &quot;/usr/local/psa/admin/lib/python/subproc.py&quot;, line 187, in wait
raise NonzeroExitException(self, os.WEXITSTATUS(status))
NonzeroExitException: was finished with exit code 1
</error>
</finished>
</action-response>

2008-07-20 17:25:26,351 INFO Packet succesfully validated.

Please help me if you can.
 
same problem here

I se the same error when trying to do a domain restore, in plesk 8.3 on Fedora core 7. Unfortunately, the hosting provider has no idea and there I have no answer from Parallels either.
 
I have same error...
Code:
Traceback (most recent call last):
File "/usr/local/psa/admin/share/supervisor/processor.py", line 116, in doActivityRunner
newState = self.doActivity()
File "/usr/local/psa/admin/share/supervisor/processor.py", line 817, in doActivity
cmd.spawn(os.environ.has_key("PLESKRESTORE_MODE"))
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

try with CLI got same error...
But on some case, it working if i try again...
On one domain, i try 5 times with no luck

Any idea ?

Thanks
 
Back
Top