[Pkg-nagios-devel] Bug#283870: marked as done (nagios-common: Config errors right after install)

Debian Bug Tracking System owner@bugs.debian.org
Sun, 05 Dec 2004 20:03:12 -0800


Your message dated Sun, 05 Dec 2004 22:47:11 -0500
with message-id <E1Cb9qB-0005xR-00@newraff.debian.org>
and subject line Bug#283870: fixed in nagios 2:1.3-0+pre5
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 1 Dec 2004 22:11:56 +0000
>From olaf@xwis.net Wed Dec 01 14:11:56 2004
Return-path: <olaf@xwis.net>
Received: from smtp1.cistron.nl [62.216.30.40] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CZchY-0000A2-00; Wed, 01 Dec 2004 14:11:56 -0800
Received: from cust.18.38.adsl.cistron.nl ([62.216.18.38] helo=localhost)
	by smtp1.cistron.nl with esmtp (Exim 3.36 #1 (Debian))
	id 1CZchW-0000fA-00; Wed, 01 Dec 2004 23:11:54 +0100
Received: from olaf by localhost with local (Exim 4.34)
	id 1CYiVL-00048m-KD; Mon, 29 Nov 2004 11:11:35 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Olaf van der Spek <OvdSpek@LIACS.NL>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: nagios-common: Config errors right after install
X-Mailer: reportbug 3.2
Date: Mon, 29 Nov 2004 11:11:35 +0100
Message-Id: <E1CYiVL-00048m-KD@localhost>
Sender: Olaf van der Spek <olaf@xwis.net>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: nagios-common
Version: 2:1.3-0+pre4
Severity: normal

Hi,

I installed Nagios again, but not it shows errors in the (default) config:
# apt-get install nagios-mysql
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  nagios-common
  The following NEW packages will be installed:
    nagios-common nagios-mysql
    0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0B/2221kB of archives.
    After unpacking 5808kB of additional disk space will be used.
    Do you want to continue? [Y/n] 
    Preconfiguring packages ...
    Selecting previously deselected package nagios-mysql.                                                                              
    (Reading database ... 29451 files and directories currently installed.)
    Unpacking nagios-mysql (from .../nagios-mysql_2%3a1.3-0+pre4_i386.deb) ...
    Selecting previously deselected package nagios-common.
    Unpacking nagios-common (from .../nagios-common_2%3a1.3-0+pre4_all.deb) ...
    Setting up nagios-mysql (1.3-0+pre4) ...
    Setting up nagios-common (1.3-0+pre4) ...
    Reloading web server config...apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
    done.
    Adding password for user nagiosadmin
    Reloading nagios configuration files.
    
    Nagios 1.3
    Copyright (c) 1999-2004 Ethan Galstad (nagios@nagios.org)
    Last Modified: 10-24-2004
    License: GPL
    
    Reading configuration data...
    
    Error: Host 'gw' has already been defined
    
    Error: Could not register host (config file '/etc/nagios/hosts.cfg', line 35)
    
    
    ***> One or more problems was encountered while processing the config files...
    
         Check your configuration file(s) to ensure that they contain valid
	      directives and data defintions.  If you are upgrading from a previous
	           version of Nagios, you should be aware that some variables/definitions
		        may have been removed or modified in this version.  Make sure to read
			     the HTML documentation on the main and host config files, as well as the
			          'Whats New' section to find out what has changed.
				  
				  Errors in config file. Not reloading.
				  Starting nagios: 
				  Nagios 1.3
				  Copyright (c) 1999-2004 Ethan Galstad (nagios@nagios.org)
				  Last Modified: 10-24-2004
				  License: GPL
				  
				  Reading configuration data...
				  
				  Error: Host 'gw' has already been defined
				  
				  Error: Could not register host (config file '/etc/nagios/hosts.cfg', line 35)
				  
				  
				  ***> One or more problems was encountered while processing the config files...
				  
				       Check your configuration file(s) to ensure that they contain valid
				            directives and data defintions.  If you are upgrading from a previous
					         version of Nagios, you should be aware that some variables/definitions
						      may have been removed or modified in this version.  Make sure to read
						           the HTML documentation on the main and host config files, as well as the
							        'Whats New' section to find out what has changed.
								
								errors in config!

But I didn't find the first definition of gw.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages nagios-common depends on:
ii  adduser                     3.59         Add and remove users and groups
ii  apache2-mpm-prefork [httpd] 2.0.52-3     Traditional model for Apache2
ii  coreutils [fileutils]       5.2.1-2      The GNU core utilities
ii  debconf [debconf-2.0]       1.4.40       Debian configuration management sy
ii  mailutils [mailx]           1:0.5-4      GNU mailutils utilities for handli
ii  nagios-mysql [nagios]       2:1.3-0+pre4 A host/service/network monitoring 
ii  nagios-plugins              1.3.1.0-12   Plugins for the nagios network mon

-- debconf information:
* nagios/wwwsuid: true
  nagios/upgradefromnetsaint:
* nagios/configapache: Apache2

---------------------------------------
Received: (at 283870-close) by bugs.debian.org; 6 Dec 2004 03:49:26 +0000
>From katie@ftp-master.debian.org Sun Dec 05 19:49:25 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Cb9sJ-00078O-00; Sun, 05 Dec 2004 19:49:23 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1Cb9qB-0005xR-00; Sun, 05 Dec 2004 22:47:11 -0500
From: Sean Finney <seanius@debian.org>
To: 283870-close@bugs.debian.org
X-Katie: $Revision: 1.54 $
Subject: Bug#283870: fixed in nagios 2:1.3-0+pre5
Message-Id: <E1Cb9qB-0005xR-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sun, 05 Dec 2004 22:47:11 -0500
Delivered-To: 283870-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 5

Source: nagios
Source-Version: 2:1.3-0+pre5

We believe that the bug you reported is fixed in the latest version of
nagios, which is due to be installed in the Debian FTP archive:

nagios-common_1.3-0+pre5_all.deb
  to pool/main/n/nagios/nagios-common_1.3-0+pre5_all.deb
nagios-mysql_1.3-0+pre5_i386.deb
  to pool/main/n/nagios/nagios-mysql_1.3-0+pre5_i386.deb
nagios-pgsql_1.3-0+pre5_i386.deb
  to pool/main/n/nagios/nagios-pgsql_1.3-0+pre5_i386.deb
nagios-text_1.3-0+pre5_i386.deb
  to pool/main/n/nagios/nagios-text_1.3-0+pre5_i386.deb
nagios_1.3-0+pre5.diff.gz
  to pool/main/n/nagios/nagios_1.3-0+pre5.diff.gz
nagios_1.3-0+pre5.dsc
  to pool/main/n/nagios/nagios_1.3-0+pre5.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 283870@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sean Finney <seanius@debian.org> (supplier of updated nagios package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 02 Dec 2004 12:05:10 -0500
Source: nagios
Binary: nagios-pgsql nagios-text nagios-mysql nagios-common
Architecture: source i386 all
Version: 2:1.3-0+pre5
Distribution: unstable
Urgency: low
Maintainer: Debian Nagios Maintainer Group <pkg-nagios-devel@lists.alioth.debian.org>
Changed-By: Sean Finney <seanius@debian.org>
Description: 
 nagios-common - A host/service/network monitoring and management system
 nagios-mysql - A host/service/network monitoring and management system
 nagios-pgsql - A host/service/network monitoring and management system
 nagios-text - A host/service/network monitoring and management system
Closes: 269221 282591 282791 283355 283870 283875
Changes: 
 nagios (2:1.3-0+pre5) unstable; urgency=low
 .
   * Sean Finney:
     - nagios packages no longer put a copy of the nagios binary in the
       cgi-bin directory (closes: #269221).
     - corrected path to printf in code and documentation.  thanks to
       peter hicks <peter.hicks@poggs.co.uk> (Closes: #282591).
     - corrected nsca related paths in code and documentation.  thanks
       again to peter (Closes: #282791).
     - other misc path fixes in html path-fixing patch.  there's probably
       still more, but got a bunch of them.
     - fix for error value of config file removal in nagios-common
       (Closes: #283355).  thanks to Olaf van der Spek <OvdSpek@LIACS.NL>.
     - everything in hosts.cfg was duplicated because of a bug in the
       postinst for nagios-common.  fixed.  thanks again to Olaf.
       (Closes: #283870).
     - init script has a better check for running nagios processes.  really,
       we should be use start-stop-daemon, but this will work for
       the time being.  thanks again, Olaf.  (Closes: #283875)
     - removed the "-e 5" from the check_started part of the init script,
       as it was preventing some users from restarting (see #283875).
       thanks to tony mancill <tony@mancill.com>.
Files: 
 29185546a529de2965945ddab6d6cf7e 992 net optional nagios_1.3-0+pre5.dsc
 64b7f9579ec891b927e395e8d7ce2542 77902 net optional nagios_1.3-0+pre5.diff.gz
 d8651baf3564586ade346d4b0f45fd5c 901446 net optional nagios-text_1.3-0+pre5_i386.deb
 28396a53c794750973ef152c4e116c2e 916440 net optional nagios-mysql_1.3-0+pre5_i386.deb
 3fe73f52ba8467607dfe2b655929db56 926692 net optional nagios-pgsql_1.3-0+pre5_i386.deb
 d7a00c4cf393bfdb48abbbbdd0537669 1212802 net optional nagios-common_1.3-0+pre5_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBs89kynjLPm522B0RAoxiAJ9JTH7anlhA7eQcevEZ3J+3L+xA8gCdF0wz
gUJhzhtJlRAUR/wvamijbrk=
=XUa2
-----END PGP SIGNATURE-----