If you are getting “Ftp connection refused” error in Kloxo, then you can follow this post.

Error:

ftp xxx.xx.xx.xx
ftp: connect: Connection refused
ftp> 
# netstat -plan | grep :21

Solution:

Make sure you are running pure-ftpd service. If so, then downgrade pure-ftpd.

# yum -y downgrade pure-ftpd

Do an upcp

# sh /script/upcp
# sh /script/cleanup

Do an yum update

# yum -y update

Restart xinetd service

# service xinetd restart

Sample Output

# service xinetd restart
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]

Now, you will be able to connect to FTP.

# netstat -plan | grep :21
tcp        0      0 0.0.0.0:21                  0.0.0.0:*                   LISTEN      10413/xinetd  

Make sure that the services are ON in chkconfig;

chkconfig pure-ftpd on
chkconfig xinetd on

that’s it. ?

Leave a Reply

Your email address will not be published. Required fields are marked *