|
From: Jamie C. <jca...@we...> - 2005-10-28 19:56:14
|
<p>Ah .. that would explain why you are getting that error. I am guessing you are running Webmin in some virtual machine environment, like Xen or Virtuozzo?</p><p>=A0- Jamie</p><p>On 29/Oct/2005 00:08 Bradley Jonas wrote .. </p><blockquote type=3D"cite">Jamie -<br /><br />This did fix the problem! Thanks alot. Unfortunately due to the nature of my hosting service, I can't set up a ping monitor as ping is restricted.<br /><br />Thanks!<br />B<br /><br /><div><span class=3D"gmail_quote">On 27 Oct 2005 09:28:07 +1000, <b class=3D"gmail_sendername">Jamie Cameron</b> <<a href=3D"_unsafe_link_">jca...@we...</a>> wrote:</span><blockquote class=3D"gmail_quote" style=3D"PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi Bradley,<br /><br />I had a look at the code, and I can see how this could happen.. If the monitor gets notified that it will receive a packet but doesn't actually, it will fail as you described.<br /><br />The work-around is to edit the file status/ping-monitor.pl and insert the following at line 114:<br /><br />next if (!$from_saddr);<br /><br />Let me know if that works..<br /><span class=3D"sg"><br />- Jamie</span><div><span class=3D"e" id=3D"q_1072f439442e6662_2"><br /><br />On Thu, 2005-10-27 at 01:46, Bradley Jonas wrote: <blockquote type=3D"CITE"><font color=3D"#737373" size=3D"3"><i>Hi all...<br /><br />I set up a ping monitor through the Server/System Status pages and due to some glitches, the ping-monitor perl script is bombing with:<br /><br /><h1>Error - Perl execution failed</h1><pre>Bad arg length for Socket::unpack_sockaddr_in, length is 0, should be 16 at ping-monitor.pl line 114.<br /><br /><br />Anyway - I'm not sure how to fix it considering that the IP that I provided is def. not 0 length.<br />I figured I'd try to remove the monitor, but I can't find any record of it in the /status/services directory. <br /><br />I've grepped through all of the files in the webmin directory and I can't find any reference to it.<br /><br />Any ideas on how to fix or remove this monitor?<br /><br />Thanks<br />B<br /></pre><br />-- <br />"Look at him.....he runs like a Welshman........doesn't he run like a Welshman?"<br />-Stewart Gilligan Griffin </i></font></blockquote></span></div></blockquote></div><br /><br clear=3D"all" /><br />-- <br />"Look at him.....he runs like a Welshman........doesn't he run like a Welshman?"<br />-Stewart Gilligan Griffin </blockquote><br /> |