syslog not binding to port 514 udp

Ed Greshko Ed.Greshko at greshko.com
Tue Jan 22 05:24:48 UTC 2008


joe shoemaker wrote:
> I added the -r option in /etc/init.d/syslog and /etc/sysconfig/syslog. 
> When I restarted the syslog, it's not binding to port 514 udp, any 
> reason why?
> 
> /etc/services:
> syslog          514/udp
> 
> /etc/sysconfig/syslog:
> SYSLOGD_OPTIONS="-rm 0"

Just a guess here...but shouldn't it be

SYSLOGD_OPTIONS="-r -m 0"


> 
> /etc/init.d/syslog:
> # Source config
> if [ -f /etc/sysconfig/syslog ] ; then
>         . /etc/sysconfig/syslog
> else
>         SYSLOGD_OPTIONS="-rm 0"
>         KLOGD_OPTIONS="-2"
> fi
> 
> [root at localhost test]# netstat -np |grep syslog
> unix  3      [ ]         DGRAM                    28809  5348/syslogd    
>     /dev/log
> 
> Running fedora 6.
> 
> thanks.
> 


-- 
Conformity is the refuge of the unimaginative.




More information about the fedora-list mailing list