From: Jamie C. <jca...@we...> - 2007-03-29 16:24:06
|
On 29/Mar/2007 07:43 Dave Isaacs wrote .. <blockquote type="cite"> <div><span class="546312914-29032007"><font size="2" face="Georgia">Some peculiar behaviour has crept into Webmin between 1.290 and 1.330. In 1.330, whenever I issue a 'service webmin start' command, I get a new instance of miniserv.pl even if there was one already running. Do it again, and I get another one. I am using Red Hat EL3 and EL4.</font></span></div> <div><span class="546312914-29032007"><font size="2" face="Georgia"></font></span> </div> <div><span class="546312914-29032007"><font size="2" face="Georgia">In 1.290 and previous versions, there would only be one instance of miniserv.pl running, no matter how many times you issued a service webmin start command.</font></span></div> <div><span class="546312914-29032007"><font size="2" face="Georgia"></font></span> </div> <div><span class="546312914-29032007"><font size="2" face="Georgia">I dug into this some more, and discovered that in the earlier version, when a second instance of miniserv.pl was started, it would fail to bind to the port and die. In the latest version, when miniserv.pl initially fails to bind to the port it reports the error and then tries to bind to the same port on INADDR_ANY. If this fails the error is simply stored (not reported) and processing continues. </font></span></div> <div><span class="546312914-29032007"><font size="2" face="Georgia"></font></span> </div> <div><font face="Georgia"><font size="2"><span class="546312914-29032007">Is this a bug, or is there a configuration detail that I am missing?</span></font></font></div> <div><font face="Georgia"><font size="2"><span class="546312914-29032007"></span></font></font> </div> <div><font face="Georgia"><font size="2"><span class="546312914-29032007">Thanks</span></font></font></div> <div><font face="Georgia"><font size="2"><span class="546312914-29032007"></span></font></font> </div> <div><font face="Georgia"><font size="2"><span class="546312914-29032007">Dave Isaacs</span></font></font></div> <div><span class="546312914-29032007"><font size="2" face="Georgia"></font></span> </div></blockquote>Thanks for pointing this out - this is a bug in Webmin 1.330. It should really just die if the final attempt to bind to INADDR_ANY fails, instead of just recoding the error and proceeding. I'll fix this in the next release..<br /><br /> - Jamie<br /><br /> |