Update vers Squeeze Wheezy munin problème

Bonjour,

depuis l’upgrade vers wheezy, munin ne génère plus aucune statistiques… Le port 4949 est en LISTEN.

J’ai désinstallé et purger munin munin-node et réinstallé mais le problème persiste…

dans /etc/munin/munin.conf, j’ai juste dé commenté :

[code]dbdir /var/lib/munin
htmldir /var/cache/munin/www
logdir /var/log/munin
rundir /var/run/munin

Where to look for the HTML templates

tmpldir /etc/munin/templates

Where to look for the static www files

#staticdir /etc/munin/static

temporary cgi files are here. note that it has to be writable by

the cgi user (usually nobody or httpd).

cgitmpdir /var/lib/munin/cgi-tmp

(Exactly one) directory to include all files from.

includedir /etc/munin/munin-conf.d

You can choose the time reference for “DERIVE” like graphs, and show

“per minute”, “per hour” values instead of the default “per second”

graph_period second[/code]

dans /etc/apache2/conf.d/munin :

[code]# Enable this for template generation
Alias /munin /var/cache/munin/www

Enable this for cgi-based templates

#Alias /munin-cgi/static /var/cache/munin/www/static
#ScriptAlias /munin-cgi /usr/lib/munin/cgi/munin-cgi-html
#<Location /munin-cgi>

Order allow,deny

Allow from localhost 127.0.0.0/8 ::1

AuthUserFile /etc/munin/munin-htpasswd

AuthName “Munin”

AuthType Basic

require valid-user

#

<Directory /var/cache/munin/www>
Order allow,deny
Allow from localhost 127.0.0.0/8 ::1
Allow from localhost 192.168.1.32/24 ::1
#Allow From All
Options All

# This file can be used as a .htaccess file, or a part of your apache
# config file.
#
# For the .htaccess file option to work the munin www directory
# (/var/cache/munin/www) must have "AllowOverride all" or something 
# close to that set.
#

# AuthUserFile /etc/munin/munin-htpasswd
# AuthName "Munin"
# AuthType Basic
# require valid-user

# This next part requires mod_expires to be enabled.
#

# Set the default expiration time for files to 5 minutes 10 seconds from
# their creation (modification) time.  There are probably new files by
# that time. 
#

<IfModule mod_expires.c>
    ExpiresActive On
	ExpiresDefault M310
</IfModule>

Enables fastcgi for munin-cgi-html if present

#<Location /munin-cgi>

SetHandler fastcgi-script

#

#<Location /munin-cgi/static>

SetHandler None

#

Enables fastcgi for munin-cgi-graph if present

ScriptAlias /munin-cgi/munin-cgi-graph /usr/lib/munin/cgi/munin-cgi-graph
<Location /munin-cgi/munin-cgi-graph>
Order allow,deny
Allow from localhost 127.0.0.0/8 ::1
# AuthUserFile /etc/munin/munin-htpasswd
# AuthName “Munin”
# AuthType Basic
# require valid-user

SetHandler fastcgi-script

ScriptAlias /munin-cgi/munin-cgi-html /usr/lib/munin/cgi/munin-cgi-html
<Location /munin-cgi/munin-cgi-html>
Order allow,deny
Allow from localhost 127.0.0.0/8 ::1
# AuthUserFile /etc/munin/munin-htpasswd
# AuthName “Munin”
# AuthType Basic
# require valid-user

SetHandler fastcgi-script


[/code]

dans /var/cache/munin/www, il y a eu juste le dossier static… :s

concernant les logs, dans munin-update:

[quote]2013/07/17 02:26:12 [INFO] Remaining workers: localdomain;localhost.localdomain
2013/07/17 02:26:12 [INFO] Reaping Munin::Master::UpdateWorker<localdomain;localhost.localdomain>. Exit value/signal: 18/0
2013/07/17 02:26:12 [INFO] No old data available for failed worker localdomain;localhost.localdomain. This node will disappear from the html web page hierarchy
2013/07/17 02:26:12 [INFO]: Munin-update finished (70.02 sec)
2013/07/17 02:30:02 [INFO]: Starting munin-update
2013/07/17 02:30:02 [INFO] Process 36278 is dead, stealing lock, removing file
2013/07/17 02:30:02 [INFO] starting work in 36490 for localhost.localdomain/127.0.0.1:4949.
2013/07/17 02:30:12 [INFO] Remaining workers: localdomain;localhost.localdomain
2013/07/17 02:30:22 [INFO] Remaining workers: localdomain;localhost.localdomain
2013/07/17 02:30:32 [INFO] Remaining workers: localdomain;localhost.localdomain
2013/07/17 02:30:42 [INFO] Remaining workers: localdomain;localhost.localdomain
2013/07/17 02:30:52 [INFO] Remaining workers: localdomain;localhost.localdomain
2013/07/17 02:31:02 [INFO] Remaining workers: localdomain;localhost.localdomain
2013/07/17 02:31:05 [FATAL] Socket read from localhost.localdomain failed. Terminating process. at /usr/share/perl5/Munin/Master/UpdateWorker.pm line 254
2013/07/17 02:31:05 [ERROR] Munin::Master::UpdateWorker<localdomain;localhost.localdomain> died with ‘[FATAL] Socket read from localhost.localdomain failed. Terminating process. at /usr/share/perl5/Munin/Master/UpdateWorker.pm line 254
’[/quote]

