• 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

Why do I need to kill a process before I use proftpd?

T

thedust2010

Guest
Every time our server restarts we can't log in to FTP on our web server. To fix the problem, I use the command:

netstat -pant

Then I'll see a list of active processes:

tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 2102/couriertcpd
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1946/portmap
tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN 2230/xinetd
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 2230/xinetd
tcp 0 0 206.57.25.70:53 0.0.0.0:* LISTEN 2176/named
tcp 0 0 206.57.25.69:53 0.0.0.0:* LISTEN 2176/named

I'll then kill the process that is using port 21:

kill 2230

And then everything works fine. But why is this?? Anyone know why this is happening?
 
Back
Top