Sponsored Content
Full Discussion: UNIX - AIX - Syslog messages
Operating Systems AIX UNIX - AIX - Syslog messages Post 302948157 by zaxxon on Friday 26th of June 2015 08:10:51 AM
Old 06-26-2015
The entries you have posted are default entries, that come with the installation of IBM HACMP or now called PowerHA, the high availability software from IBM - check this: IBM Info Center.

There is no exact complete list, that defines which application writes into those facilities as far as I know. Though it is common sense, that a mail server will most likely write to it's own logs or write to the syslog daemon and sowith addressing the config lines for the mail facility. Best may be to filter the log and see what is written there, usually there will some kind of source, like [kernel] in Linux or a daemon that writes there. But if nothing happens and it is not written there, I doubt you will easily find out what could write there. Some software writes there, other has it's own logs etc.

Maybe IBM developers know, which parts of their software will write to which facility. Or maybe some admin here can give a hint which things are written there just by experience, but I doubt it will be an exact full list.
You can see those facilities like mail, user, daemon, ... as kind of buckets or filters which any application can "address" in the way that it flags it's message with the appropriate facility and criticality when it writes to the system's syslog daemon. The severities are just an additional filter to sort, where which type of messages should go.

Last edited by zaxxon; 06-26-2015 at 11:17 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

system messages log (Sun and AIX)

Hello, I need a few explanation about the log files for system messages: /var/adm/messages and /var/log/syslog. As /var/adm/messages is empty on my machine, i need help. First, i would like to know what the difference between these 2 files is? Do they contain different kinds of system... (3 Replies)
Discussion started by: VeroL
3 Replies

2. AIX

AIX 5.2 Syslog : Help needed

Hi all, I am trying to get the authentication logs of FTP,Telnet,SSH,inetd from the syslog file. But my output for every type of authentications - success & failure keep differing everytime i view them. The output does not show the priority code (emerg, or 0, in any case). How do I get the... (0 Replies)
Discussion started by: kamadana
0 Replies

3. Solaris

which is the best unix? solaris? aix ? hp-unix?

which is the best unix? solaris? aix ? hp-unix? I want to study unix system ? Anyone tell me which is the best? (2 Replies)
Discussion started by: mac2008
2 Replies

4. AIX

AIX auto delete old mail messages

We have had an issue where the mail file filled up. Is there a setting in sendmail.cf to automatically remove old emails? Say after 14 days. If not is there any way automatically to delete older mail files?? (1 Reply)
Discussion started by: daveisme
1 Replies

5. AIX

AIX Syslog login/logout User

