migration issues

8 posts / 0 new
Last post
#1 Fri, 07/04/2008 - 10:54
Cephlon

migration issues

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.

Fri, 07/04/2008 - 14:33
ronald
ronald's picture

from where are you installing the module?
from a screen session logged in as root:
run:
perl -MCPAN -e shell

then:
cpan&gt;
install XML::Simple

or from webmins module perl modules

Sun, 07/06/2008 - 23:17 (Reply to #2)
Cephlon

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

Sun, 07/06/2008 - 23:26 (Reply to #3)
Cephlon

I get the same error trying the install from webmin:

Executing /usr/bin/perl Makefile.PL &amp;&amp; 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 &gt; /dev/null 2&gt;&amp;1 || /bin/sh -c true
/usr/bin/perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for XML::SAX::Base
==&gt; Your Makefile has been rebuilt. &lt;==
==&gt; Please rerun the make command. &lt;==
false
make: *** [Makefile] Error 1

Mon, 07/07/2008 - 04:10 (Reply to #4)
ronald
ronald's picture

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 :)

Mon, 07/07/2008 - 04:27 (Reply to #5)
andreychek

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 &quot;libxml-simple-perl&quot;, 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

Mon, 07/07/2008 - 09:40 (Reply to #6)
Cephlon

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.

Mon, 07/07/2008 - 10:47 (Reply to #7)
ronald
ronald's picture

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

Topic locked