Help - Search - Members - Calendar
Full Version: Ensim to Plesk 8 Migration Error
The Planet Forums > Control Panels > Plesk
rlemish
I've got an Ensim box (Ensim Pro 4.0.3-22.rhel.3ES) that I am migrating to a new Plesk 8 box. Several of the domains transferred without error but a little more that half fail with the following message:

Failed validation of the document with external DTD /usr/local/psa/PMM/agents/EnsimX/control/EnsimX.dtd. The errors are: Element domain-user content does not follow the DTD, expecting (pinfo , password , domain-user-limit* , domain-user-permission*), got (pinfo ).

Any suggestions?

TIA
JOrgeRIOS
R U using the migration tools? I have made my own backup/restore scripts for ensim to plesk, they work like charm, creating aliases, groups, etc .. let me know if you need help..
rdomingu
i would like to try out your script...i am about to migrate a bunch of domains from ensim to plesk....let me know if i can try out your script..

thanks
cincen
QUOTE (JOrgeRIOS)
R U using the migration tools? I have made my own backup/restore scripts for ensim to plesk, they work like charm, creating aliases, groups, etc .. let me know if you need help..


Yes, I'm using the plesk migration manager but does not work.
Could you please share your script ?
raygp
I had this same problem while trying to migrate ensim domains to plesk. (ensim 4.0.3 to plesk8.0.1)

I just want to say that this solution worked for me and I take no responsibility if anything messes up. It takes editing a file to get the migration manager to work.

MY SOLUTION:
Edit the file:
/usr/local/psa/PMM/agents/EnsimX/control/EnsimX.dtd

Look for the line like this: (line 103 for me)
domain-user-permission*)>

Change it to this:
domain-user-permission*)>

(Notice the addition of the * after password)

LOGIC BEHIND THE SOLUTION: (I provide this so that you can make an educated decision as to whether or not you want to try this fix or maybe someone can provide a better fix)
Well, I couldn't find any help online or in any of these forums.
I looked at the log files after the failure (no clue)
I looked at the EnsimX.pl script (no clue)
I looked at the remote server (ensim server) under the /migration folder (after the failure and keeping temporary files). I found a file called dump.xml and it contained a list of domain-users and one of them did not have a password set (smmsp).
So I figured that was the problem, smmsp did not have a password set.
I tried to set a password for smmsp in ensim but it won't let you (maybe someone can figure out how to set password for smmsp)
I remembered from error that it referred to a EnsimX.dtd and put 2 and 2 together.

Once the temp files are dumped to the remote server in the /migration folder then it checks dump.xml and verifies it against EnsimX.dtd. It then fails if the requirements are not met. I then figured out that the * in these fields in EnsimX.dtd means that the field is optional. So since I couldn't figure out how to set a password for smmsp user I simply made the password field optional for domain-users

With this information I would like to see if anyone out there can figure out a better fix.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.