PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Probleme mit rrd2-graph.cgi



krochr
21-09-2006, 15:53
Hallo zusammen!

Ich bin gerade dabei ein Nagios 2.5 Server zu installieren. Alles läuft bisher super. Ich verwende zum Darstellen von Grafiken den NagiosGrapher 1.6 rc1. Alles läuft auf einem Ubuntu 6.06 LTS System. Das Anzeigen des Koordinatenkreuzes funktioniert auch schon. Bei jeder Aktualisierung des Graphen bekomme ich aber folgende Fehlermeldung in die apache error.log geschrieben: Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/rrd2-graph.cgi line 532, <CGI> line 275. Da ich kein Perl kann weis ich auch nicht wo ich nach dem Fehler suchen muss, zudem gibt der Befehl perl -c rrd2-graph.cgi und perl -c graph.cgi einen Syntax Ok zurück.

Kann mir jemand sagen, was dieser Fehler bedeutet und wie ich dieses Problem beheben kann? Mein Ansätze war bisher ImageMagick 6.2.9 neuzuinstallieren, aber leider hat mir das keine Abhilfe geschaffen.

Für jegliche Meldung bin ich sehr dankbar,
Christoph

krochr
25-09-2006, 09:00
Hallo!

Ich habe NagiosGrapher noch mal neu installiert. Beim ersten Starten bekam ich den Fehler Can't locate loadable object for RRDs module in @INC. Dieser Fehler tauchte mit den CGIs rrd2-system.cgi und graphs.cgi auf. Darauf hin habe ich mit find nach der RRDs.pm gesucht und den gefundenen Pfad wie folgt eingetragen:
use lib "pfad/zur/RRDs.pm"

Ich hoffe ihr könnt mir helfen,

Christoph

P.S.: Nun noch die Fehlermeldungen bevor ich die lib eingetragen habe und danach

#--------------- Vor dem Einfügen ------------------------------------------------------


[Mon Sep 25 08:44:07 2006] graphs.cgi: Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/graphs.cgi line 474, <CGI> line 277.
Can't locate loadable object for module RRDs in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /etc/perl/NagiosGrapher.pm line 38
Compilation failed in require at /etc/perl/NagiosGrapher.pm line 38.
BEGIN failed--compilation aborted at /etc/perl/NagiosGrapher.pm line 38.
Compilation failed in require at /usr/local/nagios/sbin/rrd2-system.cgi line 29.BEGIN failed--compilation aborted at /usr/local/nagios/sbin/rrd2-system.cgi line 29.
Can't locate loadable object for module RRDs in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /etc/perl/NagiosGrapher.pm line 38
Compilation failed in require at /etc/perl/NagiosGrapher.pm line 38.
BEGIN failed--compilation aborted at /etc/perl/NagiosGrapher.pm line 38.
Compilation failed in require at /usr/local/nagios/sbin/rrd2-system.cgi line 29.BEGIN failed--compilation aborted at /usr/local/nagios/sbin/rrd2-system.cgi line 29.
[Mon Sep 25 08:44:09 2006] [error] [client 127.0.0.1] Premature end of script headers: rrd2-system.cgi, referer: http://localhost/nagios/cgi-bin/graphs.cgi

---------------------- Nach dem Einfügen -------------------------------------------------


