Problem bei der Installation von Nagios3

Du kommst mit der Installation nicht voran oder willst noch was nachfragen? Schau auch in den "Tipps und Tricks"-Bereich.
Antworten
Benutzeravatar
Wintergedaerm
Beiträge: 120
Registriert: 28.01.2005 10:40:47
Lizenz eigener Beiträge: MIT Lizenz
Kontaktdaten:

Problem bei der Installation von Nagios3

Beitrag von Wintergedaerm » 19.11.2010 09:49:30

hallo,

Ich habe gerade probeirt Nagios 3 mit apt-get install nagios3 zu installieren bin aber in folgendes Problem gerannt:


Setting up nagios3-common (3.0.6-4~lenny2) ...
*** WARNING: ucf was run from a maintainer script that uses debconf, but
the script did not pass --debconf-ok to ucf. The maintainer
script should be fixed to not stop debconf before calling ucf,
and pass it this parameter. For now, ucf will revert to using
old-style, non-debconf prompting. Ugh!

Please inform the package maintainer about this problem.
Creating config file /etc/nagios3/apache2.conf with new version
*** WARNING: ucf was run from a maintainer script that uses debconf, but
the script did not pass --debconf-ok to ucf. The maintainer
script should be fixed to not stop debconf before calling ucf,
and pass it this parameter. For now, ucf will revert to using
old-style, non-debconf prompting. Ugh!

Please inform the package maintainer about this problem.


Creating config file /etc/nagios3/conf.d/host-gateway_nagios3.cfg with new version
Reloading web server config: apache2.
Starting nagios3 monitoring daemon: nagios3.
Setting up nagios3 (3.0.6-4~lenny2) ...

Nagios läuft und ich kann auch aufs Webinterface zugreifen, allerdings macht mch diese Fehlermeldung bei nagios3-common stutzig.
Wie kann ich das beheben?
Danke, Michael

rendegast
Beiträge: 15041
Registriert: 27.02.2006 16:50:33
Lizenz eigener Beiträge: MIT Lizenz

Re: Problem bei der Installation von Nagios3

Beitrag von rendegast » 19.11.2010 13:52:36

ucf ist für die Migration von Einstellungsdateien vorheriger Installationen.
Da Du neu installiert hast, waren solche nicht vorhanden und es ist wohl deshalb gegen die Wand gelaufen.

Du kannst die Konfigurationsdateien /etc/nagios3/ mit den verwendeten Templates /usr/share/doc/nagios3-common/examples/
http://packages.debian.org/lenny/all/na ... n/filelist
auf Unstimmigkeiten prüfen.

Was auch möglich wäre, nagios3 zu entfernen (OHNE 'purge') und nochmal installieren,
debconf / ucf sollten dann keine Probleme mehr melden.
mfg rendegast
-----------------------
Viel Eifer, viel Irrtum; weniger Eifer, weniger Irrtum; kein Eifer, kein Irrtum.
(Lin Yutang "Moment in Peking")

Benutzeravatar
Wintergedaerm
Beiträge: 120
Registriert: 28.01.2005 10:40:47
Lizenz eigener Beiträge: MIT Lizenz
Kontaktdaten:

Re: Problem bei der Installation von Nagios3

Beitrag von Wintergedaerm » 23.11.2010 10:53:46

Okay auch nach entfernen und neuinstalliern kommt weiterhin diese Fehlermeldung

Code: Alles auswählen

Setting up nagios3-common (3.0.6-4~lenny2) ...
*** WARNING: ucf was run from a maintainer script that uses debconf, but
             the script did not pass --debconf-ok to ucf. The maintainer
             script should be fixed to not stop debconf before calling ucf,
             and pass it this parameter. For now, ucf will revert to using
             old-style, non-debconf prompting. Ugh!

             Please inform the package maintainer about this problem.

Creating config file /etc/nagios3/apache2.conf with new version
*** WARNING: ucf was run from a maintainer script that uses debconf, but
             the script did not pass --debconf-ok to ucf. The maintainer
             script should be fixed to not stop debconf before calling ucf,
             and pass it this parameter. For now, ucf will revert to using
             old-style, non-debconf prompting. Ugh!

             Please inform the package maintainer about this problem.

Creating config file /etc/nagios3/conf.d/host-gateway_nagios3.cfg with new version
Die Config dateien scheinen aber alle an ihrem platz zu sein hm. Mal schauen ob ichs trotzdem zum laufen bekomme.

rendegast
Beiträge: 15041
Registriert: 27.02.2006 16:50:33
Lizenz eigener Beiträge: MIT Lizenz

Re: Problem bei der Installation von Nagios3

Beitrag von rendegast » 23.11.2010 13:28:40

Na gut, seit einem Jahr:
http://bugs.debian.org/nagios3-common
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=552773
"... nur eine Warnung ..."
Vergiß es also einfach.

In squeeze, nagios3-common 3.2.1 postinst nur noch debconf,
dort also gefixt.
-> nagios3 3.2.1 aus den backports? http://packages.debian.org/nagios3
mfg rendegast
-----------------------
Viel Eifer, viel Irrtum; weniger Eifer, weniger Irrtum; kein Eifer, kein Irrtum.
(Lin Yutang "Moment in Peking")

Antworten