You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Webmin 1.890升级后触发Require ACL错误,请求修复方法

Fixing "Require acl/acl-lib.pl failed : Died at (eval 211) line 1" in Webmin Post-Upgrade

Hey there, this error pops up when Webmin can’t access or load its core ACL (Access Control List) module files after an upgrade—even if you didn’t touch any configs, upgrades sometimes mess up file permissions, leave missing files, or leave stale cached data behind. Here’s how to fix it step by step:

  • Check if the acl-lib.pl file exists and has correct permissions
    First, log into your server’s terminal. Run this command to verify the file is present (adjust the path if your Webmin is installed in a different location—common paths are /usr/share/webmin/acl/acl-lib.pl for Debian/Ubuntu or /usr/libexec/webmin/acl/acl-lib.pl for RHEL/CentOS):

    ls -l /usr/share/webmin/acl/acl-lib.pl
    

    If the file doesn’t exist, skip to the module reinstall step below. If it does exist, fix its permissions so Webmin can read and execute it:

    chmod 0755 /usr/share/webmin/acl/acl-lib.pl
    chown root:root /usr/share/webmin/acl/acl-lib.pl
    
  • Reinstall the Webmin ACL module
    Missing or corrupted module files are the most common culprit here. Use your system’s package manager to reinstall the ACL module:

    • For Debian/Ubuntu systems:
      apt-get install --reinstall webmin-acl
      
    • For RHEL/CentOS systems:
      yum reinstall webmin-acl
      

    If you installed Webmin from source, download the latest Webmin tarball, extract it, and copy the acl directory into your Webmin installation path (e.g., /usr/share/webmin/).

  • Clear Webmin's cached files
    Webmin caches compiled Perl scripts, and old cache files often cause conflicts after an upgrade. Delete the cache and restart Webmin:

    rm -rf /var/webmin/miniserv.cache
    systemctl restart webmin
    

    (Use service webmin restart if your system doesn’t use systemd.)

  • Verify Perl module dependencies
    Rarely, this error can stem from missing Perl modules that the ACL module relies on. Run Webmin’s built-in dependency checker to spot gaps:

    /usr/share/webmin/check-perl.pl
    

    Follow the output to install any missing modules (using cpan or your system’s package manager).

  • Last resort: Reinstall Webmin entirely
    If nothing else works, back up your Webmin configs first (copy the /etc/webmin directory to a safe place), then uninstall and reinstall Webmin:

    # Debian/Ubuntu
    apt-get remove --purge webmin
    apt-get install webmin
    
    # RHEL/CentOS
    yum remove webmin
    yum install webmin
    

    After reinstalling, restore your backed-up /etc/webmin directory and restart Webmin.

内容的提问来源于stack exchange,提问作者Mariyo

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.14 08:51:10