These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for migration issues on the new forum.
I am trying to use the migration wizard in Virtualmin to migrate my website from plesk.
I keep getting this error: Validating migration file .. .. validation failed : XML::Simple Perl module is not installed
I have tried to install this from the command line, but this is what I get:
==> Please rerun the make command. <== false make: *** [Makefile] Error 1 /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible
I don't know enough to know where to go from here.
from where are you installing the module?
from a screen session logged in as root:
run:
perl -MCPAN -e shell
then:
cpan>
install XML::Simple
or from webmins module perl modules
I tried to install from root with:
perl -MCPAN -e 'install XML::Simple'
I tried your method, but I get the same error.
Running make install
make had returned bad status, install seems impossible
Running make for G/GR/GRANTM/XML-Simple-2.18.tar.gz
Is already unwrapped into directory /root/.cpan/build/XML-Simple-2.18
Has already been processed within this session
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
I get the same error trying the install from webmin:
Executing /usr/bin/perl Makefile.PL && make ..
Checking if your kit is complete...
Looks good
Writing Makefile for XML::SAX::Base
make: Warning: File `Makefile.PL' has modification time 9.2e+05 s in the future
Makefile out-of-date with respect to Makefile.PL /usr/lib/perl5/5.8.5/i386-linux-thread-multi/Config
.pm /usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/config.h
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1 || /bin/sh -c true
/usr/bin/perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for XML::SAX::Base
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command. <==
false
make: *** [Makefile] Error 1
Makefile out-of-date
Im not skilled enough to troubleshoot this however what I would do is first update the Perl to the latest version
then remove the xml::simple build from /root/cpan/build and try again from scratch
if that doesn't work I would try to install it manually or
hope a gifted admin passes along with some sane advice :)
Yeah, something's definitely not right, as XML::Simple is generally a fairly straight forward install.
First off, is your system date correct? That can cause some of the messages in the output you had above.
But also, if you're using Ubuntu, it provides the package "libxml-simple-perl", that would avoid needing to use make for the time being.
Although that might get some things rolling, you'll still be likely to run into the issues you saw above with other installs in the future until you nail down the cause of that. I'd start with verifying your system time.
-Eric
OMFG, it was the damn time.
Ran ntpdate and then XMP:simple installed from the command line with no problem. Thanks for the suggestion. I never would have thought of that.
it's a good idea to run ntp as a cronjob as many things on the system depend on correct time. I've mine set to sync every 20 minutes