[Pkg-nagios-devel] Bug#626854: nagios3-cgi won't install if /var/run/nagios3 does not exist

Marc-Jano Knopp pub_br_debian.org at marc-jano.de
Sun May 15 22:17:39 UTC 2011


Package: nagios3-cgi
Version: 3.2.3-1+b1
Severity: important

nagios3-cgi won't install if /var/run/nagios3 does not exist:

---------- snip ----------
# aptitude full-upgrade
[...]
Setting up nagios3-cgi (3.2.3-1+b1) ...
chown: cannot access `/var/run/nagios3': No such file or directory
dpkg: error processing nagios3-cgi (--configure):
 subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
                                      dpkg: dependency problems prevent configuration of nagios3:
 nagios3 depends on nagios3-cgi (= 3.2.3-1+b1); however:
  Package nagios3-cgi is not configured yet.
dpkg: error processing nagios3 (--configure):
 dependency problems - leaving unconfigured
configured to not write apport reports
                                      Errors were encountered while processing:
 nagios3-cgi
 nagios3
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up nagios3-cgi (3.2.3-1+b1) ...
chown: cannot access `/var/run/nagios3': No such file or directory
dpkg: error processing nagios3-cgi (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of nagios3:
 nagios3 depends on nagios3-cgi (= 3.2.3-1+b1); however:
  Package nagios3-cgi is not configured yet.
dpkg: error processing nagios3 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 nagios3-cgi
 nagios3
---------- snip ----------

A "mkdir -p /var/run/nagios3" before issuing "aptitude full-upgrade"
makes the packages install fine.


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

Kernel: Linux 2.6.38-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash

Versions of packages nagios3-cgi depends on:
ii  adduser                3.112+nmu2        add and remove users and groups
ii  apache2-utils          2.2.17-3          utility programs for webservers
ii  coreutils              8.5-1             GNU core utilities
ii  debconf [debconf-2.0]  1.5.39            Debian configuration management sy
ii  libapache2-mod-php5    5.3.3-7           server-side, HTML-embedded scripti
ii  libc6                  2.13-4            Embedded GNU C Library: Shared lib
ii  libgd2-xpm             2.0.36~rc1~dfsg-5 GD Graphics Library version 2
ii  libjpeg62              6b1-1             The Independent JPEG Group's JPEG 
ii  libpng12-0             1.2.44-2          PNG library - runtime
ii  nagios3-common         3.2.3-1           support files for nagios3
ii  php5                   5.3.3-7           server-side, HTML-embedded scripti
ii  ucf                    3.0025+nmu2       Update Configuration File: preserv
ii  zlib1g                 1:1.2.3.4.dfsg-3  compression library - runtime

Versions of packages nagios3-cgi recommends:
ii  apache2                       2.2.17-3   Apache HTTP Server metapackage
ii  apache2-mpm-prefork [httpd]   2.2.17-3   Apache HTTP Server - traditional n
ii  nagios-images                 0.7        Collection of images and icons for

nagios3-cgi suggests no packages.

-- debconf information:
  nagios3/httpd: apache2
  nagios3/adminpassword-mismatch:
  nagios3/nagios1-in-apacheconf: false





More information about the Pkg-nagios-devel mailing list