[Pkg-nagios-devel] Bug#288914: marked as done (nagios-text: File /var/log/nagios/status.log is missing --> Error: Could not read host and service status information!)

Debian Bug Tracking System owner@bugs.debian.org
Thu, 17 Feb 2005 10:18:25 -0800

Your message dated Thu, 17 Feb 2005 13:02:19 -0500
with message-id <E1D1pyl-0007ht-00@newraff.debian.org>
and subject line Bug#288914: fixed in nagios 2:1.3-cvs.20050116-3
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; 6 Jan 2005 10:31:15 +0000
>From krais@bats.ch Thu Jan 06 02:31:15 2005
Return-path: <krais@bats.ch>
Received: from ms12.webland.ch (ms.webland.ch) [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CmUvC-00010f-00; Thu, 06 Jan 2005 02:31:15 -0800
Received: from bats.ch ([])
        by ms.webland.ch (Webland.MailServer.v1.2.3.0) with ESMTP id GMZ38336
        for <submit@bugs.debian.org>; Thu, 06 Jan 2005 11:30:43 +0100
Received: from [] by bats.ch with ESMTP
  (SMTPD32-8.14) id A34440600032; Thu, 06 Jan 2005 11:30:28 +0100
Subject: nagios-text: File /var/log/nagios/status.log is missing --> Error:
	Could not read host and service status information!
From: Tobias Krais <krais@bats.ch>
To: submit@bugs.debian.org
Content-Type: text/plain
Organization: Zentrum BATS
Date: Thu, 06 Jan 2005 11:36:14 +0100
Message-Id: <1105007775.1694.25.camel@tux1.BATS>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.2 
Content-Transfer-Encoding: 7bit
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(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_2005_01_02

Package: nagios-text
Version: 2:1.3-0+pre6

When I install nagios and view it in my webbrowser I always get the
following failure message when I click on a link under Monitoring in the
Error: Could not read host and service status information!

The most common cause of this error message (especially for new users),
is the fact that Nagios is not actually running. If Nagios is indeed not
running, this is a normal error message. It simply indicates that the
CGIs could not obtain the current status of hosts and services that are
being monitored. If you've just installed things, make sure you read the
documentation on starting Nagios.

Some other things you should check in order to resolve this error

     1. Check the Nagios log file for messages relating to startup or
        status data errors.
     2. Always verify configuration options using the -v command-line
        option before starting or restarting Nagios!
     3. Make sure you've compiled the main program and the CGIs to use
        the same status data storage options (i.e. text file or
        database). If the main program is storing status data in a text
        file and the CGIs are trying to read status data from a
        database, you'll have problems.

Make sure you read the documentation on installing, configuring and
running Nagios thoroughly before continuing. If all else fails, try
sending a message to one of the mailing lists. More information can be
found at http://www.nagios.org.

After I did a:
touch /var/log/nagios/status.log
everything worked out fine.

I suggest adding the missing status.log file to the package.

Greetings, Tobias

Received: (at 288914-close) by bugs.debian.org; 17 Feb 2005 18:08:03 +0000
>From katie@ftp-master.debian.org Thu Feb 17 10:08:03 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D1q4I-0000Ku-00; Thu, 17 Feb 2005 10:08:03 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1D1pyl-0007ht-00; Thu, 17 Feb 2005 13:02:19 -0500
From: Sean Finney <seanius@debian.org>
To: 288914-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#288914: fixed in nagios 2:1.3-cvs.20050116-3
Message-Id: <E1D1pyl-0007ht-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Thu, 17 Feb 2005 13:02:19 -0500
Delivered-To: 288914-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(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_2005_01_02
X-CrossAssassin-Score: 3

Source: nagios
Source-Version: 2:1.3-cvs.20050116-3

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:

  to pool/main/n/nagios/nagios-common_1.3-cvs.20050116-3_all.deb
  to pool/main/n/nagios/nagios-mysql_1.3-cvs.20050116-3_i386.deb
  to pool/main/n/nagios/nagios-pgsql_1.3-cvs.20050116-3_i386.deb
  to pool/main/n/nagios/nagios-text_1.3-cvs.20050116-3_i386.deb
  to pool/main/n/nagios/nagios_1.3-cvs.20050116-3.diff.gz
  to pool/main/n/nagios/nagios_1.3-cvs.20050116-3.dsc

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

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

Debian distribution maintenance software
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)

Hash: SHA1

Format: 1.7
Date: Thu, 10 Feb 2005 22:09:43 +0000
Source: nagios
Binary: nagios-pgsql nagios-text nagios-mysql nagios-common
Architecture: source i386 all
Version: 2:1.3-cvs.20050116-3
Distribution: unstable
Urgency: low
Maintainer: Debian Nagios Maintainer Group <pkg-nagios-devel@lists.alioth.debian.org>
Changed-By: Sean Finney <seanius@debian.org>
 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: 260914 282848 288914 290243 292293 295345
 nagios (2:1.3-cvs.20050116-3) unstable; urgency=low
   * Sean Finney:
     - finally a fix for the absolute hrefs in side.html.  thanks to
       Erik Rossen <rossen@prolibre.com> reporting this bug 203 days
       ago (closes: #260914).
     - README.pgsql already contains clarifications on the conf file
       defaults for connecting to RDBMSes.  I updated README.mysql to be
       more clear on this as well thanks to olaf for pointing out
       the discrepancy a while back (closes: #282848).
     - change permissions of update-nagios output to be readable by
       group www-data, as it broke non-setuid cgi scripts.  thanks
       to Joergen Haegg <jorgen.hagg@axis.com> for finding this
       problem (closes: #292293).
     - mkdir /etc/$apache/conf.d, not /etc/$apache/$conf in postinst.
       d'oh.  actually, we shouldn't make that director at all in the
       postscript, but list it as a directory in nagios-common.dirs.
       Thanks to Pierre (didn't get his last name and he sent mail as root)
       for this one (closes: #295345).
     - make absolutely sure that /var/log/nagios/status.log is present
       on the filesystem for nagios-text.  thanks to
       Tobias Krais <krais@bats.ch> for pointing this out (closes: #288914).
     - clarification in the postinst message for when someone chooses
       manual/no configuration of apache and htpasswd doesn't exist.
       thanks to Jamie Wilkinson <jamie@anchor.net.au> (closes: #290243).
     - added checks to prevent dpkg-statoverride from being called on
       files already in the overrides database, and also removing files not
       in the database.
 ca70595817711b0a81fc4176b7fe026d 1021 net optional nagios_1.3-cvs.20050116-3.dsc
 fce17cc1c14a3c5b856236d187a6dfe5 76798 net optional nagios_1.3-cvs.20050116-3.diff.gz
 e7362f4a21983e32e1953c0d85c16ed4 901332 net optional nagios-text_1.3-cvs.20050116-3_i386.deb
 2c137390cdfbf2b660f8c90eb61a142a 906498 net optional nagios-mysql_1.3-cvs.20050116-3_i386.deb
 5e6b95df34652eb8f52100df3556ecac 917010 net optional nagios-pgsql_1.3-cvs.20050116-3_i386.deb
 45ab52375dec0e1cca1050aa3d170f5c 1215238 net optional nagios-common_1.3-cvs.20050116-3_all.deb

Version: GnuPG v1.4.0 (GNU/Linux)