[Solved] “Ftp connection refused” error in Kloxo

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. 🙂

MySQL server has gone away – error while restoring the DB
1045 Cannot log in to the MySQL server : PhpMyAdmin error
ERROR: Malformed database for clamd

Post navigation

Arunlal A

Senior System Developer at Zeta. Linux lover. Traveller. Let's connect! Whether you're a seasoned DevOps pro or just starting your journey, I'm always eager to engage with like-minded individuals. Follow my blog for regular updates, connect on social media, and let's embark on this DevOps adventure together! Happy coding and deploying!

Leave a Reply

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