• 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

Data Migration fails with Plesk tools - searching for other possibilities

M

Marc Pankow

Guest
Hello,

was:
- had a Strato vServer with open suse 10.3 and Plesk 8.6
- made an update to Plesk 9.3
- made an Upgrade to a better vServer

want:
- want to reinstall vServer with open suse 11.x and Plesk 9.3
- want to migrate customers, databases, domains, websites, mail-accounts, files, etc. from old system to new system

tried:
- tried to make a backup with plesk backup manager
--> result webinterface: didn't work
--> result console: Can't locate Getopt/Long.pm in @INC (@INC contains: /usr/local/psa/PMM/agents/PleskX /usr/local/psa/PMM/agents/shared /usr/lib/perl5/5.8.8/i586-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl .) at /usr/local/psa/bin/pleskbackup line 43.
BEGIN failed--compilation aborted at /usr/local/psa/bin/pleskbackup line 43.

- tried to migrate data with the plesk migration manager
--> subcriped for a further vServer
--> startet migration manager over webinterface --> host xxx.xxx.xxx.xxx is not accessible

I've no idea, how to fix this problem, but I MUST reinstall my server.

Idea:
- make a backup with an other software (e.g. Reoback)
- reinstall the server
- restore data from reoback backup
- Have Fun

Problem:
- I've no idea, which files, folders, databases, accounts, etc. have to be saved

Does anyone have any hints how to fix this problem?
 
Seems Perl is broken there. For example, on default Plesk installation I see:

# rpm -qf /usr/lib/perl5/5.8.8/Getopt/Long.pm
perl-5.8.8-27.el5
 
Ok, I see... tried to fix perl - without success...
 
On Suse 11.1 for example:

suse-11:/ # rpm -qf /usr/lib/perl5/5.10.0/Getopt/Long.pm
perl-base-5.10.0-62.18.1

Did you tried to reinstall perl-base package?
 
No success with backup? Or what? What sort of error now?
 
No I have this Error-Message:
Can't locate XmlNode.pm in @INC (@INC contains: . /usr/lib/perl5/5.8.8/i586-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl) at PleskStructure.pm line 4.
BEGIN failed--compilation aborted at PleskStructure.pm line 4.
Compilation failed in require at PleskX.pm line 32.
BEGIN failed--compilation aborted at PleskX.pm line 32.
Compilation failed in require at ./PleskX.pl line 8.
BEGIN failed--compilation aborted at ./PleskX.pl line 8.
 
Really, you have broken system. Perl is not correctly installed at least. Try to find package where is XmlNode.pm and install it. Or reinstall system and Plesk there.
 
...and here we are ;0) That's what I said.

Because of this problems I decided to reinstall the system with plesk. But I want to migrate my customers, databases, websites, etc... and how can I manage this, without a working plesk?

I've installed REOBACK and I'm able to backup any data on the server.

My question:
Which files and folders do I have to save and later to restore in order to migrate my data?
 
There are a lot of different directories, databases, etc and it is not trivial task. I strongly recommend you contact support team if problem is actual and you want to recover this server.
 
Hello,

this Error causes on my Three different Servers with Centos 64-Bit!!

First the PleskX.pl can not be executed because the ist a Permission Problem.

ll /usr/local/psa/PMM/agents/PleskX

total 672
-rw-r--r-- 1 root root 1591 Dec 30 2009 BackupDumpStatus.pm
drwxr-xr-x 2 root root 41 Aug 30 2010 control
-rw-r--r-- 1 root root 141259 Dec 30 2009 Packer.pm
-rw-r--r-- 1 root root 176 Dec 30 2009 PleskMaxVersion.pm
-rw-r--r-- 1 root root 13440 Dec 30 2009 PleskStructure.pm
-rw-r--r-- 1 root root 1328 Dec 30 2009 PleskVersion.pm
-rw-r--r-- 1 root root 5988 Dec 30 2009 PleskX.pl
-rw-r--r-- 1 root root 240882 Mar 15 16:05 PleskX.pm
-rw-r--r-- 1 root root 7036 Dec 30 2009 PmmCli.pm
-rw-r--r-- 1 root root 7577 Oct 22 03:59 SiteApp.pm
-rw-r--r-- 1 root root 3254 Dec 30 2009 SpecificConfig.pm
-rw-r--r-- 1 root root 1045 Dec 30 2009 StopWatchPacker.pm
[/QUOTE]

./PleskX.pl
-bash: ./PleskX.pl: Permission denied

chmod 755 PleskX.pl

