Transfer accounts from directadmin

jdn1976

Member
Sep 21, 2020
12
1
1
Brazil
cPanel Access Level
Root Administrator
Hello, I have a cPanel server, and another server with DirectAdmin panel. I saw on WHM > Transfers > Transfer Tool, that have option to select DirectAdmin.
But when I try to connect to DirectAdmin server shows:

(XID ghqh7h) The system failed to connect to “xxx.xxx.xxx.50” on port “19000” because of an error: Connection refused

I already try do disable CSF on both servers.
Yes, I have my default SSH port set to 19000 and I have access root/admin on both servers.

What could be?

PS: I edit here my server IP to xxx just for security reasons
 

ankeshanand

Well-Known Member
Mar 29, 2021
209
63
103
India
cPanel Access Level
Root Administrator
Twitter
Connection refused refers to Firewall problems or IP Address banned problem or Port not opened. Kindly check any other firewall like DC Firewall or ufw blocking the port from public access or the Select Machine IP is banned from accessing the server. Alternatively, also check if port is opened and reachable by Other machines
 

jdn1976

Member
Sep 21, 2020
12
1
1
Brazil
cPanel Access Level
Root Administrator
Connection refused refers to Firewall problems or IP Address banned problem or Port not opened. Kindly check any other firewall like DC Firewall or ufw blocking the port from public access or the Select Machine IP is banned from accessing the server. Alternatively, also check if port is opened and reachable by Other machines
Like I said I already disable the CSF on both servers. I also add the IP address of the server on CSF and the port 19000 is set as open on firewall.
For example if I access on transfer tool using root (default) shows the error:

(XID svtfjd) The system failed to connect to “xxx.xxx.xxx.50” on port “19000” because of an error: Connection refused Failed to establish session and parse security token: 599 Internal Exception (Could not connect to 'xxx.xxx.xxx.50:2087': No route to host ) at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/cPanel/PublicAPI.pm line 526.

to access to ssh on directadmin server i use ssh -p19000 [email protected].50 but to access to directadmin panel i use another user. and when I use this user shows:

(XID ghqh7h) The system failed to connect to “xxx.xxx.xxx.50” on port “19000” because of an error: Connection refused

So are you saying that could be a datacenter issue?
 

ankeshanand

Well-Known Member
Mar 29, 2021
209
63
103
India
cPanel Access Level
Root Administrator
Twitter
Try this:
Code:
traceroute -T -p (Your Port) XXX.XXX.XXX.XXX
It will show you where the Connection gets refused. If it gets completed in the first steps only, It means that Your Server or Datacenter is blocking the connection and if it ends after reaching the remote server, It means remote server is blocking the connection
 

jdn1976

Member
Sep 21, 2020
12
1
1
Brazil
cPanel Access Level
Root Administrator
Are you able to make an SSH connection from the command line of the cPanel server to the DirectAdmin server? If that isn't working, the Transfer Tool will also not work properly.
The DirectAdmin server access to SSH on cpanel server, but the cpanel server is not able to access to SSH directadmin server. Return the error:

Segmentation fault (core dumped)

I try with CSF disabled.
 

jdn1976

Member
Sep 21, 2020
12
1
1
Brazil
cPanel Access Level
Root Administrator
Try this:
Code:
traceroute -T -p (Your Port) XXX.XXX.XXX.XXX
It will show you where the Connection gets refused. If it gets completed in the first steps only, It means that Your Server or Datacenter is blocking the connection and if it ends after reaching the remote server, It means remote server is blocking the connection
I made the traceroute test, and reach to the directadmin server. Is not seems to be a route issue.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
14,385
2,253
363
cPanel Access Level
Root Administrator
A core dump from the SSH process? That doesn't seem good, so there could be something else going on with the cPanel machine. If you continue to get core dumps you may want to check /var/log/messages to see if there are some overall issues with SSH on the system, or you can troubleshoot the core dump file itself: