04-14-2011
I removed slp_srvreg (since I'm not using it) and all is good.
Thanks for the help DGPickett
10 More Discussions You Might Find Interesting
1. HP-UX
Hello, what are the names for the Sistem Error logs of HP-UX?
I have got the error "Volume group has some stale or unavailable physical volumes." Nothing more to the error, except date and time!!
Checked all the Logical Volumes (lvdisplay -v), and all the Physical Volumes (pvdisplay -v)... (4 Replies)
Discussion started by: ErantDutch
4 Replies
2. AIX
Hi Everyone,
I have a problem with the queue on a Zebra printer.
I wanted to find where the scheduler logs are. Found a document:
http://www.redbooks.ibm.com/redbooks/pdfs/sg245496.pdf
The problem is the chapters 12.3 and 12.4 mention the logs should
be in /var/lp and I do not have such a... (0 Replies)
Discussion started by: rysiekmus
0 Replies
3. AIX
Hi All,
I would like to know where's the location of ALL system error logs on AIX43 and AIX53.
Thanks,
itik (1 Reply)
Discussion started by: itik
1 Replies
4. Shell Programming and Scripting
I use NMON (Nigels Monitoring) in AIX. It creates a daily nmon log with the naming conventions of:
hostname_YYMMDD_0000.nmon
or
myserver_080902_0000.nmon
What I am interested in doing is creating a script that is executed on the first of each month to clean up last months *nmon files. .... (4 Replies)
Discussion started by: outtacontrol
4 Replies
5. AIX
good day all
how to send aix syslogs to a shared folder in windows
regards , (2 Replies)
Discussion started by: thecobra151
2 Replies
6. UNIX for Advanced & Expert Users
Hi with the help of Gabriel canepa, i have just edited filename only in his code. The help which i got and he helped is
1) I have around 22 logs and each log should be updated in the last 24 hours from the current timestamp.
2) It should check for ERROR message (not error,Error) in the log and... (2 Replies)
Discussion started by: Kalaihari
2 Replies
7. AIX
hello,
i just want to know logs files for these actions listed below :
- User Account Creation
- User Account Deletion
- Failed and or Successful User Password Changes
- Failed Login Activities for all User Users
- System Reboot or and shutdown
help appreciated... (6 Replies)
Discussion started by: Bolou
6 Replies
8. Shell Programming and Scripting
Appreciate help for the below issue.
Im using below code.....I dont want to attach the logs when I ran the perl twice...I just want to take backup with today date and generate new logs...What I need to do for the below scirpt..............
1)if logs exist it should move the logs with extention... (1 Reply)
Discussion started by: Sanjeev G
1 Replies
9. AIX
Hi All
I need your help to configure Aix to send logs to Qradar, I did all the methods that mentioned in IBM website and no use, Plz Help,,
The Logs should I receive from Aix and display in Qradar is (create user delete user changing in privileges....etc )
my skype account
khaled_ly84
... (4 Replies)
Discussion started by: khaled_ly84
4 Replies
10. UNIX for Beginners Questions & Answers
I have to enable sftp and scp daemon logs in AIX 7.1. Currently only ftp daemons are being logged. What are the steps for doing so? Also programs such as filezilla uses sftp service to log into AIX. How do I ensure that sftp/scp continues to function after making change? Also needs to know what... (3 Replies)
Discussion started by: pregmi
3 Replies
LEARN ABOUT REDHAT
apache::testtrace
Apache::TestTrace(3) User Contributed Perl Documentation Apache::TestTrace(3)
Apache::TestTrace - Helper output generation functions
SYNOPSIS
use Apache::TestTrace;
# test sub that exercises all the tracing functions
sub test {
print $Apache::TestTrace::LogFH
"TraceLevel: $Apache::TestTrace::Level
";
$_->($_,[1..3],$_) for qw(emerg alert crit error
warning notice info debug todo);
print $Apache::TestTrace::LogFH "
"
};
# demo the trace subs using default setting
test();
{
# override the default trace level with 'crit'
local $Apache::TestTrace::Level = 'crit';
# now only 'crit' and higher levels will do tracing lower level
test();
}
{
# set the trace level to 'debug'
local $Apache::TestTrace::Level = 'debug';
# now only 'debug' and higher levels will do tracing lower level
test();
}
{
open OUT, ">/tmp/foo" or die $!;
# override the default Log filehandle
local $Apache::TestTrace::LogFH = *OUT;
# now the traces will go into a new filehandle
test();
close OUT;
}
DESCRIPTION
This module exports a number of functions that make it easier generating various diagnostics messages in your programs in a consistent way
and saves some keystrokes as it handles the new lines and sends the messages to STDERR for you.
This module provides the same trace methods as syslog(3)'s log levels. Listed from low level to high level: emerg(), alert(), crit(),
error(), warning(), notice(), info(), debug(). The only different function is warning(), since warn is already taken by Perl.
The module provides another trace function called todo() which is useful for todo items. It has the same level as debug (the highest).
If you have "Term::ANSIColor" installed the diagnostic messages will be colorized, otherwise a special for each function prefix will be
used.
If "Data::Dumper" is installed and you pass a reference to a variable to any of these functions, the variable will be dumped with
"Data::Dumper::Dumper()".
Functions whose level is above the level set in $Apache::TestTrace::Level become NOPs. For example if the level is set to alert, only
alert() and emerg() functions will generate the output. The default setting of this variable is warning. Other valid values are: emerg,
alert, crit, error, warning, notice, info, debug.
By default all the output generated by these functions goes to STDERR. You can override the default filehandler by overriding
$Apache::TestTrace::LogFH with a new filehandler.
When you override this package's global variables, think about localizing your local settings, so it won't affect other modules using this
module in the same run.
TODO
o provide an option to disable the coloring altogether via some flag
or import()
AUTHOR
Stas Bekman with contributions from Doug MacEachern
perl v5.8.0 2002-05-19 Apache::TestTrace(3)