8 More Discussions You Might Find Interesting
1. 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
2. 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
3. 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
4. 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
5. 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
6. 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
7. 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
8. 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
Net::Server::Log::Sys::Syslog(3) User Contributed Perl Documentation Net::Server::Log::Sys::Syslog(3)
NAME
Net::Server::Log::Sys::Syslog - log via Syslog
SYNOPSIS
use base qw(Net::Server::PreFork);
__PACKAGE__->run(
log_file => 'Sys::Syslog',
syslog_ident => 'myapp',
);
DESCRIPTION
This module provides Sys::Syslog logging to the Net::Server system.
CONFIGURATION
log_file
To begin using Sys::Syslog logging, simply set the Net::Server log_file configuration parameter to "Sys::Syslog".
If the magic name "Sys::Syslog" is used, all logging will take place via the Sys::Syslog module. If syslog is used the parameters
"syslog_logsock", "syslog_ident", and "syslog_logopt",and "syslog_facility" may also be defined.
syslog_logsock
Only available if "log_file" is equal to "Sys::Syslog". May be either unix, inet, native, console, stream, udp, or tcp, or an arrayref
of the types to try. Default is "unix" if the version of Sys::Syslog < 0.15 - otherwise the default is to not call setlogsock.
See Sys::Syslog.
syslog_ident
Only available if "log_file" is equal to "Sys::Syslog". Id to prepend on syslog entries. Default is "net_server". See Sys::Syslog.
syslog_logopt
Only available if "log_file" is equal to "Sys::Syslog". May be either zero or more of "pid","cons","ndelay","nowait". Default is
"pid". See Sys::Syslog.
syslog_facility
Only available if "log_file" is equal to "Sys::Syslog". See Sys::Syslog and syslog. Default is "daemon".
DEFAULT ARGUMENTS FOR Net::Server
The following arguments are available in the default "Net::Server" or "Net::Server::Single" modules. (Other personalities may use
additional parameters and may optionally not use parameters from the base class.)
Key Value Default
## syslog parameters (if log_file eq Sys::Syslog)
syslog_logsock (native|unix|inet|udp
|tcp|stream|console) unix (on Sys::Syslog < 0.15)
syslog_ident "identity" "net_server"
syslog_logopt (cons|ndelay|nowait|pid) pid
syslog_facility w+ daemon
METHODS
"initialize"
This method is called during the initilize_logging method of Net::Server. It returns a single code ref that will be stored under the
log_function property of the Net::Server object. That code ref takes log_level and message as arguments and calls the initialized
log4perl system.
"handle_log_error"
This method is called if the log_function fails for some reason. It is passed the Net::Server object, the error that occurred while
logging and an arrayref containing the log level and the message. In turn, this calls the legacy Net::Server::handle_syslog_error
method.
LICENCE
Distributed under the same terms as Net::Server
perl v5.18.2 2013-01-09 Net::Server::Log::Sys::Syslog(3)