Menu

Undefined subroutine &main::get_miniserv_config

Webmin
2020-11-06
2021-02-18
  • Travis Farmer

    Travis Farmer - 2020-11-06

    i just installed Webmin on one of my servers (running Fedora 33 Linux), but i seem to get an error, though my two other servers still run webmin just fine. i suspect a missing perl module, but i don't know what it could be.
    full error is:
    Undefined subroutine &main::get_miniserv_config called at /usr/libexec/webmin/authentic-theme/session_login.cgi line 17.

    i installed via the YUM repo for webmin.

    Thanks in advance for any help.
    ~Travis

     
  • Ilia

    Ilia - 2020-11-11

    Hi, Travis.

    Have you installed it with .rpm package? If so, Fedora 33 has a small change in default Perl packages distribution.

    Try the following:

    dnf install perl-File-Basename perl-lib perl-Authen-OATH
    
     
    • Evgeny

      Evgeny - 2021-02-18

      Добрый день Илья. Получаю эту ошибку при входе в панель Webmin:Good afternoon, Ilya. I get this error when logging into Webmin panel:

      Error - Perl execution failed
      Undefined subroutine &main::get_miniserv_config called at /usr/share/webmin/authentic-theme/session_login.cgi line 15.

      После обновления темы в Webmin

      Смотрел решения:

      After updating the theme in Webmin

      Looked at solutions:

      https://sourceforge.net/p/webadmin/bugs/5441/

      https://forum.virtualmin.com/t/error-perl-execution-failed-undefined-subroutine-main-authentic-called-at-usr-share-webmin-authentic-theme-index-cgi-line-12/108864

      но ни одно мне не помогло. Webmin + Virtualmin + NGINX + Ubuntu 20.04

      Буду благодарен за помощь!

      but none helped me. Webmin + Virtualmin + NGINX + Ubuntu 20.04

      I would be grateful for your help!

       

      Last edit: Evgeny 2021-02-18
  • Travis Farmer

    Travis Farmer - 2020-11-11

    that worked perfectly, thank you very much!

    ~Travis

     
    • Ilia

      Ilia - 2021-02-18

      Добрый вечер, Женя.

      Самым простым вариантом будет установить devel версию Webmin 1.971:

      wget https://download.webmin.com/devel/deb/webmin_current.deb
      apt-get upgrade ./webmin_current.deb
      
       
      👍
      1
      • Evgeny

        Evgeny - 2021-02-18

        Да, я так и сделал. Большое спасибо!

         

Log in to post a comment.

MongoDB Logo MongoDB