[Pkg-nagios-devel] Bug#317646: nagios-common fails to install on a (more or less) clean system
Gunther Stammwitz
Gunther Stammwitz <gstammw@gmx.net>, 317646@bugs.debian.org
Sun, 10 Jul 2005 13:17:43 +0200
Package: nagios-common
Version: 1.3-cvs.20050402-2.sarge.1
Severity: important
# removing the packages..
apt-get remove nagios-text nagios-plugins nagios-common
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
nagios-common nagios-plugins nagios-text
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 7025kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 43264 files and directories currently installed.)
Removing nagios-text ...
Removing nagios-plugins ...
Removing nagios-common ...
Reloading apache configuration.
# now we have a clean system
off:/etc# rm -rf /etc/nagios
# and REinstall nagios...
off:/etc# apt-get install nagios-text nagios-plugins nagios-common
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
nagios-common nagios-plugins nagios-text
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 352kB/2473kB of archives.
After unpacking 7025kB of additional disk space will be used.
Get:1 ftp://ftp.de.debian.org sarge/main nagios-plugins 1.4-6 [352kB]
Fetched 352kB in 2s (157kB/s)
Preconfiguring packages ...
Selecting previously deselected package nagios-text.
(Reading database ... 42860 files and directories currently installed.)
Unpacking nagios-text (from .../nagios-text_2%3a1.3-cvs.20050402-2.sarge.1_i386.deb) ...
Selecting previously deselected package nagios-plugins.
Unpacking nagios-plugins (from .../nagios-plugins_1.4-6_i386.deb) ...
Selecting previously deselected package nagios-common.
Unpacking nagios-common (from .../nagios-common_2%3a1.3-cvs.20050402-2.sarge.1_all.deb) ...
Setting up nagios-plugins (1.4-6) ...
Setting up nagios-text (1.3-cvs.20050402-2.sarge.1) ...
Setting up nagios-common (1.3-cvs.20050402-2.sarge.1) ...
Configuration syntax error detected. Not reloading.
fopen: No such file or directory
apache: could not open document config file /etc/apache/conf.d/nagios
invoke-rc.d: initscript apache, action "reload" failed.
Adding password for user nagiosadmin
Can't open /etc/nagios/nagios.cfg: No such file or directory.
chmod: cannot access `/etc/nagios/cgi.cfg': No such file or directory
chmod: cannot access `/etc/nagios/resource.cfg': No such file or directory
dpkg: error processing nagios-common (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
nagios-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
# as one can see nagios doesn't install.
-- System Information:
Debian Release: 3.1
Architecture: i386 (i586)
Kernel: Linux 2.4.24-1-k6
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages nagios-common depends on:
ii adduser 3.63 Add and remove users and groups
ii apache [httpd] 1.3.33-6 versatile, high-performance HTTP s
ii coreutils [fileu 5.2.1-2 The GNU core utilities
ii debconf [debconf 1.4.30.13 Debian configuration management sy
ii fileutils 5.2.1-2 The GNU file management utilities
ii mailx 1:8.1.2-0.20040524cvs-4 A simple mail user agent
pn nagios Not found.
pn nagios-plugins Not found.