Another cPanel Import Problem

As you remember, I was the one with the problem before.

Here’s the new one, you guys be the judge.

I figured it created a bogus account or something, but there’s no directory/account for this user on the machine!

http://enfinityservers.com/wtf.png

This error usually means a SiteWorx account with this domain already exists under a reseller account.

Try doing this to fix it:

On your server as root, run
/home/interworx/bin/package.deactivate.pex --domlist=wellsspringschool.net

Then try importing the account again.

Let us know if that works. If it doesn’t it’d probably be best if you opened a support ticket so we can take a look.

Do you have any more information about the steps that lead to this? Was it simply “try to import the cpanel backup”? Or were there steps previous to this, creating a siteworx account for this domain manually and deleting it, or trying to import the account multiple times, perhaps under a reseller account?

Paul

It was just a straight cPanel import. I tried running the script you just gave me and I get an error that “wellsspringschool.net is not a master.”

if you don’t have any further ideas I suppose I could open a ticket. Kind of a hassle for an account that only has 1MB of HTML files. I could just manually replace them =p.

-CJ

Here’s ANOTHER users account I’m trying to restore from a local backup. It seems the cPanel import only works 1 in 1000 times :(.

? Archive file : /home/backups/backup-6.21.2005_22-31-32_shrimp13.tar.gz
? Working directory : /tmp/cpanelimporto4Yx5J
? Archive extracted successfully
? Setting IP Address : 205.138.199.194
? Setting Reseller ID : 1
? loading import data
? Loaded Domain : godsgamers.net
? Loaded package option : Storage Space => 999999999
? Loaded package option : Bandwidth => 0
? Loaded package option : E-mail Aliases => 0
? Loaded package option : E-mail Autoresponders => 0
? Loaded package option : E-mail Boxes => 999999999
? Loaded package option : E-mail Groups => 0
? Loaded package option : FTP Accounts => 999999999
? Loaded package option : MySQL Databases => 999999999
? Loaded package option : MySQL Users => 0
? Loaded package option : Pointer Domains => 0
? Loaded package option : Subdomains => 999999999
? Loaded package option : CGI Access => 1
? Loaded package option : Crontab Access => 0
? Loaded package option : Resolve DNS Names => 0
? Loaded package option : ScriptWorx => 0
? Loaded package option : SSL Access => 0
? Loaded package option : Burstable => 0
? Loaded package option : Save Web Transfer Logs => 0
? Loaded master user :
? LG_LOADED_MASTER_LANG : en-us
? Loaded unix user : godsgame
? LG_LOADED_EMAIL_ALIAS : default => shrimp13
? LG_LOADED_DATABASE : shrimp13
? LG_LOADED_SQL_FILE : shrimp13 => /tmp/cpanelimporto4Yx5J/backup-6.21.2005_22-31-32_shrimp13/mysql/shrimp13.sql
? LG_LOADED_DATABASE : ipb
? LG_LOADED_SQL_FILE : ipb => /tmp/cpanelimporto4Yx5J/backup-6.21.2005_22-31-32_shrimp13/mysql/shrimp13_ipb.sql
? LG_LOADED_DATABASE : poll
? LG_LOADED_SQL_FILE : poll => /tmp/cpanelimporto4Yx5J/backup-6.21.2005_22-31-32_shrimp13/mysql/shrimp13_poll.sql
? LG_LOADED_DATABASE : script
? LG_LOADED_SQL_FILE : script => /tmp/cpanelimporto4Yx5J/backup-6.21.2005_22-31-32_shrimp13/mysql/shrimp13_script.sql
? LG_LOADED_MYSQL_USER : godsgame_godsgam@localhost
? LG_LOADED_MYSQL_USER : godsgame_igame@localhost
? LG_LOADED_MYSQL_USER : godsgame_ipb@localhost
? LG_LOADED_MYSQL_USER : godsgame_ladder@localhost
? LG_LOADED_MYSQL_USER : godsgame_lmpro@localhost
? LG_LOADED_MYSQL_USER : godsgame_phpb1@localhost
? LG_LOADED_MYSQL_USER : godsgame_poll@localhost
? LG_LOADED_MYSQL_USER : godsgame_script@localhost
? ##LG_LOADED_FTP_ACCOUNT : public@godsgamers.net =>
? ##LG_LOADED_FTP_ACCOUNT : kbgameplanet@godsgamers.net =>
? ##LG_LOADED_FTP_ACCOUNT : shrimp13@godsgamers.net =>
? LG_SKIPPING_DEFAULT_FTP_USER
? ##LG_LOADED_FTP_ACCOUNT : shrimp13_logs@godsgamers.net =>
? /home/interworx/include/User.php(290):
? ----- ASSERTION FAILED BEGIN -----
? ASSERTION FAILED: /home/interworx/include/User.php (290):
? ----- ASSERTION FAILED END -----
?
?
? ----- DEBUG STACKTRACE BEGIN -----
? /home/interworx/include/IWorxDebug.php debug_printstacktrace (273)
? /home/interworx/include/IWorxDebug.php debug_die (180)
? /home/interworx/include/IWorxDebug.php debug_assert (85)
? 0 iworx_debug_assert (0)
? /home/interworx/include/User.php assert (290)
? /home/interworx/include/import/Import.php setemail (2037)
? /home/interworx/include/import/Import.php _createsiteworxaccount (198)
? /home/interworx/bin/import.php importarchive (176)
? /home/interworx/bin/import.php import (73)
? ----- DEBUG STACKTRACE END -----
?

SanchezTheLlama,

The last issue (and most issues reported thus far) have been due to anomolies in the cpanel backup file (missing emails, users, etc) that are present on all of our test boxes and have been present in all of our test imports. We’ll have an update out this weekend that will make the import process a bit less rigid and better able to adapt to these missing bits. In the meantime, if you have a ticket open please update it with the new info and we’ll help you out getting it set.

Chris

I’ve already patched the box, and the import worked as expected. It definately was the missing “master user” problem again.

As for the “wellspringschool.net is not a master” message when running package.deactivate.pex, you will get this message if 1.) the domain is not the master domain or 2.) the domain doesn’t exist on the box. In your case Chris, the account was already deleted at some point, so re-running package.deactivate.pex caused this error message. We’ll fix the script to make it a little more clear.