LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-28-2012, 12:08 PM   #1
ghughes5669
LQ Newbie
 
Registered: Oct 2012
Posts: 23

Rep: Reputation: Disabled
Logwatch shows "named shutdown: X Time(s) - no reason


Good morning, all!

I have a name server (old version of BIND - I'm building new one) that has started throwing an error in logwatch. The named portion of the logwatch email starts with "Named shutdown: 7 Time(s)" with no other reference. The rest of the log shows no other problems directly related to a shutdown, only occasional RCODE or lame server errors.

This is a virtual server; I've looked at the utilization logs and don't find any issues there. The shutdowns don't seem to be regular; in fact, I don't even notice anything.

I'd be grateful for any other places to look that anyone would have.

Thanks in advance!


Gregg
 
Old 11-28-2012, 12:51 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
As you can see Logwatch only makes a distinction between shutdowns and failed shutdowns:
Code:
]$ grep -ni shut /usr/share/logwatch/scripts/services/named
266:      ($ThisLine =~ /shutting down/) or
267:      ($ThisLine =~ /named shutting down/ ) or
268:      ($ThisLine =~ /named shutdown succeeded/ )

270:      $ShutdownNamed++;
271:   } elsif ( $ThisLine =~ /named shutdown failed/ ) {
272:      $ShutdownNamedFail++;

409:if ( ( $Detail >= 5 ) and ($ShutdownNamed) ) {
410:   print "Named shutdown: $ShutdownNamed Time(s)\n";

413:if ( ( $Detail >= 5 ) and ($ShutdownNamedFail) ) {
414:   print "Named shutdown failed: $ShutdownNamedFail Time(s)\n";
It can't explain what isn't logged (as in -d debug level).
 
  


Reply

Tags
dns, named, rhel52


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Better to use "at" command instead of time variable in shutdown? anon091 Linux - Newbie 14 04-20-2010 12:54 PM
Sometimes "shutdown" command takes a lot of time vhn Linux - Embedded & Single-board computer 2 11-17-2009 10:20 PM
named timeouts, just kill/start helps, can't find reason ggal Linux - Networking 1 07-14-2006 03:23 PM
reason for system shutdown manjushp Linux - Security 1 06-03-2005 01:06 PM
Bind/named can't open zone files for some reason adam_lang Linux - Networking 2 02-02-2004 09:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration