Message redirected from syslog

Thread Tools Search this Thread
Operating Systems AIX Message redirected from syslog
# 1  
Old 03-19-2014
Message redirected from syslog

Hi. recently in many of our lpars we are getting a message in errpt as "C6ACA566 0315094014 U S dtc MESSAGE REDIRECTED FROM SYSLOG".

I have also checked the /etc/syslog.conf file. It doesn't point to error log.

Can someone please advise about how to fix this error ?

pmut3:/> errpt -aj C6ACA566 | pg
LABEL:          SYSLOG

Date/Time:       Sat 15 Mar 09:40:24 2014
Sequence Number: 131800
Machine Id:      00C806F04C00
Node Id:         pmut3
Class:           S
Type:            UNKN
Resource Name:   dtc


User Causes

        Recommended Actions

Detail Data
dtc: NOTICE:Dynamic activation: stopped capturing IO of block major device: 35.

pmut3:/> cat /etc/syslog.conf | grep -i err
#       emerg/panic,alert,crit,err(or),warn(ing),notice,info,debug

# 2  
Old 03-19-2014
Can you show us all the active entries in syslog.conf please. There may be a *.debug or other level that also captures these messages. Something like:-
cut -f1 -d "#" /etc/syslog.conf | grep -v "^$"

.... should give us the active information stripping out the comments.

Thanks, in advance,
# 3  
Old 03-19-2014
Just now checked. Seems all the lines are commented in the server.

pmut3:/> cat /etc/syslog.conf
# @(#)34        1.11  src/bos/etc/syslog/syslog.conf, cmdnet, bos530 4/27/04 14:47:53
# This is an automatically generated prolog.
# bos530 src/bos/etc/syslog/syslog.conf 1.11
# Licensed Materials - Property of IBM
# (C) COPYRIGHT International Business Machines Corp. 1988,1989
# All Rights Reserved
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
# COMPONENT_NAME: (CMDNET) Network commands.
# (C) COPYRIGHT International Business Machines Corp. 1988, 1989
# All Rights Reserved
# Licensed Materials - Property of IBM
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
# /etc/syslog.conf - control output of syslogd
# Each line must consist of two parts:-
# 1) A selector to determine the message priorities to which the
#    line applies
# 2) An action.
# Each line can contain an optional part:-
# 3) Rotation.
# The fields must be separated by one or more tabs or spaces.
# format:
# <msg_src_list> <destination> [rotate [size <size> k|m] [files <files>] [time <time> h|d|w|m|y] [compress] [archive <archive>]]
# where <msg_src_list> is a semicolon separated list of <facility>.<priority>
# where:
# <facility> is:
#       * - all (except mark)
#       mark - time marks
#       kern,user,mail,daemon, auth,... (see syslogd(AIX Commands Reference))
# <priority> is one of (from high to low):
#       emerg/panic,alert,crit,err(or),warn(ing),notice,info,debug
#       (meaning all messages of this priority or higher)
# <destination> is:
#       /filename - log to this file
#       username[,username2...] - write to user(s)
#       @hostname - send to syslogd on this machine
#       * - send to all logged in users
# [rotate [size <size> k|m] [files <files>] [time <time> h|d|w|m|y] [compress] [archive <archive>]] is:
#       If <destination> is a regular file and the word "rotate" is
#       specified, then the <destination> is limited by either
#       <size> or <time>, or both <size> and <time>. The <size> causes
#       the <destination> to be limited to <size>, with <files> files
#       kept in the rotation. The <time> causes the <destination> to be rotated after
#       <time>. If both <time> and <size> are specified then logfiles
#       will be rotated once the the logfile size exceeds the <size>
#       or after <time>, whichever is earlier. The rotated filenames
#       are created by appending a period and a number to <destination>,
#       starting with ".0".
#       If compress option is specified then the logfile names will be
#       generated with a ".Z" extension. The files keyword will be applicable
#       to the logfiles which are currently under rotation. For example
#       if we specify the compress option then only fileis with ".Z" extension
#       will be under rotation and number of such files will be limited by
#       <files> files. Any logfiles with an extension other than ".Z"
#       will not be under the rotation scheme and thus will not be within
#       the limit of <files> files. Similarly if we remove the compress
#       option then the files which have been generated with ".Z" extension
#       will no longer be the part of rotation scheme and will not be limited
#       by the <files> files.
#       The minimum size that can be specified is 10k, the minimum
#       number of files that can be specified is 2. The default
#       size is 1m (meg) and the default for <files> is unlimited.
#       Therefore, if only "rotate" is specified, the log will be
#       rotated with <size> = 1m.
#       The compress option means that rotated log files that are not
#       in use will be compressed.
#       The archive option will save rotated log files that are not
#       in use to <archive>.
#       The default is not to rotate log files.
# example:
# "mail messages, at debug or higher, go to Log file. File must exist."
# "all facilities, at debug and higher, go to console"
# "all facilities, at crit or higher, go to all users"
#  mail.debug           /usr/spool/mqueue/syslog
#  *.debug              /dev/console
#  *.crit                       *
#  *.debug              /tmp/syslog.out     rotate size 100k files 4
#  *.crit               /tmp/syslog.out     rotate time 1d

