ARG: Xinetd is listening on port tcp:514????@

Ben Russo ben at muppethouse.com
Tue May 18 15:21:24 UTC 2004


Keg wrote:

> 
> I have shutdown syslog and looked at everything in /etc/xinetd.conf and 
> /etc/xinetd.d/*  and cannot find what is listening on TCP port 514.

> What is binding to this port???

It is probably your syslog daemon.
Try "netstat -nap | grep 514"
or

[root at nms log]# grep 514 /etc/services
shell           514/tcp         cmd             # no passwords used
syslog          514/udp
[root at nms log]# netstat -nap | grep 514
tcp        0      0 0.0.0.0:514             0.0.0.0:* 
LISTEN      29964/syslog-ng
udp      288      0 0.0.0.0:514             0.0.0.0:* 
         29964/syslog-ng
[root at nms log]# lsof -i | grep syslog
syslog-ng 29964    root    3u  IPv4 1083907377       TCP *:shell (LISTEN)
syslog-ng 29964    root    5u  IPv4 1083907378       UDP *:5050
syslog-ng 29964    root    6u  IPv4 1083907379       UDP *:syslog
syslog-ng 29964    root    8u  IPv4 1083907383       UDP 
nms.myco.com:42822->otherhost:5050






More information about the redhat-list mailing list