Changes between Initial Version and Version 1 of Ticket #32141
- Timestamp:
- Nov 20, 2011, 1:19:26 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32141
- Property Owner changed from macports-tickets@… to alpha@…
- Property Keywords munin 10.7 removed
-
Ticket #32141 – Description
initial v1 3 3 When calling the any plugin on Lion via telnet, it results in the same error (see below some modifications needed to successfully install) 4 4 5 {{{ 5 6 Trying 129.20.159.199... 6 7 Connected to pr159199.med.univ-rennes1.fr. … … 14 15 list 15 16 cupsys_pages df df_inode if_en0 if_err_en0 load lpstat netstat ntp_offset postfix_mailqueue processes test users 17 }}} 16 18 17 19 while it run fine using munin-run on the node computer 18 20 21 {{{ 19 22 sudo -u munin /opt/local/sbin/munin-run df 20 23 Password: … … 24 27 _dev_disk2s2.value 100 25 28 _dev_disk4s2.value 33 29 }}} 26 30 27 31 and here is the corresponding munin-node.log 28 32 33 {{{ 29 34 2011/11/19-19:31:45 CONNECT TCP Peer: "129.20.159.165:48055" Local: "129.20.159.199:4949" 30 35 2011/11/19-19:31:45 [2392] DEBUG: > # munin node at pr159199.med.univ-rennes1.fr … … 45 50 2011/11/19-19:32:01 [2392] DEBUG: > 46 51 2 47 48 49 ====================================== 52 }}} 50 53 51 54 I experience difficulties in installing minion node on snow leopard (PPC and intel core 2 duo as well as Lion / intel Xeon and i5) 52 55 53 56 First of all, after installing, I tried to run 57 {{{ 54 58 sudo munin-node-configure --suggest --shell | sh 59 }}} 55 60 56 61 I got an error 57 62 63 {{{ 58 64 Could not open plugin configuration directory: No such file or directory at /opt/local/lib/perl5/site_perl/5.12.3/Munin/Node/Service.pm line 81 65 }}} 59 66 60 67 Looking at the code, I assumed that 61 68 69 {{{ 62 70 sudo mkdir /opt/local/etc/munin/plugin-conf.d 71 }}} 63 72 64 73 could fix the issue… In fact the plugin folder could not be written by an admin and sh seems to be sudo, like 65 74 75 {{{ 66 76 sudo munin-node-configure --suggest --shell | sudo sh 77 }}} 67 78 68 79 on Lion, none of the plugin succeeded in autoconf with message 80 81 {{{ 69 82 Non-zero exit during autoconf (1) 83 }}} 84 70 85 So, I also had to run as munin user 71 86 87 {{{ 72 88 sudo -u munin munin-node-configure --suggest --shell | sudo sh 89 }}} 73 90 74 91 (but there is still an issue with asking for password if the precedent sudo is not recent enough…)