# 4  
Old 03-19-2014
Did you take a look at the running syslogd process to make sure it's not configured to point to an alternate configuration (-f) file?

ps -elf | grep [s]yslog

# 5  
Old 03-19-2014
Below is the output:
pmut3:/> ps -elf | grep syslog
  240001 A     root 372980 217198   0  60 20 58269480   340            12 Mar      -  0:00 /usr/sbin/syslogd

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Ubuntu

How redirect syslog message to a specified file?

Hello to everyone! I have a question about syslog. I want put the messages of log in a particular file but really i don't know how to do that or i don't get the results that I want. I do this: #include <stdio.h> #include <stdlib.h> #include <syslog.h> int main (void) { ... (4 Replies)
Discussion started by: Kovalevski
4 Replies

2. HP-UX

Generate message in syslog.log

Dear Concern, Is there any command to generate message in /var/adm/syslog/syslog.log file in HP-UX. With Best Regards, Kauser (2 Replies)
Discussion started by: makauser
2 Replies

3. Red Hat

Syslog Message

All thanks for the help in advance. I'm current have my syslog server built on RHEL5.7. I'm wondering how to I have the syslog messages categorized by hostname? Is that an option I can add to the syslog.conf? (1 Reply)
Discussion started by: aojmoj
1 Replies

4. UNIX for Dummies Questions & Answers

Syslog Message Columns

Hi all, I need your help with syslog columns. Currently I have a script as follows: (extract) for messages in `cat syslog_message_list.txt`; \ do \ grep $messages syslog.`date +%d%m%y`.log | \ tr -s " " | \ cut -d" " -f4,9- | \ sort -k3.2,3 -k2,2 -k1nr,1 | \ uniq -c | \ sort -k3.2,3... (6 Replies)
Discussion started by: wthomas
6 Replies

5. UNIX for Advanced & Expert Users

Q on <user> of syslog message generated by logger command

Generally(at least on AIX5.3, Solaris9, OS X)'logger' command would create syslog messages which carry <login name> . On Solaris9, I have experienced two circumstances in which 'logname' command fails. In this circumstance I saw the 'logger' command generated syslog messages which carry... (0 Replies)
Discussion started by: masaki
0 Replies

6. AIX

Syslog - Message forwarded from

I am not a Unix / AIX admin, but am working with one that doesn't seem to know how to set up syslog to forward messages to me the way I need them. Every message they send me has "Message forwarded from <insert host name here>:" but I need it to only have the host name. In the examples below,... (2 Replies)
Discussion started by: mlbillow
2 Replies

7. Programming

why I can't get syslog message?

I read Unix network programming by richard,in chap12.3,it say if call syslog() by using parameter LOG_USER,it should write a message in /var/adm/messages in Solaris,such as "connected from",example file inet/daytimetcpsrv2.c.I want to know which syslog file in FreeBSD7.0?I look for... (1 Reply)
Discussion started by: konvalo
1 Replies

8. Solaris

syslog message..!

I got my system sun fire 6800 hung later reboot after generating these message can any one help me on this to review these message..!! nfssrv: WARNING: nfsauth upcall failed: RPC: Operation in progress mountd: cannot accept connection: 19: error unknown (current state -1) KAVE00166-W The... (13 Replies)
Discussion started by: nicknihal
13 Replies

9. Solaris

stdout redirected?

Hi all, I have a c++ program which is running fine but has some printfs which its spews on to the screen, which I need for debugging. But, I execute this program through a java, i.e I run a java program which actually launches my c++ executable and when it does this, I see none of my printfs... (1 Reply)
Discussion started by: Naanu
1 Replies

10. Shell Programming and Scripting

redirected output

Hello Everyone, I have an option for users in my shell script to create log file. So if user saying “yes” on it, I'm redirecting all output to log file by doing this: > /output.log. However I would like the output being displayed on the screen at the same time. Is it possible? If yes, does anybody... (2 Replies)
Discussion started by: slavam
2 Replies
Login or Register to Ask a Question