[naemon-users] apt-get install errors

Justin Laughlin justinnlaughlin at gmail.com
Tue Feb 17 22:16:22 CET 2015


Hello Group,

When I install the new version 1 binaries it errors out with the complaint:

dpkg: error processing package naemon (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 naemon-core
 naemon

I copied most of the install shell for inspection.  I have tried various
apt-get and dpkg commands to clean up and configure the packages to no
avail.  I cloned the Naemon server before upgrading so I can revert to the
clone.  I am going to try completely uninstalling and install one more time
before giving up for the day.

Thanks for your help!

Justin Laughlin


Output from shell below:

Fetched 14.5 MB in 13s (1,060 kB/s)
Reading package lists... Done
root at Netmon1:/etc/naemon# apt-get install naemon
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  naemon-core naemon-livestatus naemon-thruk naemon-thruk-libs
naemon-thruk-reporting
The following packages will be upgraded:
  naemon naemon-core naemon-livestatus naemon-thruk naemon-thruk-libs
naemon-thruk-reporting
6 upgraded, 0 newly installed, 0 to remove and 253 not upgraded.
Need to get 10.4 MB of archives.
After this operation, 26.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://labs.consol.de/repo/testing/debian/ jessie/main naemon amd64
1.0.2-20150217 [2,566 B]
Get:2 http://labs.consol.de/repo/testing/debian/ jessie/main naemon-core
amd64 1.0.2-20150217 [228 kB]
Get:3 http://labs.consol.de/repo/testing/debian/ jessie/main
naemon-livestatus amd64 1.0.2-20150217 [142 kB]
Get:4 http://labs.consol.de/repo/testing/debian/ jessie/main
naemon-thruk-reporting amd64 1.0.2-20150217 [111 kB]
Get:5 http://labs.consol.de/repo/testing/debian/ jessie/main naemon-thruk
amd64 1.0.2-20150217 [3,321 kB]
Get:6 http://labs.consol.de/repo/testing/debian/ jessie/main
naemon-thruk-libs amd64 1.0.2-20150217 [6,553 kB]
Fetched 10.4 MB in 16s (637 kB/s)
Reading changelogs... Done
(Reading database ... 137513 files and directories currently installed.)
Preparing to unpack .../naemon_1.0.2-20150217_amd64.deb ...
Unpacking naemon (1.0.2-20150217) over (0.8.1-20141218) ...
Preparing to unpack .../naemon-core_1.0.2-20150217_amd64.deb ...
uid=33(www-data) gid=33(www-data) groups=33(www-data),125(naemon)
Unpacking naemon-core (1.0.2-20150217) over (0.8.1-20141218) ...
Preparing to unpack .../naemon-livestatus_1.0.2-20150217_amd64.deb ...
Unpacking naemon-livestatus (1.0.2-20150217) over (0.8.1-20141218) ...
Preparing to unpack .../naemon-thruk-reporting_1.0.2-20150217_amd64.deb ...
Unpacking naemon-thruk-reporting (1.0.2-20150217) over (0.8.1-20141218) ...
Preparing to unpack .../naemon-thruk_1.0.2-20150217_amd64.deb ...
Unpacking naemon-thruk (1.0.2-20150217) over (0.8.1-20141218) ...
Preparing to unpack .../naemon-thruk-libs_1.0.2-20150217_amd64.deb ...
Unpacking naemon-thruk-libs (1.0.2-20150217) over (0.8.1-20141218) ...
^[[1;5C^[[1;5CProcessing triggers for man-db (2.7.0.2-4) ...
                    Setting up naemon-core (1.0.2-20150217) ...

Configuration file '/etc/naemon/conf.d/commands.cfg'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** commands.cfg (Y/I/N/O/D/Z) [default=N] ? I
Installing new version of config file /etc/naemon/conf.d/commands.cfg ...

Configuration file '/etc/naemon/naemon.cfg'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** naemon.cfg (Y/I/N/O/D/Z) [default=N] ? I
Installing new version of config file /etc/naemon/naemon.cfg ...

Configuration file '/etc/naemon/resource.cfg'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** resource.cfg (Y/I/N/O/D/Z) [default=N] ? I
Installing new version of config file /etc/naemon/resource.cfg ...
Job for naemon.service failed. See 'systemctl status naemon.service' and
'journalctl -xn' for details.
invoke-rc.d: initscript naemon, action "start" failed.
Job for naemon.service failed. See 'systemctl status naemon.service' and
'journalctl -xn' for details.
invoke-rc.d: initscript naemon, action "start" failed.
dpkg: error processing package naemon-core (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up naemon-livestatus (1.0.2-20150217) ...
Setting up naemon-thruk-libs (1.0.2-20150217) ...
Setting up naemon-thruk (1.0.2-20150217) ...
Installing new version of config file
/etc/naemon/ssi/extinfo-header.ssi.example ...
Installing new version of config file
/etc/naemon/ssi/status-header.ssi.example ...
Installing new version of config file /etc/naemon/thruk.conf ...
thruk plugins enabled: business_process conf minemap mobile panorama
reports2 statusmap
Module alias already enabled
Module fcgid already enabled
Considering dependency authn_core for auth_basic:
Module authn_core already enabled
Module auth_basic already enabled
Module rewrite already enabled
Conf thruk_cookie_auth_vhost already enabled
uid=33(www-data) gid=33(www-data) groups=33(www-data),125(naemon)
Naemon/Thruk have been configured for http://Netmon1/naemon/.
The default user is 'admin' with password 'admin'. You can usually change
that by 'htpasswd /etc/naemon/htpasswd admin'. And you really should change
that!
Setting up naemon-thruk-reporting (1.0.2-20150217) ...
dpkg: dependency problems prevent configuration of naemon:
 naemon depends on naemon-core (= 1.0.2-20150217); however:
  Package naemon-core is not configured yet.

dpkg: error processing package naemon (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 naemon-core
 naemon
E: Sub-process /usr/bin/dpkg returned an error code (1)
root at Netmon1:/etc/naemon#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/naemon-users/attachments/20150217/1efd5195/attachment.html>


More information about the Naemon-users mailing list