Operating System - HP-UX
1753428 Members
4959 Online
108793 Solutions
New Discussion юеВ

Re: Is syslog, syslog everywhere?

 
SOLVED
Go to solution
Eric Coulter
Occasional Contributor

Is syslog, syslog everywhere?

In maintaining system standards and compatibility I need to create a loghost. We have a current established logging system but since letting syslog use remoting logging on a secure LAN disconnected from the internet (and thereby preventing non-corporate users viewing the traffic) would be more cost effective that's my route and I'm sticking to it. Now, the question is, is syslog the same everywhere? No. It's not. So how do I get syslog on HP-UX 11.x to log to Sun Solaris 8? If I can't so be it I have alternate plans. But I figure IF indeed syslog is a standard (BSD - gotta love it) then I can use it. If not then how do I:
a) tell syslog to log to a remote server
b) restart syslog to start logging
c) test syslog to make sure it works

Thanks,

Eric
2b || != 2b = ?
4 REPLIES 4
Patrick Wallek
Honored Contributor

Re: Is syslog, syslog everywhere?

There is a syslog daemon that is standard across most unix servers.

The file that syslog messages are logged to is DIFFERENT across platforms. In solaris, as you probably know, the file is /var/adm/messages.
John Poff
Honored Contributor
Solution

Re: Is syslog, syslog everywhere?

Hi,

The syslog is pretty standard on many flavors of Unix.

Here is a recent thread that discusses how to setup syslog to point to a remote server:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe2b73a1c04ffd61190050090279cd0f9,00.html

To stop and restart syslog you can either do:

/sbin/init.d/syslog stop
/sbin/init.d/syslog start

Or you can just send a HUP signal to the syslogd PID to make it re-read the config file.

To test it, you can use the 'logger' command to send messages to syslogd to go into the syslog file.

JP
Eric Coulter
Occasional Contributor

Re: Is syslog, syslog everywhere?

Thanks a lot gents. I wasn't sure how closely related syslog on HP-UX was to Solaris. That worked.
2b || != 2b = ?
Kelli Ward
Trusted Contributor

Re: Is syslog, syslog everywhere?

Hi Eric,

On a related sidenote, here is a pretty decent little Unix cross-reference, if your interested.

Happy Holidays,
Kel

http://www.unixguide.net/unixguide.cgi
The more I learn, the more I realize how much more I have to learn. Isn't it GREAT!