Error Writing To /var/run/munin/munin-update.lock
installed on the munin node Did you restart munin-node? Inconsistent names for the node on the master and on the node I just read the above answer and there still aren't any graphs Node does not "allow" master to telnet listed no services for localhost on Debian Attention: Content of this page should be moved to the Munin-Guide --> Visit the Guide now. These FAQs have a separate page to make it easy to put links in error messages in Munin. See also Debugging_Munin On one host there are no graphs at all! This could be due to a number of problems. No plugins installed on the munin node Plugins that munin-node uses are usually to be found in /etc/munin/plugins (or /etc/opt/munin/plugins). If the directory is empty you will need to fill it. The directory should have been filled by the package installation script or by you when you read the INSTALL instructions. You can fill it manually by symlinking to files in /usr/share/munin/plugins (or /opt/munin/lib/plugins). Or automatically by running munin-node-configure --shell | sh -x. This will which plugins it thinks are suitable on your system and make the symlinks. After making all the symlinks restart munin-node. Then wait 5 to 10 minutes before re-loading the munin web pages to see graphs. Did you restart munin-node? Restarting munin-node is a rather heavy operation requiring running all the plugins as part of the startup. Therefore munin-node does not restart itself when the contents of the plugin directory changes. So after making a change in the plugin directory you need to restart munin-node. There is a bug in a good number of versions of the Debian (and Ubuntu) munin package that did not restart munin-node after running munin-node-configure. A manual restart is needed in this case. Then wait 5 to 10 minutes before re-loading the munin web pages to see graphs. Inconsistent names for the node on the master and on the node If your node has plugins and is restarted the next possibility is: it is likely because the server and the node have inconsistent name information for the node. Munin wants the host names to match between its configuration and what the munin-node calls itself. If you telnet to the node you'll be told the node name: $ telnet lorbanery 4949 Trying 10.1.0.2 Connected to lorbanery. Escape character is '^]'. # munin node at lorbanery.langfeldt.net quit Connection closed by foreign host. This means that this machine knows itself to be named lorbanery.langfeldt.net. If the name shown is not what you expected, you need to configure the correct name in munin-node.conf: host_name lorbanery.langfeldt.net On the master you con
have the problem that the munin permissions aren't correct Apr 27 10:25:06 - Unable to graph /var/lib/munin/greatnet.de/t390.greatnet.de-forks-forks-d.rrd: Opening '/var/www/confixx/html/monitoring/greatnet.de/t390.greatnet.de-forks-month.png' for http://munin-monitoring.org/wiki/FAQ_no_graphs write: Permission denied Apr 27 10:25:06 - Unable to graph /var/lib/munin/greatnet.de/t390.greatnet.de-forks-forks-d.rrd: Opening '/var/www/confixx/html/monitoring/greatnet.de/t390.greatnet.de-forks-week.png' for write: Permission denied Apr 27 10:25:06 - Unable to graph /var/lib/munin/greatnet.de/t390.greatnet.de-forks-forks-d.rrd: Opening '/var/www/confixx/html/monitoring/greatnet.de/t390.greatnet.de-forks-day.png' for https://www.howtoforge.com/community/threads/munin-permissions.3945/ write: Permission denied Apr 27 10:25:06 - Unable to graph /var/lib/munin/greatnet.de/t390.greatnet.de-forks-forks-d.rrd: Opening '/var/www/confixx/html/monitoring/greatnet.de/t390.greatnet.de-forks-year.png' for write: Permission denied Apr 27 10:25:06 - Graphed service : forks (0.03 sec * 4) Apr 27 10:25:06 - Unable to graph /var/lib/munin/greatnet.de/t390.greatnet.de-memory-inactive-g.rrd: Opening '/var/www/confixx/html/monitoring/greatnet.de/t390.greatnet.de-memory-month.png' for write: Permission denied Apr 27 10:25:06 - Unable to graph /var/lib/munin/greatnet.de/t390.greatnet.de-memory-inactive-g.rrd: Opening '/var/www/confixx/html/monitoring/greatnet.de/t390.greatnet.de-memory-week.png' for write: Permission denied Apr 27 10:25:06 - Unable to graph /var/lib/munin/greatnet.de/t390.greatnet.de-memory-inactive-g.rrd: Opening '/var/www/confixx/html/monitoring/greatnet.de/t390.greatnet.de-memory-day.png' for write: Permission denied Apr 27 10:25:06 - Unable to graph /var/lib/munin/greatnet.de/t390.greatnet.de-memory-inactive-g.rrd: Opening '/var/www/confixx/html/monitoring/greatnet.de/t390.greatnet.de-memory-year.png' for write: Permis
here for a quick overview of the site Help Center Detailed answers http://stackoverflow.com/questions/20026938/munin-unable-to-load-graphs-socket-error to any questions you might have Meta Discuss the workings https://sourceforge.net/p/munin/mailman/munin-users/thread/4E445379.8050307@langfeldt.net/ and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack error writing Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Munin unable to load graphs. socket error up vote 0 down vote favorite -bash-4.1$ /usr/share/munin/munin-update --nofork --debug -host ec2-184-77-97-201.compute-1.amazonaws.com 2013/11/17 03:35:22 [DEBUG] Creating new lock error writing to file /var/run/munin/munin-update.lock 2013/11/17 03:35:22 [DEBUG] Creating lock : /var/run/munin/munin-update.lock succeeded 2013/11/17 03:35:22 [INFO]: Starting munin-update 2013/11/17 03:35:22 [DEBUG] Lock /var/run/munin/munin-compute-1.amazonaws.com-ec2-184-77-97-201.compute-1.amazonaws.com.lock already exists, checking process 2013/11/17 03:35:22 [DEBUG] Lock contained pid '12147' 2013/11/17 03:35:22 [INFO] Process 12147 is dead, stealing lock, removing file 2013/11/17 03:35:22 [DEBUG] Creating new lock file /var/run/munin/munin-compute-1.amazonaws.com-ec2-184-77-97-201.compute-1.amazonaws.com.lock 2013/11/17 03:35:22 [DEBUG] Creating lock : /var/run/munin/munin-compute-1.amazonaws.com-ec2-184-77-97-201.compute-1.amazonaws.com.lock succeeded 2013/11/17 03:35:22 [DEBUG] Reading state for compute-1.amazonaws.com-ec2-184-77-97-201.compute-1.amazonaws.com in /var/lib/munin/state-compute-1.amazonaws.com-ec2-184-77-97-201.compute-1.amazonaws.com.storable 2013/11/17 03:35:22 [INFO] starting work in 12544 for ec2-184-77-97-201.compute-1.amazonaws.com/ec2-184-77-97-201.compute-1.amazonaws.com:4949. 2013/11/17 03:35:22 [FATAL] Socket read from ec2-184-77-97-201.compute-1.amazonaws.com failed. Terminating process. at /usr/share/perl5/vendor_perl/Munin/Master/UpdateWorker.pm line 254 2013/11/17 03:35:22 [WARNING] Failed worker compute-1.amazonaws.com;ec2-184-73-97-201.compute-1.amazonaws.com 2013/11/17 03:35:22 [DEBUG] Creating new lock file /var/run/munin/munin-datafile.lock 2013/11/17 03:35:22 [DEBUG] Creating lock : /var/run/munin/munin-datafile.lock succeeded 2013/11/17 03:35:22 [INFO] No old data available for failed worker compute-1.amazonaws.com;ec2-184-77-97-201.compute-1.amazonaws.com. This node will disappear from the html web page hierarchy 2013/11/17 03:35:22 [DEBUG] Writing state to /var/lib/munin/datafile.storable 2013/11/17 03:35:22 [INFO]: Munin-update finished (0.06 sec) Server
instructions: Windows Mac Red Hat Linux Ubuntu Click URL instructions: Right-click on ad, choose "Copy Link", then paste here → (This may not be possible with some types of ads) More information about our ad policies X You seem to have CSS turned off. Please don't fill out this field. You seem to have CSS turned off. Please don't fill out this field. Briefly describe the problem (required): Upload screenshot of ad (required): Select a file, or drag & drop file here. ✔ ✘ Please provide the ad click URL, if possible: Home Browse Munin Mailing Lists Munin Brought to you by: bjornruberg, janl, snide Summary Files Reviews Support Mailing Lists News Code munin-users munin-users-de munin-users-jp munin-users [munin-users] Stable version 2.0 From: Gaëtan Slongo