11-21-2005
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 priority code to be listed in the log as well so I can get my log viewer to differentiate message priority?
Regards
Kamadana
8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
OK guys & gals this is the issue: i am trying to sort out all the disks in all of our AIX servers.
12 hdisks w/ mirroring (so only 6 disks in uses @ any time)
2 volume groups (rootvg, vg1)
this does include muliple informix databases and misc. data.
Do you think it would be wise to... (1 Reply)
Discussion started by: Optimus_P
1 Replies
2. AIX
folks;
I'm trying to run the command "stime" I couldn't get it to work right, but it seems like it's controlled by LANG variables, how can I change the LANG variables to make the result of stime or start_time appear right (if I use stime I get letter "A" under STIME & if I use "start_time" in my... (0 Replies)
Discussion started by: moe2266
0 Replies
3. AIX
i am trying to convert .ksh script to .bat in windows box , it says awk is not recognized as internal or external command.
this is the sample .ksh script , even if i change awk to gawk it does not work its giving me syntax error, at line one ---- it's pointing ":" and "fund:"
some one plzz help.... (0 Replies)
Discussion started by: 2.5lt V8
0 Replies
4. AIX
Hi,
We have just purchased an ibm Power 520 express box with AIX 6.1 preloaded onto it. Using a null modem cable we have connected this upto a Windows 2003 server. From this Windows 2003 server we can using hyperterminal connect to it. I can aslo connect to the Advanced System Management... (16 Replies)
Discussion started by: yfayyaz
16 Replies
5. AIX
In trying to resolve my issue, I downloaded TL 11 and trying to update to it. Why the heck does not the TL fix have the required files in it? Thats another 1.+ GB download. I am also sure that when I go to install that package it will complain about rsct not being updated.
MISSING... (1 Reply)
Discussion started by: mrmurdock
1 Replies
6. AIX
Hi,
I have a script which is written for solaris x86 system.
trap 'echo "$(date):$(who am i | cut -d" " -f1) menu exec" >> /tmp/hist/.menu_history.$(who am i | cut -d" " -f1).$(uname -n).$(date +%y%m%d);exit' 1 2 3 15
trap 'echo "$(who am i | cut -d" " -f1) menu" >>... (1 Reply)
Discussion started by: boehnke
1 Replies
7. AIX
Hello all, I am hoping someone can point me in the right direction here.
We had a machine running AIX 6.1 that someone completely corrupted, so we decided to re-load it from media. I was able to boot into DVD media, select options for complete (destructive) install, AIX standard, etc. The... (0 Replies)
Discussion started by: JamesNJ
0 Replies
8. AIX
Hello Everyone,
Hope you all are doing great!
As you can see by the title on top, we are in the process of migrating alot of our servers from Power5 (physical) to Power8 (Virtual). Now it's turn for servers with HACMP Cluster on it. Let me lay out the environment like:
OLD ENVIRONMENT:
... (12 Replies)
Discussion started by: uzair_rock
12 Replies
LEARN ABOUT REDHAT
setlogmask
SETLOGMASK(3) Linux Programmer's Manual SETLOGMASK(3)
NAME
setlogmask - set log priority mask
SYNOPSIS
#include <syslog.h>
int setlogmask(int mask);
DESCRIPTION
A process has a log priority mask that determines which calls to syslog(3) may be logged. All other calls will be ignored. Logging is
enabled for the priorities that have the corresponding bit set in mask. The initial mask is such that logging is enabled for all priori-
ties.
The setlogmask() function sets this logmask for the current process, and returns the previous mask. If the mask argument is 0, the current
logmask is not modified.
The eight priorities are LOG_EMERG, LOG_ALERT, LOG_CRIT, LOG_ERR, LOG_WARNING, LOG_NOTICE, LOG_INFO and LOG_DEBUG. The bit corresponding
to a priority p is LOG_MASK(p). Some systems also provide a macro LOG_UPTO(p) for the mask of all priorities in the above list up to and
including p.
RETURN VALUE
This function returns the previous log priority mask.
ERRORS
None.
CONFORMING TO
XPG4. Note that the description in POSIX 1003.1-2001 is flawed.
SEE ALSO
closelog(3), openlog(3), syslog(3)
2001-10-05 SETLOGMASK(3)