Menu

#5531 running cluster cronjob get error: Undefined subroutine &main::in6addr_any

1.983
open
nobody
5
2021-12-08
2021-12-07
No

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.

Discussion

  • Hans Wolfgang Frank

    Webmin is currently running on Ubuntu Linux 18.04.6, Kernel Linux 4.15.0-163-generic auf x86_64

     
  • Jamie Cameron

    Jamie Cameron - 2021-12-08

    Did you try upgrading to 1.983, which we just released?

     
  • Hans Wolfgang Frank

    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..

     
  • Hans Wolfgang Frank

    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 ...

     
  • Hans Wolfgang Frank

    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 :

     
  • Ilia

    Ilia - 2021-12-08

    So, installing libsocket6-perl package fixes it?

     
  • Hans Wolfgang Frank

    Yeep. Very fine !

     

Log in to post a comment.