syslog startup daemon script
I need to configure my syslog daemon to allow for remote hosts to connect. When I do a netstat -an it seems that I'm not listening on 514.
here is a copy of my sylog daemon, any help is appreciated. # 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(8) for more details SYSLOGD_OPTIONS="-m 0 -r" # Options to klogd # -2 prints all kernel oops messages twice; once for klogd to decode, and # once for processing with 'ksymoops' # -x disables all klogd processing of oops messages entirely # See klogd(8) for more details KLOGD_OPTIONS="-x" |
Right ... did you actually read
Code:
man syslogd In your problem description I can't see anything about having checked /etc/services... Or a -h flag ... for that matter: Quote:
Tink |
I configured the /etc/services to start udp 514, but when I run netstat -an 514 is not in a listening state. I saw your message about -h option, but don't know if applicable here. Your thoughts are appreciated.
|
add -r, too :)
Cheers, Tink |
I appoligize for my lack of understanding, but I need to put the -r in the /etc/services as well? If so is it supposed to look like this?
biff 512/udp comsat login 513/tcp who 513/udp whod shell 514/tcp cmd # no passwords used syslog -r 514/udp printer 515/tcp spooler # line printer spooler printer 515/udp spooler # line printer spooler I understand the need to study the literature, but I haven't seen anything that indicates this, only to put it in the syslogd file? So please bear with me. Thanks for your help!! |
Actually the flags look ok. Maybe a stupid question but did you restart syslog after editing the init script?
Also some distros have an /etc/sysconfig/syslog file where option variables are defined for it, did you look at that? |
Yeah I restarted syslog, and I do have that file location changed.
|
All times are GMT -5. The time now is 07:12 PM. |