PDA

View Full Version : Migration manager error


tfanabe
23rd December 2006, 11:04 AM
I use plesk 8.1.0 with opensuse 10.1.
When I try to use the MM, I have these error: I have try to delete the .xxxrc file from root home directory but don't change anything...


Traceback (most recent call last):
File "/usr/local/psa/admin/share/supervisor/processor.py", line 110, in doActivityRunner
newState = self.doActivity()
File "/usr/local/psa/admin/share/supervisor/processor.py", line 217, in doActivity
cmd.spawn()
File "/usr/local/psa/admin/lib/python/subproc.py", line 237, 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

JohnB
28th December 2006, 11:14 PM
We have the exact same problem and exact same error message.
Did you find out how to solve this?

John

TarkanVeKurdu
25th January 2007, 05:09 AM
We have the same problem here. Any solution to this ?

nstriedinger
14th February 2007, 05:06 PM
Migrating from 7.5.4 to 8.1.0

rhel3 to centOS




Traceback (most recent call last):
File "/usr/local/psa/admin/share/supervisor/processor.py", line 78, in getStatus
return (None, self.realGetStatus())
File "/usr/local/psa/admin/share/supervisor/processor.py", line 510, in realGetStatus
return getRunningAgentState(self.session)
File "/usr/local/psa/admin/share/supervisor/processor.py", line 466, in getRunningAgentState
d = minidom.parseString(content)
File "/usr/lib/python2.3/xml/dom/minidom.py", line 1929, in parseString
return expatbuilder.parseString(string)
File "/usr/lib/python2.3/xml/dom/expatbuilder.py", line 940, in parseString
return builder.parseString(string)
File "/usr/lib/python2.3/xml/dom/expatbuilder.py", line 223, in parseString
parser.Parse(string, True)
ExpatError: syntax error: line 1, column 0:(

TarkanVeKurdu
14th February 2007, 05:13 PM
Hello,

This might help your situation we have updated our plesk 8.1.0 using auto updater and everything works ok now.

Regards

nstriedinger
14th February 2007, 05:25 PM
Thanks for the fast response! I'll try that.

I did read this. - http://forum.swsoft.com/printthread.php?threadid=34246&perpage=7

I did have some custom stuff in .bashrc that I wrote.

nstriedinger
16th February 2007, 09:51 AM
So I guess taking that code out of .bashrc worked...but...

It is a 9G site, and its been running for 40:25:19. Should I cancel it?

Dumping progress
Done:
2 domain(s) out of 2
1 client(s) out of 1

Remaining:
0 domain(s)
0 client(s)

nstriedinger
16th February 2007, 10:05 AM
Does anyone know how I can check the file size of the migration (maybe a compressed file)? I know the site is 9gig, so if I can monitor a few files, I can see if things are close.

I can see that I've got some files changing in /tmp/usr/local/psa/PMM/var/

2007-02-14-14.19.34.579176
2007-02-14-14.19.34.579176/supervisor.log
2007-02-14-14.19.34.579176/dumping-status.xml
2007-02-14-14.19.34.579176/migration.log

nstriedinger
16th February 2007, 10:20 AM
I could have done this faster manually...I'll wait a little longer...

nstriedinger
16th February 2007, 01:19 PM
ok, well the migration got hung up b/c I didn't have enough space on the old 7.5 Plesk box. Thanks for all the help.

You need at least double what the site is.

thewolf
7th March 2007, 09:51 AM
Originally posted by nstriedinger
ok, well the migration got hung up b/c I didn't have enough space on the old 7.5 Plesk box.
Hi,
What directory do you need the free space in?

My old server has little free space left and I want to be sure that the migration to the new server will not fail.

Thanks.

nstriedinger
7th March 2007, 10:02 AM
If you have "managed" hosting with a limit of 10G and your site takes up 9G, you'll need at least 18G to migrate. It seems that Plesk almost makes a duplicate of your current site, THEN migrates the files.

HoneyMonster
27th March 2007, 11:22 AM
Hello,

I ran into this on two seperate, entirely differently configured servers. After wasting lots of time trying to find the problem this is how we found the solution:

-We made sure there was nothing silly in .bashrc - no luck

-We tried upgrading both the source and destination server to the most update version of Plesk 8.1 - no luck.

-We tried doing a full Plesk dump via command line and then restoring it to the new server - no luck. Exactly the same error message as the migration, however it threw this error in too:
AWSTATS_DOC_D not defined

So, We went and added the line AWSTATS_DOC_D /var/www/html/awstats to /etc/psa/psa.conf and now the migration works fine.

It may not be awstats thats causing the problems on your servers but at least by tring a Plesk dump/restore you can get some more useful error reporting that points you in the right direction. :)