Plesk ftp not working Linux.

Plesk ftp not working Linux?

If you are unable to connect to ftp on your server, xinetd failing to start the service due to being unable to resolve the hostname is one possible cause.

Attempt a connection to the ftp daemon.

[root@linserv01 ~]# ftp localhost
Connected to localhost.localdomain.
421 Service not available, remote server has closed connection
ftp>

Check the system messages log for errors

tail - f /var/log/messages

Here we see the error that ProFTPD is unable to resolve the servers hostname.

Feb 21 07:22:03 linserv01 xinetd[1614]: START: ftp pid=7454 from=127.0.0.1
Feb 21 07:22:03 linserv01 proftpd[7454]: warning: unable to determine IP address of ‘linserv01’
Feb 21 07:22:03 linserv01 proftpd[7454]: error: no valid servers configured
Feb 21 07:22:03 linserv01 proftpd[7454]: Fatal: error processing configuration file ‘/etc/proftpd.conf’
Feb 21 07:22:03 linserv01 xinetd[1614]: EXIT: ftp status=1 pid=7454 duration=0(sec)

Add the hostname to /etc/hosts

nano -w /etc/hosts

Add

hostname ipaddress

i.e

linserv01 192.128.125.161

Now press ctrl +x to exit and save.

[root@linserv01 ~]# ftp localhost
Connected to localhost.localdomain.
220 ProFTPD 1.3.1 Server (ProFTPD) [127.0.0.1]
500 AUTH not understood
500 AUTH not understood
KERBEROS_V4 rejected as an authentication type
Name (localhost:root):

Now your Plesk ftp is working.

FTP, Linux, Plesk Linux, Virtual & Dedicated Servers , , , , , , ,

Leave a Reply

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

three × three =