[BlueOnyx:09322] Re: CmuImport hangs during import

Ken - Precision Web Hosting, Inc kenlists at precisionweb.net
Thu Jan 5 12:36:19 -05 2012


----- Original Message ----- 
From: Stefano Cecconello
Hi,

I'm testing the migration process from a BQ appliance (5102R) to a brand new 
BO (5106R).

After finding and reading some docs about the migration process, i've 
exported the vsites and users public\private data, copied to the new host, 
and launched the import with cmu (updated to the latest version on both 
boxes).

I've exported 60 domains, 330 users for a total of 4GB of compressed data.

the data was exported with:
# cmuExport -a -d /path/to/exported/files
copied via scp, then imported on the new box with:
# cmuImport -a -d /path/to/exported/files/

After 30/45 mins that the import process is running, it hangs showing " 
creating user: xxxxx " and no other info even in the log file.
No cp\untar\scannin process on top and strangely the admin page is 
unavailable ( even after restarting the tomcat\admserv\apache demons, i can 
telnet the tcp/444 port ).

The new host has a large amount of free space in /home partition.

It is possible that the exported data was too big for the cmu to handle?

Thanks in advance

Best Regards
-- 
Stefano Cecconello

<<


Stefano,

You could import one site at a time; then if the import hangs at any point 
you can delete the site it stopped on, and do it again.

In the past I have used the script below to add the sites one at a time. The 
sitestoadd.txt  just has a list of the sites one per line,
e.g.
www.somesite.com
www.someothersite.com

Then just set the directory and IP address.


#!/usr/bin/perl
#add  all the sites on list


$ipaddress = "123.123.123.123";
$directory = "/home/restore/";

print "The IP is $ipaddress \n The directory is $directory   \n hit enter to 
continue";
$something = <STDIN>;



print "try to open sitestoadd.txt\n";
open (FIL,"sitestoadd.txt") or die "Can't Open\n";
  while (<FIL>) {
  $thedomain =  $_;
  chomp $thedomain;
  print "Add the site $thedomain\n";
  system("/usr/sbin/cmuImport -d $directory  -n $thedomain -i $ipaddress");
  sleep (1);
  system("ls -la /home/sites/ | grep  $thedomain");
  sleep (3);
}

close (FIL);




----
Ken Marcus
Precision Web Hosting, Inc.
http://www.precisionweb.net






More information about the Blueonyx mailing list