Hi,
my installation consists of Webmin 1.941 on opensuse Leap 15.1 with perl v5.26.1 and to be started by xinetd. When I call http://localhost/10000 I get the error message "connection reset by peer" and /var/webmin/miniserv.error contains ten lines saying :
Undefined subroutine &miniserv::inet_ntop called at /usr/libexec/webmin/miniserv.pl line 3876.
Searching the net I couldn't find any applicable info but the hint to test if the Socket library is installed. So I ran "perl -e "use Socket;" and it return a zero exit status which means the Socket lib is properly installed.
Please advise how to get this done.
Many thanks for your help ... Michael Vinnemeier
PS: Pls find attached the miniserf.conf used
Hi,
What about IO::Socket::INET6 package?
Do you have the full version of Perl installed there? It's odd that the
inet_ntopfunction is missing, when it's supported to be part of theSocketmodule.Strange things happen but Webmin works now : at first sight the problem is with xinetd which starts any service with a prefix of "::ffff:" added to an ip address. I think ths shouldnt happen since IPv6 is not enabled. Xinetd has just two services enabled : vsftpd and webmin. While vsftpd worls fine with an ipv6-looking address, webmin doesnt. To make Webmin run I added the line "flags = IPV4" to its service description which forces xinetd to use an ipv4 address and Webmin comes up.
Attached are some lines from syslog to show details.
Thanks for your help.
Regards ... Michael
The missing file.... Sorry.
By the way, I did install Socket6 and IO::Socket::INET6 as suggested but with no success.
Ok, the issue here is that Webmin doesn't know it's operating in IPv6 mode due to being behind inetd. The work-around is to edit /etc/webmin/miniserv.conf and add the line
ipv6=1Ok, it works. I reinstalled only Socket6, added the ipv6=1 line and removed "flags = IPV4" rom the xinetd service description and Webmin works like a charm... Thank you very much.