webmin fail to start

错误表现

 webmin.service - Webmin
     Loaded: loaded (/usr/lib/systemd/system/webmin.service; enabled; vendor preset: dis>
     Active: failed (Result: exit-code) since Sat 2021-04-24 08:23:38 UTC; 13min ago
    Process: 255 ExecStart=/etc/webmin/start (code=exited, status=1/FAILURE)
   Main PID: 255 (code=exited, status=1/FAILURE)
        CPU: 202ms

4月 24 08:23:25 g4pc start[255]: Starting Webmin server in /opt/webmin
4月 24 08:23:38 g4pc start[255]: IPv6 support cannot be enabled without the Socket6 perl>
4月 24 08:23:38 g4pc start[255]: Using MD5 module Digest::MD5
4月 24 08:23:38 g4pc start[255]: Using SHA512 module Crypt::SHA
4月 24 08:23:38 g4pc start[255]: Perl module Authen::PAM needed for PAM is not installed>
4月 24 08:23:38 g4pc start[255]: BEGIN failed--compilation aborted at (eval 18) line 1.
4月 24 08:23:38 g4pc start[255]: PAM use is mandatory, but could not be enabled!
4月 24 08:23:38 g4pc systemd[1]: webmin.service: Main process exited, code=exited, statu>
4月 24 08:23:38 g4pc systemd[1]: webmin.service: Failed with result 'exit-code'.
4月 24 08:23:38 g4pc systemd[1]: Failed to start Webmin.

重新安装了两个软件搞定了

yay perl-authen-pam
pa perl
sudo systemctl status webmin
sudo systemctl restart webmin
sudo systemctl status webmin

参考资料

https://aur.tuna.tsinghua.edu.cn/packages/webmin/

上一篇:在ubuntu上安装Webmin


下一篇:基于php的Linux远程管理系统客户端的实现