since webmin version 1.982 i can't run cluster cronjobs. on every job i get the error:
Undefined subroutine &main::in6addr_any called at /usr/share/webmin/fastrpc.cgi line 370, <sock> line 2.
Failed to run on this server : Unknown reason</sock>
i detectet a lot of changes in fastrpc.cgi since version 1.981.
running cluster cron jobs on Webmin with version 1.981 are without errors. On higher Versions i get the error.
Webmin is currently running on Ubuntu Linux 18.04.6, Kernel Linux 4.15.0-163-generic auf x86_64
Did you try upgrading to 1.983, which we just released?
i upgraded from 1.981 directly to 1.983 on 30.11. 2021. At this point i get the errors. at the same time i updatet some other ubuntu components, so i thought, the errors come from the ubuntu updates. i tried something, but no succes. so i restored the hole machine from backup (it's a virt. machine on our vmware Cluster), and then did one update step by step. all works fine. at the end i updatet webmin from 1.981 to 1.982: the error appears the first time. then i updated from 1.982 to 1.983, the same error. yesterday i compared the fastrpc.cgi files from 1.981 and 1.982/1.983. there were some extensions with IPv6. i don't know what "subroutine &main::in6addr_any" is, so i changed the fastrpc.cgi file from webmin 1.983 to fastrpc.cgi file from webmin 1.981. At this point no longer the error appears..
Try this patch please:
https://github.com/webmin/webmin/commit/d4c61774eed8cd37a7f88f709fce1479fc44bc81
No succes. get another error on manual start a cluster cronjob:
"could not start on <server> (this server) : Bad response from fastrpc.cgi : "</server>
no more informations or error text ...
Hi, found the complete error message:
Can't locate Socket6.pm in @INC (you may need to install the Socket6 module) (@INC contains: /usr/share/webmin /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/share/webmin/fastrpc.cgi line 12.
BEGIN failed--compilation aborted at /usr/share/webmin/fastrpc.cgi line 12.
Failed to run on this server : Bad response from fastrpc.cgi :
So, installing
libsocket6-perl
package fixes it?Yeep. Very fine !
I think I see the bug. I will comment here.
https://github.com/webmin/webmin/commit/d4c61774eed8cd37a7f88f709fce1479fc44bc81