打印

redhat as5.3 (Tikanga) syslog问题

redhat as5.3 (Tikanga) syslog问题

现在在redhat as5.3 (Tikanga) 下碰到一个挺奇怪的问题,想在这里请教一下!
我想配置一下syslog,/etc/syslog.conf配置好后
#service syslog start
# service syslog status
syslogd (pid 32009) is running...
klogd (pid 32012) is running..

此时我netstat -an|grep 514却发现514端口没有起来,这是为什么呢?
我用nmap扫描也发现:
PORT    STATE  SERVICE
514/udp closed syslog

TOP

要添加远程访问才行。添加"-r”
[root@dns ~]# cat /etc/sysconfig/syslog
# Options to syslogd
# -m 0 disables 'MARK' messages.
# -r enables logging from remote machines
# -x disables DNS lookups on messages recieved with -r
# See syslogd( for more details
SYSLOGD_OPTIONS="-rm 60"

TOP