FTP service cannot be started by xinetd if IPv6 is disabled

Created:

2016-11-16 13:09:37 UTC

Modified:

2017-07-02 20:31:38 UTC

4

Was this article helpful?


Have more questions?

Submit a request

FTP service cannot be started by xinetd if IPv6 is disabled

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 10.4 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux

Symptoms

FTP service fails to start with the following error:

 2011-12-28T10:06:42.255300+01:00 server xinetd[503]: socket creation failed (Address family not supported by protocol (errno = 97)). service = ftp
2011-12-28T10:06:42.255306+01:00 server xinetd[503]: Service ftp failed to start and is deactivated.`

Cause

The issue is caused by disabled IPv6 support on the host:

 # grep v6 /etc/modprobe.conf
alias ipv6 off
options ipv6 disable=1
# grep -i v6 /etc/sysconfig/network
NETWORKING_IPV6=no
IPV6FORWARDING=yes

Resolution

In /etc/xinetd.d/ftp_psa , remove the line as shown on the example below:

service ftp
{
flags = IPv6 <== REMOVE
flags = IPv4 <== ADD
disable = no
socket_type = stream
protocol = tcp
wait = no
user = root
instances = UNLIMITED
server = /usr/sbin/in.proftpd
server_args = -c /etc/proftpd.conf
}

NOTE: this changes could be lost after Plesk upgrade.

Have more questions? Submit a request
Please sign in to leave a comment.