[Bug 704766] [NEW] unable to install nagios3

kelargo 704766 at bugs.launchpad.net
Wed Jan 19 05:21:00 UTC 2011


Public bug reported:

Binary package hint: nagios3

using ubuntu server, not desktop

# uname -a
Linux hostname 2.6.35-24-server #42-Ubuntu SMP Thu Dec 2 03:58:11 UTC 2010 x86_64 GNU/Linux


#  lsb_release -rd
Description:	Ubuntu 10.10
Release:	10.10


# apt-get install nagios3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  nagios3-cgi nagios3-common nagios3-core
The following NEW packages will be installed:
  nagios3 nagios3-cgi nagios3-common nagios3-core
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,987kB/1,988kB of archives.
After this operation, 6,103kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ maverick/main nagios3-common all 3.2.1-2ubuntu1 [77.1kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ maverick/main nagios3-core amd64 3.2.1-2ubuntu1 [283kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ maverick/main nagios3-cgi amd64 3.2.1-2ubuntu1 [1,627kB]
Fetched 1,987kB in 7s (281kB/s)                                                                                         
Preconfiguring packages ...
Selecting previously deselected package nagios3-common.
(Reading database ... 76434 files and directories currently installed.)
Unpacking nagios3-common (from .../nagios3-common_3.2.1-2ubuntu1_all.deb) ...
Selecting previously deselected package nagios3-core.
Unpacking nagios3-core (from .../nagios3-core_3.2.1-2ubuntu1_amd64.deb) ...
Selecting previously deselected package nagios3-cgi.
Unpacking nagios3-cgi (from .../nagios3-cgi_3.2.1-2ubuntu1_amd64.deb) ...
Selecting previously deselected package nagios3.
Unpacking nagios3 (from .../nagios3_3.2.1-2ubuntu1_amd64.deb) ...
Processing triggers for ureadahead ...
Processing triggers for man-db ...
Setting up nagios3-common (3.2.1-2ubuntu1) ...
 * Starting nagios3 monitoring daemon nagios3                                                                            
Nagios Core 3.2.1
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 03-09-2010
License: GPL

Website: http://www.nagios.org
Reading configuration data...
   Read main config file okay...
Processing object config file '/etc/nagios3/commands.cfg'...
Processing object config directory '/etc/nagios-plugins/config'...
Processing object config file '/etc/nagios-plugins/config/check_nrpe.cfg'...
Processing object config directory '/etc/nagios3/conf.d'...
Processing object config file '/etc/nagios3/conf.d/extinfo_nagios2.cfg'...
Processing object config file '/etc/nagios3/conf.d/timeperiods_nagios2.cfg'...
Processing object config file '/etc/nagios3/conf.d/generic-host_nagios2.cfg'...
Processing object config file '/etc/nagios3/conf.d/contacts_nagios2.cfg'...
Processing object config file '/etc/nagios3/conf.d/services_nagios2.cfg'...
Processing object config file '/etc/nagios3/conf.d/generic-service_nagios2.cfg'...
Processing object config file '/etc/nagios3/conf.d/localhost_nagios2.cfg'...
Processing object config file '/etc/nagios3/conf.d/hostgroups_nagios2.cfg'...
   Read object config files okay...

Running pre-flight check on configuration data...

Checking services...
Error: Service check command 'check_load' specified in service 'Current Load' for host 'localhost' not defined anywhere!
Error: Service check command 'check_users' specified in service 'Current Users' for host 'localhost' not defined anywhere!
Error: Service check command 'check_all_disks' specified in service 'Disk Space' for host 'localhost' not defined anywhere!
Error: Service check command 'check_http' specified in service 'HTTP' for host 'localhost' not defined anywhere!
Error: Service check command 'check_ssh' specified in service 'SSH' for host 'localhost' not defined anywhere!
Error: Service check command 'check_procs' specified in service 'Total Processes' for host 'localhost' not defined anywhere!
	Checked 6 services.
Checking hosts...
Error: Host check command 'check-host-alive' specified for host 'localhost' is not defined anywhere!
	Checked 1 hosts.
Checking host groups...
	Checked 4 host groups.
Checking service groups...
	Checked 0 service groups.
Checking contacts...
	Checked 1 contacts.
Checking contact groups...
	Checked 1 contact groups.
Checking service escalations...
	Checked 0 service escalations.
Checking service dependencies...
	Checked 0 service dependencies.
Checking host escalations...
	Checked 0 host escalations.
Checking host dependencies...
	Checked 0 host dependencies.
Checking commands...
	Checked 6 commands.
Checking time periods...
	Checked 4 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors:   7

***> One or more problems was encountered while running the pre-flight
check...

     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 regarding the config files, as well as the
     'Whats New' section to find out what has changed.

 * errors in config!
                                                                                                                  [fail]
invoke-rc.d: initscript nagios3, action "start" failed.
dpkg: error processing nagios3-common (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of nagios3-core:
 nagios3-core depends on nagios3-common (= 3.2.1-2ubuntu1); however:
  Package nagios3-common is not configured yet.
dpkg: error processing nagios3-core (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nagios3-cgi:
 nagios3-cgi depends on nagios3-common (= 3.2.1-2ubuntu1); however:
  Package nagios3-common is not configured yet.
dpkg: error processing nagios3-cgi (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nagios3:
 nagios3 depends on nagios3-core (= 3.2.1-2ubuntu1); however:
  Package nagios3-core is not configured yet.
 nagios3 depends on nagios3-cgi (= 3.2.1-2ubuntu1); however:
  Package nagios3-cgi is not configured yet.
dpkg: error processing nagios3 (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                           No apport report written because MaxReports is reached already
                                Errors were encountered while processing:
 nagios3-common
 nagios3-core
 nagios3-cgi
 nagios3
E: Sub-process /usr/bin/dpkg returned an error code (1)
#

** Affects: nagios3 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nagios3 in ubuntu.
https://bugs.launchpad.net/bugs/704766

Title:
  unable to install nagios3



More information about the Ubuntu-server-bugs mailing list