Unix Technical Forum

Syslogd Config Question

This is a discussion on Syslogd Config Question within the Sun Solaris Administration forums, part of the Solaris Operating System category; --> I notice that some syslog messages seem to append some type of ID field to the daemon field of ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Administration

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 09:17 AM
Rhugga
 
Posts: n/a
Default Syslogd Config Question


I notice that some syslog messages seem to append some type of ID field
to the daemon field of the log entry:

Jan 17 08:03:46 file-0202 genunix: [ID 408789 kern.notice] NOTICE: ce0:
fault cleared external to device; service available
Jan 17 08:03:46 file-0202 genunix: [ID 451854 kern.notice] NOTICE: ce0:
xcvr addr:0x01 - link up 1000 Mbps full duplex
Jan 17 08:03:46 file-0202 genunix: [ID 408789 kern.notice] NOTICE: ce1:
fault cleared external to device; service available
Jan 17 08:03:46 file-0202 genunix: [ID 451854 kern.notice] NOTICE: ce1:
xcvr addr:0x01 - link up 1000 Mbps full duplex

Is it possible to disable or change this behavior? I centralize all my
logs to a standard syslog box and then parse them into a database.
However the solaris log entries differ from my SuSE, Red Hat, Irix, and
other various systems.

Thx,
cc

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 09:17 AM
Me
 
Posts: n/a
Default Re: Syslogd Config Question

Rhugga wrote:
> I notice that some syslog messages seem to append some type of ID field
> to the daemon field of the log entry:
>
> Jan 17 08:03:46 file-0202 genunix: [ID 408789 kern.notice] NOTICE: ce0:
> fault cleared external to device; service available
> Jan 17 08:03:46 file-0202 genunix: [ID 451854 kern.notice] NOTICE: ce0:
> xcvr addr:0x01 - link up 1000 Mbps full duplex
> Jan 17 08:03:46 file-0202 genunix: [ID 408789 kern.notice] NOTICE: ce1:
> fault cleared external to device; service available
> Jan 17 08:03:46 file-0202 genunix: [ID 451854 kern.notice] NOTICE: ce1:
> xcvr addr:0x01 - link up 1000 Mbps full duplex
>
> Is it possible to disable or change this behavior? I centralize all my
> logs to a standard syslog box and then parse them into a database.
> However the solaris log entries differ from my SuSE, Red Hat, Irix, and
> other various systems.
>
> Thx,
> cc
>


edit /kernel/drv/log.conf and stick a "msgid=0;" after the "instance=0;"

You'll have to reboot.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 09:17 AM
Rhugga
 
Posts: n/a
Default Re: Syslogd Config Question


Thanks.

reboot ugh. System has 400 days of uptime, heh, reboot might not work.
Any possible jerry-rig work-arounds?

Thx,
cc

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-16-2008, 09:17 AM
Me
 
Posts: n/a
Default Re: Syslogd Config Question

Rhugga wrote:
> Thanks.
>
> reboot ugh. System has 400 days of uptime, heh, reboot might not work.
> Any possible jerry-rig work-arounds?
>
> Thx,
> cc
>


update_drv any use?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-16-2008, 09:17 AM
Me
 
Posts: n/a
Default Re: Syslogd Config Question

Me wrote:
> Rhugga wrote:
>
>> Thanks.
>>
>> reboot ugh. System has 400 days of uptime, heh, reboot might not work.
>> Any possible jerry-rig work-arounds?
>>
>> Thx,
>> cc
>>

>
> update_drv any use?


Meant to add, full command would be "update_drv -f log"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-16-2008, 09:17 AM
Rhugga
 
Posts: n/a
Default Re: Syslogd Config Question


Well, I added the following to log.conf:

#
# Copyright (c) 1992, by Sun Microsystems, Inc.
#
#ident "@(#)log.conf 1.4 93/06/03 SMI"

name="log" parent="pseudo" instance=0 msgid=0;

Executed update_drv -f log and log entries are still getting the
message ID embedded.

So am I needing a reboot or is it possible this is the wrong solution?
Thx,
cc

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-16-2008, 09:17 AM
Jacob Turner
 
Posts: n/a
Default Re: Syslogd Config Question

Rhugga wrote:
> Well, I added the following to log.conf:
>
> #
> # Copyright (c) 1992, by Sun Microsystems, Inc.
> #
> #ident "@(#)log.conf 1.4 93/06/03 SMI"
>
> name="log" parent="pseudo" instance=0 msgid=0;
>
> Executed update_drv -f log and log entries are still getting the
> message ID embedded.
>
> So am I needing a reboot or is it possible this is the wrong solution?
> Thx,
> cc
>


Just reboot the beast. While you may loose your uptime at least it's
not a window$ box. Chances are better than not that it will actually
come back up ;-).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-16-2008, 09:17 AM
Rhugga
 
Posts: n/a
Default Re: Syslogd Config Question


Well, yea Sun confirmed a reboot is required but they also said that
setting msgid=0 has been unstable under certain configs and they don't
recommend doing it. (why something so trivial as injecting a message ID
into the message field could cause something to be unstable is beyond
me)

Also, this isn't just a single machine I'm talking about here, this
would mean a reboot of over 20 servers that each take about 2 works of
prep work to plan a reboot and then 2 more weeks of dealing with all
the whining scientists (aka: grown men) that can't deal with a 2-hour
(if that) 6AM Sunday morning downtime. =p
That for all the suggestions though.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:14 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com