1758616 Members
2095 Online
108874 Solutions
New Discussion юеВ

Re: syslogd

 
Nobody's Hero
Valued Contributor

syslogd

syslogd man pages says.....

"If INET domain sockets are not configured,syslogd does not receive messages forwarded from other hosts, nor does it forward messages."


where do I configure an INET domain socket and/or how do I check to see if I have one configured?
UNIX IS GOOD
4 REPLIES 4
Uday_S_Ankolekar
Honored Contributor

Re: syslogd

look for port 514 in /etc/services file , This is for remote system logging. If it's not commented by # then that port is enabled , or try netstat -an | grep 514

Good luck

-USA..
Good Luck..
Geoff Wild
Honored Contributor

Re: syslogd

You need :

syslog 514/udp # remote system logging


In /etc/services - if not there, add it, then inetd -c

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Nobody's Hero
Valued Contributor

Re: syslogd

Yes, I see 514 enabled. I am still having a problem getting my cisco router and PIX to log to my syslog.log on my HPUX 11.0 box.

I started /usr/sbin/syslogd -D -f /etc/syslog.conf but I still don't see any messages from my router.

I tried a test from the router. I entered ""conf t" and the "end". It is supposed to send a message saying ""%SYS-5-CONFIG_I: Configured from console by on vty0" but I dont see anything. Not sure what the problem is. Any help is appreciated.
UNIX IS GOOD
Geoff Wild
Honored Contributor

Re: syslogd

There's some good documentation on:

http://www.cisco.com/warp/public/477/RME/rme_syslog.html

That might help...

Did you kill -HUP after configuration?

Rgds..Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.