Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Nader Mustafa asked whether Informix messages could go to syslog instead of MSGPATH, on AIX 5.2. Norma Sebastian suggested pointing MSGPATH at the system log file if permissions allow. Marcus Haarmann proposed a named pipe as MSGPATH, read by a script that forwards to syslog with the logger command. He had not tried it with Informix. No confirmation.
Auto-generated by Claude from the posts below — may be imperfect; read the full thread.
What do you mean by syslog? I am solaris, IDS 9.4, there is no "syslog"
in my onconfig. Perhaps you mean server system log (such as on solaris
/var/adm/messages)? Interesting idea, could be messy in your syslog,
but if your perms on your syslog allow the informix engine owner (i.e.
unix login informix user) to write to syslog (i.e. /var/adm/messages),
simply change the MSGPATH in onconfig to whatever your syslog is.
============================================================
The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader
of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the
intended recipient, you are hereby notified that any reproduction,
dissemination or distribution of this communication is strictly
prohibited. If you have received this communication in error,
please notify us immediately by replying to the message and
deleting it from your computer. Thank you. Tellabs
============================================================
Sorry, I am on aix5.2 and would like to investigate the idea of centralizing
all error logging to the system syslog. Not sure if that is doable?
syslog.conf points to a Linux server where all the messages get logged.
Hi,
Not sure if this exists on AIX, but there might be a way to log through
a named pipe and use the logger command to post everything to syslog.
Make a new pipe using mknod
mknod /var/log/ponline.log p
chown informix:informix /var/log/ponline.log
Start a script like the following:
while true
do
logger -p local0.notice < /var/log/ponline.log
done
Then modify your log in onconfig to the named pipe. Haven't tried that
specifically with informix, but this works in other environments.
Adjust the syslog tags or levels as you want it (servername, ids
instance, could be a nice tag).
Marcus
-----Original Message-----
From: NADER MUSTAFA [mailto:nader_mustafa@yahoo.com]
Sent: Wednesday, December 26, 2007 6:21 PM
To: ids@iiug.org
Subject: Re: RE: syslog [10805]
Sorry, I am on aix5.2 and would like to investigate the idea of
centralizing all error logging to the system syslog. Not sure if that is
doable?
syslog.conf points to a Linux server where all the messages get logged.
************************************************************************
*******
Forum Note: Use "Reply" to post a response in the discussion forum.
See you at the IIUG Informix 2008 Conference
The Power Conference for Informix Professionals
April 27 - 30, 2008 Marriott Overland Park (Kansas City), Kansas
http://www.iiug.org/conf
Registration Now Open!!
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.