[Pkg-nagios-devel] Bug#683521: nagios3-common: install fails if /etc/nagios3/resource.cfg is missing

Russell Sim russell.sim at gmail.com
Wed Aug 1 12:31:54 UTC 2012


Package: nagios3-common
Version: 3.4.1-2
Severity: normal

Hi,

Nagios fails to upgrade if /etc/nagios3/resources.cfg is missing, here is the
error from apt.

Cheers,
Russell

Setting up nagios3-common (3.4.1-2) ...
chown: cannot access `/etc/nagios3/resource.cfg': No such file or directory
dpkg: error processing nagios3-common (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of nagios3-cgi:
 nagios3-cgi depends on nagios3-common (= 3.4.1-2); 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-core:
 nagios3-core depends on nagios3-common (= 3.4.1-2); 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:
 nagios3 depends on nagios3-cgi (= 3.4.1-2); however:
  Package nagios3-cgi is not configured yet.
 nagios3 depends on nagios3-core (= 3.4.1-2); however:
  Package nagios3-core is not configured yet.
dpkg: error processing nagios3 (--configure):
 dependency problems - leaving uncconfigured to not write apport reports
configured to not write apport reports
configured to not write apport reports
configured to not write apport reports
onfigured
Errors were encountered while processing:
 nagios3-common
 nagios3-cgi
 nagios3-core
 nagios3



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nagios3-common depends on:
ii  adduser               3.113+nmu3
ii  bsd-mailx [mailx]     8.1.2-0.20111106cvs-1
ii  coreutils             8.13-3.2
ii  libjs-jquery          1.7.2+debian-2
ii  lsb-base              4.1+Debian7
ii  nagios-plugins-basic  1.4.15-5
ii  ucf                   3.0025+nmu3

Versions of packages nagios3-common recommends:
ii  nagios-plugins  1.4.15-5

nagios3-common suggests no packages.

-- Configuration Files:
/etc/nagios3/commands.cfg [Errno 2] No such file or directory: u'/etc/nagios3/commands.cfg'
/etc/nagios3/conf.d/contacts_nagios2.cfg [Errno 13] Permission denied: u'/etc/nagios3/conf.d/contacts_nagios2.cfg'
/etc/nagios3/conf.d/extinfo_nagios2.cfg [Errno 13] Permission denied: u'/etc/nagios3/conf.d/extinfo_nagios2.cfg'
/etc/nagios3/conf.d/generic-host_nagios2.cfg [Errno 13] Permission denied: u'/etc/nagios3/conf.d/generic-host_nagios2.cfg'
/etc/nagios3/conf.d/generic-service_nagios2.cfg [Errno 13] Permission denied: u'/etc/nagios3/conf.d/generic-service_nagios2.cfg'
/etc/nagios3/conf.d/hostgroups_nagios2.cfg [Errno 13] Permission denied: u'/etc/nagios3/conf.d/hostgroups_nagios2.cfg'
/etc/nagios3/conf.d/localhost_nagios2.cfg [Errno 13] Permission denied: u'/etc/nagios3/conf.d/localhost_nagios2.cfg'
/etc/nagios3/conf.d/services_nagios2.cfg [Errno 13] Permission denied: u'/etc/nagios3/conf.d/services_nagios2.cfg'
/etc/nagios3/conf.d/timeperiods_nagios2.cfg [Errno 13] Permission denied: u'/etc/nagios3/conf.d/timeperiods_nagios2.cfg'
/etc/nagios3/nagios.cfg changed [not included]
/etc/nagios3/resource.cfg [Errno 13] Permission denied: u'/etc/nagios3/resource.cfg'

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20120801/6126ef1b/attachment.pgp>


More information about the Pkg-nagios-devel mailing list