[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: syslog not binding to port 514 udp



joe shoemaker wrote:
I tried that. It doesn't work either. syslog never binds to Port 514. Anyone knows why this is?

You didn't mention if you were using F8 or another version. In F8 the file to edit is /etc/sysconfig/rsyslog. In other it is /etc/sysconfig/syslog and I modified mine and restarted.

It works as expected....

[root f8 sysconfig]# netstat -nap | grep 514
udp 0 0 0.0.0.0:514 0.0.0.0:* 2527/rsyslogd udp 0 0 :::514 :::* 2527/rsyslogd


On Jan 22, 2008 12:24 AM, Ed Greshko <Ed Greshko greshko com <mailto:Ed Greshko greshko com>> wrote:

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

    --
    fedora-list mailing list
    fedora-list redhat com <mailto:fedora-list redhat com>
    To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list




--
Q:	Know what the difference between your latest project
	and putting wings on an elephant is?
A:	Who knows?  The elephant *might* fly, heh, heh...


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]