#author("2022-05-24T09:54:07+09:00","default:kuji","kuji") CONTENTS #contents ---- Lastmodified &lastmod; ---- Portupgrade -ar --batch && reboot したあと、munin からエラーメッセージが来るようになったった。 *panic: XSUB Socket6::getaddrinfo (Socket6.c) failed to extend arg stack [#y5b175f5] /var/log/munin/munin-node.log Process Backgrounded 2022/05/19-08:20:08 Munin::Node::Server (type Net::Server::Fork) starting! pid(3962) 2022/05/19-08:20:08 panic: XSUB Socket6::getaddrinfo (Socket6.c) failed to extend arg stack: base=801a12518, sp=801a12570, hwm=801a12558 at line 78 in file /usr/local/lib/perl5/site_perl/Net/Server/Proto.pm 2022/05/19-08:20:08 Server closing! 5分毎にメールで [FATAL] There is nothing to do here, since there are no nodes with any plugins. Please refer to http://munin-monitoring.org/wiki/FAQ_no_graphs at /usr/local/share/munin/munin-html line 38. を頂く。 *Not Yet SOLVED [#r30a9bb5] 【参考URL】https://pawafuru.com/0412 /var/log/munin/munin-node.log には、 2022/05/19-08:20:08 Munin::Node::Server (type Net::Server::Fork) starting! pid(3962) 2022/05/19-08:20:08 panic: XSUB Socket6::getaddrinfo (Socket6.c) failed to extend arg stack: base=801a12518, sp=801a12570, hwm=801a12558 とあって、IPV6を使用しようとしてエラーしているような。 参考URLを見ると、p5-IO-Socket-INET6 をアンインストールせよ、とあるので、 # pkg delete p5-IO-Socket-INET6-2.72_1 とすると、 Updating database digests format: 100% Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 10 packages (of 0 packages in the universe): Installed packages to be REMOVED: amavisd-new: 2.12.2,1 munin-master: 2.0.69 munin-node: 2.0.69 p5-IO-Socket-INET6: 2.72_1 p5-IO-Socket-SSL: 2.074 p5-LWP-Protocol-https: 6.10 p5-Net-HTTP: 6.22 p5-Net-Server: 2.010 p5-libwww: 6.65 spamassassin: 3.4.5 Number of packages to be removed: 10 The operation will free 11 MiB. Proceed with deinstalling packages? [y/N]: なんだか、諸々消えるようなので、 ---- Total access &counter(total);:本日 &counter(today);:昨日 &counter(yesterday); #counter([total|today|yesterday]); # locate p5-IO-Socket-INET して、 /usr/local/share/licenses/p5-IO-Socket-INET6-2.72_1 /usr/local/share/licenses/p5-IO-Socket-INET6-2.72_1/ART10 /usr/local/share/licenses/p5-IO-Socket-INET6-2.72_1/GPLv1+ /usr/local/share/licenses/p5-IO-Socket-INET6-2.72_1/LICENSE /usr/local/share/licenses/p5-IO-Socket-INET6-2.72_1/catalog.mk /usr/ports/net/p5-IO-Socket-INET6 /usr/ports/net/p5-IO-Socket-INET6/Makefile /usr/ports/net/p5-IO-Socket-INET6/distinfo /usr/ports/net/p5-IO-Socket-INET6/pkg-descr /usr/ports/net/p5-IO-Socket-INET6/pkg-plist とあるので、 # cd /usr/ports/net/p5-IO-Socket-INET6 # make deinstall ===> Deinstalling for p5-IO-Socket-INET6 ===> Deinstalling p5-IO-Socket-INET6-2.72_1 Updating database digests format: 100% Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): Installed packages to be REMOVED: p5-IO-Socket-INET6: 2.72_1 Number of packages to be removed: 1 [1/1] Deinstalling p5-IO-Socket-INET6-2.72_1... [1/1] Deleting files for p5-IO-Socket-INET6-2.72_1: 100% して、 # /usr/local/etc/rc.d/munin-node restart munin_node not running? Starting munin_node. # /usr/local/etc/rc.d/munin-node restart Stopping munin_node. ← おお!起動している! Waiting for PIDS: 99001. Starting munin_node. ログ /var/log/munin/munin-node.log には、 2022/05/19-14:02:38 Munin::Node::Server (type Net::Server::Fork) starting! pid(99001) Resolved [*]:4949 to [0.0.0.0]:4949, IPv4 Binding to TCP port 4949 on host 0.0.0.0 with IPv4 Setting gid to "0 0" 2022/05/19-14:02:41 Server closing! Process Backgrounded 2022/05/19-14:02:41 Munin::Node::Server (type Net::Server::Fork) starting! pid(99069) Resolved [*]:4949 to [0.0.0.0]:4949, IPv4 Binding to TCP port 4949 on host 0.0.0.0 with IPv4 Setting gid to "0 0" */usr/local/etc/munin/munin-node.conf [#l6bf0119] # Which address to bind to; #host * host 0.0.0.0 * munin reinstall [#uff9329f] munin-node munin-master munin-comon をそれぞれ、portupgrade -rfR するも、panick 回避できないので、根本的にmuninを入れ換えする。 まず、munin のファイルの有りかを、locate munin で取得。 つづいて、それぞれをmake deinstall する。この状態でのファイル名muninの所在のlocate_dbを作成 /etc/periodic/weekly/310.locate make deinstall で、残っているファイル群は、[[locate_munin_deinstall.txt:https://piano2nd.smb.net/PukiWiki/?plugin=attach&pcmd=open&file=locate_munin_deinstall.txt&refer=Munin%20Panic]] となるので、これらを手動で削除。その後、munin-node master をインストールし、/usr/local/sbin/munin-node-configure --shell | sh -x する。 んがぁログ munin-node.log は、相変わらず 2022/05/24-09:52:41 Munin::Node::Server (type Net::Server::Fork) starting! pid(19512) 2022/05/24-09:52:41 panic: XSUB Socket6::getaddrinfo (Socket6.c) failed to extend arg stack: base=801a12518, sp=801a12570, hwm=801a12558 at line 78 in file /usr/local/lib/perl5/site_perl/Net/Server/Proto.pm 2022/05/24-09:52:41 Server closing! とエラーする。(+o+)