syslog not binding to port 514 udp
Ed Greshko
Ed.Greshko at greshko.com
Tue Jan 22 12:10:27 UTC 2008
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 at 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 at greshko.com
>> <mailto:Ed.Greshko at 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 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.
>>
>> --
>> fedora-list mailing list
>> fedora-list at redhat.com <mailto:fedora-list at redhat.com>
>> 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.
More information about the fedora-list
mailing list