[Mon Sep 25 08:50:44 2006] graphs.cgi: Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/graphs.cgi line 109.
[Mon Sep 25 08:50:44 2006] graphs.cgi: Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/graphs.cgi line 109.
[Mon Sep 25 08:50:44 2006] graphs.cgi: Use of uninitialized value in hash element at /usr/local/nagios/sbin/graphs.cgi line 313, <CGI> line 277.
[Mon Sep 25 08:50:44 2006] graphs.cgi: Use of uninitialized value in hash element at /usr/local/nagios/sbin/graphs.cgi line 313, <CGI> line 277.
[Mon Sep 25 08:50:44 2006] graphs.cgi: Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/graphs.cgi line 344, <CGI> line 277.
[Mon Sep 25 08:50:44 2006] graphs.cgi: Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/graphs.cgi line 344, <CGI> line 277.
[Mon Sep 25 08:50:45 2006] graphs.cgi: Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/graphs.cgi line 474, <CGI> line 277.
[Mon Sep 25 08:50:45 2006] graphs.cgi: Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/graphs.cgi line 474, <CGI> line 277.
[Mon Sep 25 08:50:45 2006] graphs.cgi: Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/graphs.cgi line 474, <CGI> line 277.
[Mon Sep 25 08:50:45 2006] graphs.cgi: Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/graphs.cgi line 474, <CGI> line 277.
[Mon Sep 25 08:50:45 2006] graphs.cgi: Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/graphs.cgi line 474, <CGI> line 277.
[Mon Sep 25 08:50:45 2006] graphs.cgi: Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/graphs.cgi line 474, <CGI> line 277.
[Mon Sep 25 08:50:45 2006] graphs.cgi: Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/graphs.cgi line 474, <CGI> line 277.
[Mon Sep 25 08:50:45 2006] graphs.cgi: Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/graphs.cgi line 474, <CGI> line 277.
[Mon Sep 25 08:50:45 2006] graphs.cgi: Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/graphs.cgi line 474, <CGI> line 277.
[Mon Sep 25 08:50:45 2006] graphs.cgi: Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/graphs.cgi line 474, <CGI> line 277.
Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/rrd2-graph.cgi line 533, <CGI> line 277.
Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/rrd2-graph.cgi line 533, <CGI> line 277.
Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/rrd2-graph.cgi line 533, <CGI> line 277.
Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/rrd2-graph.cgi line 533, <CGI> line 277.
Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/rrd2-graph.cgi line 533, <CGI> line 277.
[Mon Sep 25 08:55:54 2006] graphs.cgi: Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/graphs.cgi line 109.
[Mon Sep 25 08:55:54 2006] graphs.cgi: Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/graphs.cgi line 109.
[Mon Sep 25 08:55:54 2006] graphs.cgi: Use of uninitialized value in hash element at /usr/local/nagios/sbin/graphs.cgi line 313, <CGI> line 277.
[Mon Sep 25 08:55:54 2006] graphs.cgi: Use of uninitialized value in hash element at /usr/local/nagios/sbin/graphs.cgi line 313, <CGI> line 277.
[Mon Sep 25 08:55:54 2006] graphs.cgi: Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/graphs.cgi line 344, <CGI> line 277.
[Mon Sep 25 08:55:54 2006] graphs.cgi: Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/graphs.cgi line 344, <CGI> line 277.
[Mon Sep 25 08:55:55 2006] graphs.cgi: Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/graphs.cgi line 474, <CGI> line 277.
[Mon Sep 25 08:55:55 2006] graphs.cgi: Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/graphs.cgi line 474, <CGI> line 277.
[Mon Sep 25 08:55:55 2006] graphs.cgi: Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/graphs.cgi line 474, <CGI> line 277.
[Mon Sep 25 08:55:55 2006] graphs.cgi: Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/graphs.cgi line 474, <CGI> line 277.
[Mon Sep 25 08:55:55 2006] graphs.cgi: Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/graphs.cgi line 474, <CGI> line 277.
[Mon Sep 25 08:55:55 2006] graphs.cgi: Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/graphs.cgi line 474, <CGI> line 277.
[Mon Sep 25 08:55:55 2006] graphs.cgi: Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/graphs.cgi line 474, <CGI> line 277.
[Mon Sep 25 08:55:55 2006] graphs.cgi: Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/graphs.cgi line 474, <CGI> line 277.
[Mon Sep 25 08:55:55 2006] graphs.cgi: Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/graphs.cgi line 474, <CGI> line 277.
[Mon Sep 25 08:55:55 2006] graphs.cgi: Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/graphs.cgi line 474, <CGI> line 277.
Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/rrd2-graph.cgi line 533, <CGI> line 277.
Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/rrd2-graph.cgi line 533, <CGI> line 277.
Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/rrd2-graph.cgi line 533, <CGI> line 277.
Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/rrd2-graph.cgi line 533, <CGI> line 277.
Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/rrd2-graph.cgi line 533, <CGI> line 277.