Re: syslog not binding to port 514 udp

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

 



Ed Greshko wrote:
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.

Actually, you did say FC6....  Sorry...


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@xxxxxxxxxxx <mailto:Ed.Greshko@xxxxxxxxxxx>> 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@xxxxxxxxxx <mailto:fedora-list@xxxxxxxxxx>
    To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list






--
'Tis the dream of each programmer,
Before his life is done,
To write three lines of APL,
And make the damn things run.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux