Help - Search - Members - Calendar
Full Version: Account Transfer Problems
The Planet Forums > Control Panels > cPanel/WHM
emkay
I'm trying to use WHM's Account Transfer feature, to try and transfer a few of my Ensim acounts to the new cpanel server, but the script just throws errors each time.

If I use the "Copy an account from another server" option I get this error:

Creating Scripts on Remote Server...
The password you provided is not correct.
Creating Scripts on Remote Server...
The password you provided is not correct.
Creating Scripts on Remote Server...
The password you provided is not correct.
Unable to create scripts.

...but the passwords I provided are all definitely correct. I use them daily to manage my server.

If I use the "Copy multiple accounts from another server" option I get this error:

Copying copy script...
Timeout ...
Retrying Copying copy script...
Timeout ...
Retrying Copying copy script...
Timeout ...
Unable to copy script

Any suggestions?

Thanks,
mk
Snow Wolf
the only thing i can think of (since i've not done this yet) is ask if you have a firewall on the server you're transferring from and if the port CPanel is trying to connect to has been opened?
emkay
Well I thought you had the answer, but even after changing the firewall for the new IP still no go.

The only change is when using the 'multiple account' option instead of getting a timeout I now get the incorrect password error.
Snow Wolf
maybe if you reset your passwords to match between the servers (ie - one for CPanel server and other server are the same) might work? Sometimes when i get password errors, I just reset them and they work.... perhaps it's wanting a different one than you're using..
hokiethang
are you using your root password or the admin password? Root is required to use that unless, you do the copy sites using account information or something like that. If that doesnt work, id guess, reset the passwords and try it again.
emkay
I'm using what the directions specify, which is my root password, as well as my admin account/password, since root can't directly login.

The problem clearly isn't with the passwords because I use them every day to sign on to the server via SSH. There is something wrong in the communication between the servers.

mk
hokiethang
hrm, i would send a question about it to support through http://www.cpanel.net. I have done it with root and it worked fine, but then again i had my old server set so root could log in directly.
Networkologist
emkay.

You don't need the admin password. Just root.

For a single transfer just enter the ip and root pwd and the account name.

I was under the same misconception until one day I just tried the above and, Voila!
emkay
Networkologist-

Still doesn't work with only root password. I get:

Creating /scripts/...
The password you provided is not correct.
Creating /scripts/...
The password you provided is not correct.
Creating /scripts/...
The password you provided is not correct.
Copying copy script...
Networkologist
emkay.

The main IP of your box? Not the accounts IP - and the root pwd and the account name is all you should need. And of course checking ensim or such.
emkay
QUOTE
Originally posted by Networkologist
The main IP of your box? Not the accounts IP - and the root pwd and the account name is all you should need. And of course checking ensim or such.


I've tried both Copy and Account from Another Server (#1) and Copy Multiple Accounts from Another Server (#2).

#1 Main IP of box, Root Password, Username to copy (tried user, user@domain.com and user#domain.com), checked enXim 3.x, tried adding and not adding user with su access (because I have root login disabled)

#2 Main IP of box, Root Password, enXim checked, tried both with and without adding user with su access

Still no go...

mk
Networkologist
QUOTE
#1 Main IP of box, Root Password, Username to copy


So when you login to the ensim box as admin and su - the password you use is the password you're using in WHM? And it's the correct IP and account name?

If so, I'm out of ideas.
emkay
QUOTE
Originally posted by Networkologist
So when you login to the ensim box as admin and su - the password you use is the password you're using in WHM? And it's the correct IP and account name?

If so, I'm out of ideas.


The password isn't the same as the WHM password. Do they need to be the same? I suppose I'll just try and see for myself.

All else is correct.

Thanks,
mk
emkay
::banging head on desk::

Still no go...
Networkologist
I know how you feel mad.gif

I'm sorry for the confusion. I meant the password for root when you su - on your ensim box is the same password you're entering in the Copy Accounts from Another Server screen.

Not your Login dialog to WHM.
aussie
QUOTE
Originally posted by emkay
::banging head on desk::

Still no go...


I know i know! Whats it worth to you this secret information? icon_biggrin.gif
emkay
How about my firstborn? He has quite the attitude but I'm sure he'll grow out of it, eventually. We even have him housebroken.

So, can we call it a deal?
aussie
:confused: Strange reply but here is your clue;;

ROOT YES/NO?
ADMIN
SSH

From that you should be able to work it out!
emkay
You asked what the secret information was worth. I offered you my firstborn - what a deal! Were you looking for something else?

I don't think you solved my problem though, or else I didn't understand your post.

If you mean the problem is that I can't login directly as root via SSH, I know. It's why I enter my admin/password info as well. I've tried it entering this info and not entering it. I don't know what else to do.

If this isn't what you're saying I don't know how to solve your puzzle.

mk
aussie
QUOTE
Originally posted by emkay
You asked what the secret information was worth. I offered you my firstborn - what a deal! Were you looking for something else?

I don't think you solved my problem though, or else I didn't understand your post.

If you mean the problem is that I can't login directly as root via SSH, I know. It's why I enter my admin/password info as well. I've tried it entering this info and not entering it. I don't know what else to do.

If this isn't what you're saying I don't know how to solve your puzzle.

mk


The copy will not work if you have to login as admin then root, so login into your Ensim box.

cd /etc/ssh
pico sshd_config
find and change..
PermitRootLogin No
or
#PermitRootLogin yes
save
/etc/rc.d/init.d/sshd restart

Now you can log directly in as root

I always used Copy an account from another server with account password however you can now possibly try Copy an account from another server. Fill in only the first three fields. If that doesnt work you have more problems then at first I though you did. Then check your release of cPanel. Upgrade to 6.4.0 E1.
emkay
The copy will not work if you have to login as admin then root, so login into your Ensim box.

Why do they offer that as a bloody option then??? Argh. When I see--

User with su access (only if root ssh login is disabled):
User with su access password:

I assume the system is fine with that setup. Silly me.

I assume your lack of response on my offer means you're not interested. Sorry I couldn't find something better. Thanks for the help anyway.

mk
aussie
What offer is that? Still looking.......... :confused:
emkay
Great copy system. Not. I finally got connected and you can only copy the admin user of each account. The meat of most of my sites isn't there. You also can only have one user called admin on the entire cpanel server, sort of similar to the RaQ setup, so you can only copy one admin account without renaming everything on the Ensim server. I guess I'll be going for ncftp instead.

The offer--
aussie: I know i know! Whats it worth to you this secret information?
mk: How about my firstborn?

Advantages: potty-trained, fairly self-entertaining, frequently unintentionally entertaining
Disadvantages: occasional spurts of attitude and you better have good medical insurance since he's a bit accident prone
aussie
Well, cPanel does not allow more then one user to log in. What i mean by that is that only 1 admin per account, not multiple people logging into separate GUI's based on set access. Those are only email accounts anyway i dont see the reason why anyone would need a GUI to use email. If you want something like that give them the MAIL ONLY theme and give them an email account.

Your offer, too much trouble with that kid. Keep him mate!
emkay
Originally posted by aussie
Well, cPanel does not allow more then one user to log in. What i mean by that is that only 1 admin per account, not multiple people logging into separate GUI's based on set access. Those are only email accounts anyway i dont see the reason why anyone would need a GUI to use email. If you want something like that give them the MAIL ONLY theme and give them an email account.

Most of the websites on my server are many different parts each run by a separate person, sort of like a mini-isp. I.E. there is a site devoted to say basket-weaving at http://www.domain.com/~user1/ and one for fly-fishing at http://www.domain.com/~user2/ and one for coke can collections at http://www.domain.com/~user3/, etc.

Even the sites all devoted to the same theme are maintained by many different people who keep their bits of the sites in their user directories.

So, the info I need to transfer is the stuff in the user1, user2, user3, etc directories, not the stuff in the main domain admin account.

Your offer, too much trouble with that kid. Keep him mate!

It's probably for the best. I'm quite fond of him and the thought of bearing another gives me the willies.

mk
Luciffer
I love you guys.. you can have my damn firstborn whenever I have the misfortune of having one! icon_biggrin.gif

Had the exact same problem which you guys just fixed for me!! Thanx!!
B-H
QUOTE
Originally posted by aussie
The copy will not work if you have to login as admin then root, so login into your Ensim box.

cd /etc/ssh
pico sshd_config
find and change..
PermitRootLogin No
or  
#PermitRootLogin yes
save
/etc/rc.d/init.d/sshd restart

Now you can log directly in as root


Thought I'd bump this since I had the same problem and enabling root login seems to fix the Cpanel Transfer problem.

This CPanel transfer works great moving from Ensim. Seems to even have moved my cgi-bin, which was a question mark for me since I didn't really want to re-upload my cgi on 100+ sites.
TheGenie
QUOTE
Originally posted by emkay
I've tried both Copy and Account from Another Server (#1) and Copy Multiple Accounts from Another Server (#2).

#1 Main IP of box, Root Password, Username to copy (tried user, user@domain.com and user#domain.com), checked enXim 3.x, tried adding and not adding user with su access (because I have root login disabled)

#2 Main IP of box, Root Password,  enXim checked, tried both with and without adding user with su access

Still no go...

mk



Well, This is the problems. last month I was trying to move around 50 sites from Ensim Webbpliance 3.1 to CPanel 6 and I lost many hours until I removed the domain from the usernames. In Ensim the domain added to the users with namebased and not the IP based but CPanel never added the domain. when I entered the usernames without the domain (for namebased and IP Based Sites) I was able to move all the site in few time using all the methods available (copy account with the root password, copy account with account password, or copy multiple account) without anyproblem but keep your eye on the MySQL databases sometimes it get copied with the site and sometimes don't and I don't know why.




Ahmed
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.