Hi, i'm trying to configure /etc/syslog.conf for log user access. In debian i add: auth,authpriv.* @serverName I don't know the correct Aix syntax for syslog :( My @serverName get the log successfully.. I need to log correct/incorrect login attempts. Thanks (5 Replies)
Discussion started by: hankBuck
5 Replies

6. AIX

Forwarding AIX syslog/errorlog to remote SQL DB

Due to a project I'm currently tasked with I'm spending my time trying to find a way to forward the syslog to a remote, in this case Red Hat, server and squeezing it into a SQL DB. Rsyslog is doing this job quite nicely for most of our test-servers, but I couldn't find any reliable information on... (1 Reply)
Discussion started by: Skleindl
1 Replies

7. AIX

Get Next month in AIX from curent date in unix AIX

How could we derive teh Next month in MON-RR format from current date ie sysdate in UNI AIX sheel script.I coould get a command but i supports only inLinux susse andnotin AIX. I need for Unix AIX.Pls Help. Regards Shiv (2 Replies)
Discussion started by: SHIV75
2 Replies

8. AIX

I see some errors in syslog files in AIX. can these be ignored ?

Hello, Could you please check the below errors. I found these errors in AIX LPAR syslogs. auth|security:err|error sshd error: Could not load host key: /etc/ssh/ssh_host_ecdsa_key daemon:err|error syslog: slp: 0660-059 Impossible to get local interface for distant address 10.x.x.x. errno... (2 Replies)
Discussion started by: Kumar7997
2 Replies

9. AIX

AIX Syslog where the hostname sit

Dear all experts, I would like to know where can I find the hostname located as when I receive the syslog, I can only see as below : (showing in localhost instead of the hostname) Feb 6 15:31:31 localhost syslog:info syslogd: restart Feb 6 15:31:50 localhost syslog:info syslogd: restart Feb... (13 Replies)
Discussion started by: kwliew999
13 Replies

10. AIX

Cannot send syslog event from AIX 6.1 to RHEL Syslog server

Hi everyone, I am trying to configure AIX 6.1 using syslogd to send syslog event to syslog server configured on RHEL. However, RHEL never receives the events. I have tried to redirect the syslog event on AIX to a local file and successful. Only forwarding to remote server fails. Firewall... (10 Replies)
Discussion started by: michael_hoang
10 Replies
syslog(3C)																syslog(3C)

NAME
syslog(), openlog(), closelog(), setlogmask() - control system log SYNOPSIS
Remarks The ANSI C "" construct denotes a variable length argument list whose optional [or required] members are given in the associated comment DESCRIPTION
writes a message onto the system log maintained by (see syslogd(1M)). The message is tagged with priority. The message is similar to a printf(3S) format string except that is replaced by the error message associated with the current value of A trailing newline is added if needed. This message is read by and written to the system console, log files, selected users' terminals, or forwarded to on another host as appropriate. priority is encoded as the logical OR of a level and a facility. The level signifies the urgency of the message, and facil- ity signifies the subsystem generating the message. facility can be encoded explicitly in priority, or a default facility can be set with (see below). level is selected from an ordered list: A panic condition. This is normally broadcast to all users. A condition that should be corrected immediately, such as a corrupted system database. Critical conditions, such as hard device errors. Errors. Warning messages. Conditions that are not error conditions, but should possibly be handled specially. Informational messages. Messages that contain information normally of use only when debugging a program. does not log a message that does not have a level set. If cannot pass the message to it attempts to write the message on if the option is set (see below). can be called to initialize the log file, if special processing is needed. ident is a string that precedes every message. logopt is a mask of bits, logically OR'ed together, indicating logging options. The values for logopt are: Log the process ID with each message; useful for identifying instantiations of daemons. Force writing messages to the console if unable to send it to This option is safe to use in daemon processes that have no controlling terminal because forks before opening the console. Open the connection to immediately. Normally, the open is delayed until the first message is logged. This is useful for programs that need to manage the order in which file descriptors are allocated. Do not wait for children forked to log messages on the console. This option should be used by processes that enable notification of child termination via because might otherwise block, waiting for a child whose exit status has already been collected. facility encodes a default facility to be assigned to all messages written subsequently by with no explicit facility encoded. Messages generated by the kernel. These cannot be generated by any user processes. Messages generated by random user processes. This is the default facility identifier if none is specified. The mail system. System daemons, such as inetd(1M), ftpd(1M), etc. The authorization system: login(1), su(1), getty(1M), etc. Messages generated internally by daemon. The line printer spooling system: lp(1), lpsched(1M), etc. Messages generated by the system. Messages generated by the UUCP system. Messages generated by the CRON daemon. Reserved for local use. Similarly for through facility and level uses an encoded code for logging in message. The encoded code for facility and level are as follows. closes the log file. sets the log priority mask to maskpri and returns the previous mask. Calls to with a priority not set in maskpri are rejected. The mask for an individ- ual priority pri is calculated by the macro ; the mask for all priorities up to and including toppri is given by the macro (toppri). By default, all priorities are logged. ERRORS
fails if any of the following conditions are encountered: The named pipe is blocked for writing. The named pipe bold) could not be opened successfully. EXAMPLES
logs a message regarding some sort of unexpected and serious error: uses to arrange to log its process ID, to log to the console if necessary, and to log in the name of the daemon facility: Arrange to log messages only at levels and lower: Typical usage of to log a connection: If the facility has not been set with it defaults to Explicitly set the facility for this message: WARNINGS
A call to has no effect unless the syslog daemon is running (see syslogd(1M)). does not copy and store the ident string internally; it stores only a character pointer. Therefore it is the responsibility of the programmer to make sure that the ident argument points to the correct string until the log file is closed. AUTHOR
was developed by the University of California, Berkeley. SEE ALSO
logger(1), syslogd(1M), thread_safety(5). syslog(3C)
All times are GMT -4. The time now is 10:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy