1839588 Members
2466 Online
110151 Solutions
New Discussion

Remote logging help

 
SOLVED
Go to solution
Larry Allhands
Occasional Contributor

Remote logging help

I have set up a remote logging server running RedHat Linux 7.0 in ix86 platform. My linux servers seem to be able to send their logs to it, but my HPUX server do not. Here are the configurations for the servers.

Logging server config(RedHat Linux 7.0):
Hostname: logserver

/etc/services has following entry:
syslog 514/udp syslogd

/etc/rc.d/init.d/syslog has the following entry
daemon syslogd -rm 0

When I run a ps I get the following:
root 807 1 0 Nov6 ? 00:00:00 syslogd -rm 0

Client config (HPUX 11):

/etc/services has the following entry:
syslog 514/udp syslogd

/etc/syslog.conf has the following entry:
*.* @logserver

/etc/hosts has the following entry
192.168.25.16 logserver

When I run a ps I get the following:
root 401 1 0 Nov 3 ? 0:01 /usr/sbin/syslogd -D

The name "logserver" resolves properly and I can ping the logserver from the client and vice versa. I believe I have the RedHat server configured properly because my other RedHat servers log to it successfully.

Any suggestions?
Veni, vidi, vici
3 REPLIES 3
Patrick Wallek
Honored Contributor
Solution

Re: Remote logging help

2 Things:

I think there is a combination of things here:

Try this in your syslog.conf file:

*.info [TAB] @loghost

There must be a TAB between the *.info and @loghost.

Excerpt from syslog man page:

Lines in the configuration file consist of a selector to determine the message priorities to which the line applies and an action. The action field is separated from the selector by one or more tabs.
Larry Allhands
Occasional Contributor

Re: Remote logging help

Actually there was a tab - it just didn't show in the post. Thanks, I'll try *.info
Veni, vidi, vici
Larry Allhands
Occasional Contributor

Re: Remote logging help

That was it *.info instead of *.* Thanks a bunch!
Veni, vidi, vici