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?
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?