On Thursday, 2010-02-25 at 12:13:00 +0100, Adrian Gajan wrote:
> Binding to TCP port 4949 on host 10.40.0.26
> 2010/02/25-09:13:14 Can't connect to TCP port 4949 on 10.40.0.26 [Cannot assign requested address]
> at line 88 in file /usr/share/perl5/Net/Server/Proto/TCP.pm
At this point something has already taken port 4949. Check the running
processes. Is it possible that you have two startscripts for munin in
/etc/rc?.d/S* ?
HTH,
Lupe Christoph
--
| There is no substitute for bad design except worse design. |
| /me |
Hi,
there is for each runlevel one startup / kill script:
mail:/home/adrian# find /etc/rc*.d -name "*munin*"
/etc/rc0.d/K20munin-node
/etc/rc1.d/K20munin-node
/etc/rc2.d/S98munin-node
/etc/rc3.d/S98munin-node
/etc/rc4.d/S98munin-node
/etc/rc5.d/S98munin-node
/etc/rc6.d/K20munin-node
I rebooted the box once more just for check if there some process have been already bind to 4949. Nothing.
mail:/home/adrian# netstat -tupan | grep 4949
mail:/home/adrian#
mail:/home/adrian# ping 10.40.0.1
PING 10.40.0.1 (10.40.0.1) 56(84) bytes of data.
64 bytes from 10.40.0.1: icmp_seq=1 ttl=64 time=0.194 ms
64 bytes from 10.40.0.1: icmp_seq=2 ttl=64 time=0.216 ms
The VPN gateway is accessible all the time.
Restarting munin-node by hand shows:
mail:/home/adrian# /etc/init.d/munin-node restart
Stopping Munin-Node: stopped beforehand.
Starting Munin-Node: done.
After a manual restart it works again.
Regards,
Adrian
|