06-21-2009
Quote:
Originally Posted by
dannytrinh
My company has a strictly policies, and doesn't like the idea to install another syslog program into the system. And I try to get the log to separate off to every daemon for easy troubleshooting/debug. Is it meant I can't separate each daemon log, under Solaris 10 by using syslogd?
Thanks,
I don't think you can do (easily) this with syslogd. Of course you can simply
pipe syslog into a filter (via a named pipe), but most people would not do that, they would use syslog-ng. That is why I recommended you use syslog-ng
Actually, if you had of posted these details first, you would have saved a lot of peoples time. For example, why not begin your post (?)
My company has a strict policy and only permits syslogd, running on Solaris 10 ......
Instead, we post answers for you, then you slowly describe your infrastructure and requirements. How about describing your requirements first next time?
Thanks.
---------- Post updated at 19:19 ---------- Previous update was at 18:38 ----------
Hint:
Quote:
A named pipe (fifo), beginning with a vertical bar (‘‘|’’) followed by a pathname. The pipe must be created with mkfifo(8) before syslogd reads its configuration file. This feature is especially useful for debugging.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Do someone know how to delete entry(some lines)
in file "wtmpx" that command "last" use it.
this file is binary so I cannot edit directy.
=========================
#last
root pts/1 noc Fri Mar 3 22:04 still logged in
root pts/1 noc Fri Mar 3 22:01 - 22:02 ... (4 Replies)
Discussion started by: arm_naja
4 Replies
2. Solaris
Hi Guru's
On one of our servers we have every few seconds following error:
Apr 28 10:15:27 svr10010 nrpe: connect from reno.customs.govt.nz
Apr 28 10:15:29 svr10010 nrpe: connect from reno.customs.govt.nz
Here are the details from this box:
SunOS svr10010 5.10 Generic_125100-10 sun4v... (3 Replies)
Discussion started by: gnom
3 Replies
3. UNIX for Advanced & Expert Users
Hi,
When typing the command ps -fe.the system is showing a process called SYSCON:confused:....
I am not sure what process is that.I hava a script that kills all command staring with 'sys' but i don't want to kill syscon:( since i think it is some system process:confused:
.Please help me to find... (1 Reply)
Discussion started by: kiranjose85
1 Replies
4. Red Hat
Friends ,
Anybody plz tell me what is the basic difference between "service" , "process" and " daemon" ?
Waiting for kind reply .. .. (1 Reply)
Discussion started by: shipon_97
1 Replies
5. Solaris
Hi
I've been using solaris for a few days now. During the install process i had some problems configuring my nic as i needed to install a third-party driver, which i got from a a linked site from the Sun Device Detector tool a ran prior to installing. I got it working eventually, but i'm... (1 Reply)
Discussion started by: jpg.2009
1 Replies
6. Shell Programming and Scripting
Hi,
Please help to seprate my /var/adm/messages output. Than i want to take this
output in the excel.
e,g
cat /var/adm/messages
Sep 4 10:16:52 ibsadm1 inetd: vnetd from 172.17.5.20 38353
Sep 4 10:16:52 ibsadm1 inetd: bpcd from 172.17.5.20 915
Sep 4 10:16:55 ibsadm1 inetd: ... (5 Replies)
Discussion started by: nirjhar17
5 Replies
7. Solaris
Hi Friends,
Please help me to resove this issue ASAP.
Nov 17 16:25:52 server1 sendmail: pAH8Pnh22099: SYSERR: putoutmsg (NO-HOST): error on output channel sending "553 5.1.3 @123.com.... User address required": File too large
Nov 17 16:25:53 server1 sendmail: pAH8Pnh22099:... (1 Reply)
Discussion started by: holds_me
1 Replies
8. Red Hat
Hi,
I am seeing the following errors in my environment, not sure why is it happening, any ideas? Thanks.
kernel: RPC: bad TCP reclen 0x73746174 (non-terminal ) Dec 17 02:14:48 kernel: RPC: bad TCP reclen 0x63480000 (large) Dec 17 02:14:48
kernel: RPC: bad TCP reclen 0x633f0000 (large) Dec... (5 Replies)
Discussion started by: amarlinux
5 Replies
9. Solaris
Below is the error being repeated on my Solaris 9 Sun-Fire-V890 machine.
SAN team confirmed as everything is fine from their end. I did google and found that some people say its a known Oracle bug when you have Oracle 10G installed on your system but I kind of disagree with them. Please see below... (2 Replies)
Discussion started by: vikkash
2 Replies
10. Solaris
Hi,
I am facing issue with one of the drive is solaris 10. it is showing offline in the messages file
scsi: WARNING: /pci@2,600000/QLGC,qlc@0/fp@0,0/ssd@w5006016746e00b1b,0 (ssd0):
drive offline
genunix: WARNING: Page83 data not standards compliant DGC LUNZ 0430
... (1 Reply)
Discussion started by: Prasanth T K
1 Replies
strerr(8) System Manager's Manual strerr(8)
NAME
strerr - Receives error messages from the STREAMS log driver
SYNOPSIS
/usr/sbin/strerr [-a sys_admin_mail_name] [-d logdir]
PARAMETERS
Specifies the mail name of the user to receive the message via mail. This is the system administrator by default. Specifies the directory
to contain the error log file. This is /var/adm/streams by default.
DESCRIPTION
The strerr daemon receives error messages from the STREAMS log driver (strlog) for addition to the STREAMS error log files (error.mm.dd) in
the STREAMS error logger directory (/var/adm/streams by default). When first called, the strerr daemon creates the log file error.mm.dd.
This is a daily log file, where mm indicates the month and dd indicates the day of the logged messages. The strerr daemon then appends
each error message that it subsequently receives from the STREAMS log driver to the log file.
STREAMS error log messages have the following format: seq_num std_time ticks_time flags mod_ID sub_ID msg_text where: The error
sequence number. The time the message was sent, in the format hh:mm:ss. The time the message was sent, measured in machine ticks since
the last boot. Can be any of the following indicators: Indicates that the message has also been saved in the process's trace log. Indi-
cates that the message signaled a fatal error. Indicates that the message is to be sent to the system administrator or specified user via
mail. The module identification number of the trace message source. The subidentification number of the trace message source. The trace
message text.
The strerr daemon will run continuously until terminated by the user.
FILES
The error log file or files on which strerr operates.
NOTES
Only one strerr process can open the STREAMS log driver at a time. This restriction is intended to maximize performance.
The STREAMS error logging mechanism works best when it is not overused. The strerr daemon can degrade STREAMS performance by affecting the
response, throughput, and other behaviors of the drivers and modules that invoke it. The daemon will also fail to capture messages if
drivers and modules generate messages at a higher rate than its optimum read rate. Missing sequence numbers among the messages in a log
file indicate that messages have been lost.
RELATED INFORMATION
Interfaces: strlog(7). delim off
strerr(8)