[BlueOnyx:11680] Re: cmuImport single site problems

Ken - Precision Web Hosting, Inc kenlists at precisionweb.net
Mon Nov 19 12:23:35 -05 2012


----- Original Message ----- 
From: Jim Matysek


It's been a few years since I last used cmuImport and I'm running into 
problems trying to import a single site from my backups that came from a 
5106R to a 5108R running on Aventurin{e}.

The backups are ftp'd to /home/sites/sitex/backups/admin.mainserver.com on 
the 5108R every night from the 5106R using the Solarspeed backup utility.

I want to create www.sitey.com on the 5108R from the backups. This site is 
to be set up on the XXX.XXX.XXX.XXX IP address, which of course is different 
than the IP address it came from on the 5106R. The command I use (as root) 
is:

/usr/sbin/cmuImport -d /home/sites/sitex/backups/admin.mainserver.com -i 
XXX.XXX.XXX.XXX -n "www.sitey.com"

Here's what I'm getting:

Reading config file: /etc/cmu/cmuConfig.xml
LogFile location is /home/cmu/cmu.log
exporting vsite existingsite.sitey.com
exporting user existinguser
We exported 0 vsites, 0 users, 0 lists

===> Checking Virtual Sites <===
===> Checking Users <===
Creating virtual site: www.sitey.com
ERROR: Vsite www.sitey.com was not created properly.
ERROR: You may have attempted to import a site with an IP address which has 
not been assigned to this OpenVZ VPS.
ERROR: Please assign that Vsites IP to this VPS first, or import to a 
different IP using the '-i <IP-Address>' switch.
Creating user: newuser
ERROR: Cannot find site group for user: newuser fqdn: www.sitey.com
... [this error is repeated for all users from www.sitey.com ]
creating mailing list: www.sitey.com-list1
ERROR: Cannot find site group for mailing list: www.sitey.com-list1 fqdn: 
www.sitey.com
... [this error is repeated for all mailing lists from www.sitey.com ]
Fixing UIDs and GIDs of all users by running 
/usr/sausalito/sbin/fix_user_UID_and_GID.pl.
Setting disk quota of 500 MB for virtual site: www.sitey.com
Setting disk quota of 100 MB for user: newser
...[repeated for each user from www.sitey.com ]
We imported 0 vsites, 0 users, 0 lists

And of course nothing is created. Any suggestions?

-jim

<<

Jim


The error says:
ERROR: You may have attempted to import a site with an IP address which has 
not been assigned to this OpenVZ VPS.


>From your Aventurine admin area, make sure that you have allowed the IP 
address for that VPS.  Then reboot that VPS for good measure.
Then try it. Or try adding a site with that IP from the admin.

Ken Marcus 




More information about the Blueonyx mailing list