munin-node.log :

[quote]Process Backgrounded
2013/07/17-00:52:13 Munin::Node::Server (type Net::Server::Fork) starting! pid(32421)
Resolved []:4949 to [::]:4949, IPv6
Not including resolved host [0.0.0.0] IPv4 because it will be handled by [::] IPv6
Binding to TCP port 4949 on host :: with IPv6
2013/07/17-00:56:42 Server closing!
Process Backgrounded
2013/07/17-00:56:42 Munin::Node::Server (type Net::Server::Fork) starting! pid(33022)
Resolved [
]:4949 to [::]:4949, IPv6
Not including resolved host [0.0.0.0] IPv4 because it will be handled by [::] IPv6
Binding to TCP port 4949 on host :: with IPv6
2013/07/17-01:06:01 CONNECT TCP Peer: “[::ffff:192.168.1.32]:48119” Local: "[::ffff:192.168.1.32]:4949"
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Net/Server.pm line 600.
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Net/Server.pm line 600.
2013/07/17-01:06:01 [33603] Denying connection from: ::ffff:192.168.1.32[/quote]

/usr/share/munin/munin-update --nofork --debug :

[quote]2013/07/17 02:54:25 [DEBUG] Creating new lock file /var/run/munin/munin-update.lock
2013/07/17 02:54:25 [DEBUG] Creating lock : /var/run/munin/munin-update.lock succeeded
2013/07/17 02:54:25 [INFO]: Starting munin-update
2013/07/17 02:54:25 [DEBUG] Lock /var/run/munin/munin-localdomain-localhost.localdomain.lock already exists, checking process
2013/07/17 02:54:25 [DEBUG] Lock contained pid '37226’
2013/07/17 02:54:25 [INFO] Process 37226 is dead, stealing lock, removing file
2013/07/17 02:54:25 [DEBUG] Creating new lock file /var/run/munin/munin-localdomain-localhost.localdomain.lock
2013/07/17 02:54:25 [DEBUG] Creating lock : /var/run/munin/munin-localdomain-localhost.localdomain.lock succeeded
2013/07/17 02:54:25 [DEBUG] Reading state for localdomain-localhost.localdomain in /var/lib/munin/state-localdomain-localhost.localdomain.storable
2013/07/17 02:54:25 [INFO] starting work in 37863 for localhost.localdomain/127.0.0.1:4949.
2013/07/17 02:55:29 [FATAL] Socket read from localhost.localdomain failed. Terminating process. at /usr/share/perl5/Munin/Master/UpdateWorker.pm line 254
2013/07/17 02:55:29 [WARNING] Failed worker localdomain;localhost.localdomain
2013/07/17 02:55:29 [DEBUG] Creating new lock file /var/run/munin/munin-datafile.lock
2013/07/17 02:55:29 [DEBUG] Creating lock : /var/run/munin/munin-datafile.lock succeeded
2013/07/17 02:55:29 [INFO] No old data available for failed worker localdomain;localhost.localdomain. This node will disappear from the html web page hierarchy
2013/07/17 02:55:29 [DEBUG] Writing state to /var/lib/munin/datafile.storable
2013/07/17 02:55:29 [INFO]: Munin-update finished (63.15 sec)
[/quote]

Si vous avez besoin d’autres renseignements, faite moi le savoir.

Je précise que c’est bien l’upgrade qui m’a cassé munin, avant tout fonctionnait sans problème.

Edit : Le problème est réglé, merci google après quelques jours de galère ^^

Cordialement,

Bonjour,

Désolé pour le UP, mais quelle(s) solution(s) as-tu utilisé ? Car je suis moi-même confronté aux mêmes erreurs depuis plusieurs jours.

Merci

Bonjour,

Je me retrouve dans la même situation. Néanmoins certaines nodes sont fonctionnelles. D’autres sont partiellement fonctionnelles et d’autres pas du tout.

Celles non fonctionnelles, retournent des erreurs “Error in node communication”.

Si quelqu’un à une solution miracle :slightly_smiling:

merci d’avance.


JB