[CentOS] how tell what process has port 22
Oliver Schulze L.
oliver at samera.com.pyThu Mar 23 08:07:21 UTC 2006
- Previous message: [CentOS] how tell what process has port 22
- Next message: [CentOS] httpd not starting after 4.3 update
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Have you updated glibc too? netstat -tunp | grep 22 should tell which process is using port 22, also try: netstat -tunl | grep 22 to see if someone is listening in port 22 After I updated to latest openssh, I got the same message in /var/log/secure, but none process was using port 22. But, I still can login via ssh: # tail /var/log/secure Mar 23 04:05:53 mpl sshd[17969]: Server listening on :: port 22. Mar 23 04:05:53 mpl sshd[17969]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use. # ssh localhost root at localhost's password: .... Will try rebooting the server .. HTH Oliver Jerry Geis wrote: > I had trouble with the update to 4.3. > > /usr/sbin/sshd -d -D is telling me some other process is > using port 22 and cant bind to it. > > How do I tell what program that is and stop it? > > Thanks, > > Jerry > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos -- Oliver Schulze L. <oliver at samera.com.py>
- Previous message: [CentOS] how tell what process has port 22
- Next message: [CentOS] httpd not starting after 4.3 update
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list