Operating System - HP-UX
1836528 Members
3858 Online
110101 Solutions
New Discussion

Logs not getting shipped to syslog server

 
boomerang
Frequent Advisor

Logs not getting shipped to syslog server

Hi Admins,

Logs not getting shipped to syslog server.

The below is entry has been made in /etc/syslog.conf (where syslog server ip is 10.10.12.16),debug and @ is separated with tab.

*.debug @10.10.12.16

syslogd is running and 10.10.12.16 is reachable from hostmachine.

My need to point the logging into the syslog server.the configuration is working fine in other servers.

Please suggest.
7 REPLIES 7
R.O.
Esteemed Contributor

Re: Logs not getting shipped to syslog server

Did you restart the syslogd daemon?

Regards,
"When you look into an abyss, the abyss also looks into you"
boomerang
Frequent Advisor

Re: Logs not getting shipped to syslog server

yes, I had restarted
stephen peng
Valued Contributor

Re: Logs not getting shipped to syslog server

try not to send this message to syslog server but to local syslog.log, see what would happen.
boomerang
Frequent Advisor

Re: Logs not getting shipped to syslog server

Logs are getting logged in syslog.log
R.O.
Esteemed Contributor

Re: Logs not getting shipped to syslog server

Is the port 514 for remote system logging reachable in the syslog server from your system?
Try "telnet 10.10.12.16 514"

Regards,
"When you look into an abyss, the abyss also looks into you"
boomerang
Frequent Advisor

Re: Logs not getting shipped to syslog server

syslog server (10.10.12.16) is windows machine
S. Ney
Trusted Contributor

Re: Logs not getting shipped to syslog server

Maybe try sending one element to your remote log server?

For example
mail.debug @10.10.12.16
*.alert;mail.none;local5.none;auth.none;daemon.none /var/adm/syslog/syslog.log

That would send all mail to your log server, no mail, ftp,auth or daemons to your syslog and only alert level or higher to syslog.

I've also attached an old document by Bill Hassell dated from 2004 that I download from the web. It has a how to redirect telnet and a script for syslog.