./PleskX.pl
Can't locate XmlNode.pm in @INC (@INC contains: . /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8) at PleskStructure.pm line 4.
BEGIN failed--compilation aborted at PleskStructure.pm line 4.
Compilation failed in require at PleskX.pm line 32.
BEGIN failed--compilation aborted at PleskX.pm line 32.
Compilation failed in require at ./PleskX.pl line 8.
BEGIN failed--compilation aborted at ./PleskX.pl line 8.

If you change the Permission of XmlNode.pm in the Directory
/usr/local/psa/PMM/agents/shared it also fails because the PleskX.pl searches the XmlNode.pm and the other Files like PleskStructure.pm ... in the same Directory where the PleskX.pl are started.

[root@s15330992 shared]# ll
total 256
-rw-r--r-- 1 root root 405 Dec 30 2009 AgentConfig.pm
-rwxr-xr-x 1 root root 25997 Dec 30 2009 agent.include.pl
drwxr-xr-x 2 root root 26 Aug 30 2010 Apache
-rw-r--r-- 1 root root 2866 Dec 30 2009 ApacheAgent.pm
-rw-r--r-- 1 root root 3391 Dec 30 2009 CommonConfig.pm
-rw-r--r-- 1 root root 1947 Dec 30 2009 CompatArgParse.pm
-rw-r--r-- 1 root root 8926 Dec 30 2009 DateParse.pm
drwxr-xr-x 2 root root 4096 Aug 30 2010 Db
-rw-r--r-- 1 root root 1888 Dec 30 2009 DomainInfo.pm
-rw-r--r-- 1 root root 11807 Dec 30 2009 DumpComposer.pm
-rw-r--r-- 1 root root 1351 Dec 30 2009 DumpStatus.pm
-rw-r--r-- 1 root root 1642 Dec 30 2009 Encoding.pm
drwxr-xr-x 2 root root 22 Aug 30 2010 Error
-rw-r--r-- 1 root root 19057 Dec 30 2009 Error.pm
-rw-r--r-- 1 root root 17055 Dec 30 2009 genericAgent.pm
-rw-r--r-- 1 root root 2294 Dec 30 2009 HelpFuncs.pm
drwxr-xr-x 3 root root 29 Aug 30 2010 IPC
-rw-r--r-- 1 root root 1695 Dec 30 2009 list_admin.py
-rw-r--r-- 1 root root 470 Dec 30 2009 list_password.py
-rw-r--r-- 1 root root 1173 Dec 30 2009 Logging.pm
-rw-r--r-- 1 root root 3926 Dec 30 2009 MailAccount.pm
-rw-r--r-- 1 root root 3306 Dec 30 2009 Mailman.pm
-rw-r--r-- 1 root root 36985 Dec 30 2009 Mbox2Mdir.pm
-rw-r--r-- 1 root root 2937 Dec 30 2009 MigrationDumpStatus.pm
drwxr-xr-x 2 root root 20 Aug 30 2010 MIME
-rw-r--r-- 1 root root 1115 Dec 30 2009 PerlMD5.pm
-rw-r--r-- 1 root root 8473 Dec 30 2009 QmailAgent.pm
-rw-r--r-- 1 root root 4784 Dec 30 2009 SendmailAgent.pm
-rw-r--r-- 1 root root 3992 Dec 30 2009 SpamAssassinCfg.pm
-rw-r--r-- 1 root root 1046 Dec 30 2009 Status.pm
-rw-r--r-- 1 root root 848 Dec 30 2009 StopWatch.pm
drwxr-xr-x 2 root root 4096 Aug 30 2010 Storage
-rw-r--r-- 1 root root 8035 Dec 30 2009 TimeZone.pm
-rw-r--r-- 1 root root 1598 Dec 30 2009 Utf8Checker.pm
-rw-r--r-- 1 root root 8606 Dec 30 2009 XmlNode.pm

The solution ist -->NOT<-- to Install new Perl Packeages and contact the Plesk support ...

Copy the conntent of ´/usr/local/psa/PMM/agents/PleskX and /usr/local/psa/PMM/agents/shared into a new Directory an start the PleskX.pl inside of this Directory.
For Example

mkdir /migration/
cd /migration/

rsync -rlptgoDvzH --progress /usr/local/psa/PMM/agents/shared/ /migration
rsync -rlptgoDvzH --progress /usr/local/psa/PMM/agents/PleskX/ /migration

./PleskX.pl --help

and then for Example:

./PleskX.pl --dump-all

Alternativly you can run

perl PleskX.pl

without a change of permissions..
Be careful that all the Files a dumped to the actually Directory /migration/
So you must have enough Space on the Hard drive/Directory
 
Last edited by a moderator:
Back
Top