I looked at the Perl script and the process dies at the following lines:
# Open main socket
$proto = getprotobyname('tcp');
socket(MAIN, PF_INET, SOCK_STREAM, $proto) ||
die "Failed to open main socket : $!";
setsockopt(MAIN, SOL_SOCKET, SO_REUSEADDR, pack("l", 1));
$baddr = $config{"bind"} ? inet_aton($config{"bind"}) : INADDR_ANY;
for($i=0; $i<5; $i++) {
last if (bind(MAIN, sockaddr_in($config{port}, $baddr)));
sleep(1);
}
die "Failed to bind port $config{port} : $!" if ($i == 5);
The last is line 247. Why would it not be able to open the port?
Doug
doug piper wrote:
>
> I check out all of the stuff Jerry Winegarden wrote and came up with the
> following:
>
> Starting Webmin server in /usr/libexec/webmin
> [doug@localhost doug]$ ps aFailed to bind port 10000 : Address already
> in
> use at /usr/libexec/webmin/miniserv.pl line 247.
> [doug@localhost doug]$ ps ax | grep webmin
> 415 ? S 0:00 perl /usr/libexec/webmin/miniserv.pl
> /etc/webmin/mini
>
> I am not sure exactly what this means but I think that it means that
> Webmin is messing up on line 247 of the pearl script. I haven't yet
> check out the script.
>
> What exactly does the:
>
> 415 ? mean.
>
> Thanks,
>
> Doug
>
> Jerry Winegarden wrote:
> >
> > On Wed, 28 Mar 2001 [EMAIL PROTECTED] wrote:
> >
> > > > Look in /etc/hosts and you will see what is most likely the
> > > > first line:
> > > >
> > > > 127.0.0.1 localhost (and possibly localhost.localdomain)
> > > >
> > > > The URL, http://localhost:10000 is translated (somewhere by a DNS
> > > > server) to: http://127.0.0.1:10000
> > >
> > > localhost is translated to 127.0.0.1 by the /etc/hosts line you
> > > mentioned above.
> >
> > Is webmin daemon process running?
> >
> > ps ax | grep webmin
> >
> > If it is not then, /etc/rc.d/init.d/webmin start should start it.
> > If that fails, then there is an installation problem.
> >
> > Try to uninstall webmin. Then re-install it.
> > If that doesn't work, try to download webmin again and re-install.
> >
> > Also, look in /var/log/messages (tail -n 100 /var/log/messages | more)
> > to see if there are any errors during this time.
> >
> > --
> > ***************************************************************************
> > Jerry Winegarden OIT/Technical Support Duke University
> > [EMAIL PROTECTED] http://www-jerry.oit.duke.edu
> > ***************************************************************************
> >
> > _______________________________________________
> > Redhat-list mailing list
> > [EMAIL PROTECTED]
> > https://listman.redhat.com/mailman/listinfo/redhat-list
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list