• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved port 21 already used

DIEEX1

New Pleskian
Hi all, i have a problem with TekBase from teklab.de with plesk 12.5 on my server. The TekBase webinterface I must bring to a hear update version. These need the FTP login data. If I have this added to port 21 and try to call the WebFTP on I get the message that the FTP server is offline. With port 22 I get the message: 504 Gateway Time-out. I open an FTP program and to log in now with the FTP data port 22 opens to a confirmation of the ssl certificate, the connection to the server and I can see the directories, if it is running. When I type in the ssh console /etc/init.d/xinetd status I get this error: port 21 address, we already used.

Code:
xinetd.service - LSB: Starts or stops the xinetd daemon.
   Loaded: loaded (/etc/init.d/xinetd)
   Active: active (running) since Wed 2016-09-28 14:25:55 CEST; 5h 14min ago
  Process: 585 ExecStart = / etc / init.d / xinetd start (code = exited, status = 0 / SUCCESS)
   CGroup: /system.slice/xinetd.service
           ââ624 / usr / sbin / xinetd -pidfile /run/xinetd.pid -stayalive -inetd_compat -inetd_ipv6

September 28 15:38:33 rs000553.fastrootserver.de proftpd [4816]: 127.0.0.1 - Failed binding to ::, port 21: The address is already in use
September 28 15:46:06 rs000553.fastrootserver.de proftpd [4958]: 127.0.0.1 - Failed binding to ::, port 21: The address is already in use
September 28 16:30:36 rs000553.fastrootserver.de proftpd [5341]: 127.0.0.1 - Failed binding to ::, port 21: The address is already in use
September 28 16:52:16 rs000553.fastrootserver.de proftpd [5609]: 127.0.0.1 - Failed binding to ::, port 21: The address is already in use
September 28 16:59:45 rs000553.fastrootserver.de proftpd [5659]: 127.0.0.1 - Failed binding to ::, port 21: The address is already in use
September 28 18:02:42 rs000553.fastrootserver.de proftpd [6323]: 127.0.0.1 - Failed binding to ::, port 21: The address is already in use
September 28 18:10:06 rs000553.fastrootserver.de proftpd [6465]: 127.0.0.1 - Failed binding to ::, port 21: The address is already in use
September 28 18:17:53 rs000553.fastrootserver.de proftpd [6523]: 127.0.0.1 - Failed binding to ::, port 21: The address is already in use
September 28 19:11:11 rs000553.fastrootserver.de proftpd [7116]: 127.0.0.1 - Failed binding to ::, port 21: The address is already in use
September 28 19:28:00 rs000553.fastrootserver.de proftpd [7414]: 127.0.0.1 - Failed binding to ::, port 21: The address is already in use
root @ rs000553: ~ #


I then tried after the komando | find "netstat -putan grep 21" which runs out process on the port 21st It came out:
tcp6 0 0 ::: 21 ::: * LISTEN 624 / xinetd

How do I do the process xinetd clear is proftpd port 21 intended for the FTP server? How can I resolve the FTP running again.
Many Many Thanks.
greetings
 
Solution: ftp stood serverType standalone needs but on serverType inetd are. After ändrung in proftpd config I could connect via WebFTP via the Web interface of TekBase TekLab.
 
Back
Top