webmin fail ipv6 socket error

webmin fail ipv6 socket error

[qiangge@qiangge-pc ~]$ systemctl status webmin
● webmin.service - Webmin
     Loaded: loaded (/usr/lib/systemd/system/webmin.service; disabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Mon 2021-06-14 02:49:33 CST; 10min ago
   Main PID: 44143 (code=exited, status=1/FAILURE)

6月 14 02:49:33 qiangge-pc systemd[1]: Starting Webmin...
6月 14 02:49:33 qiangge-pc start[44143]: Starting Webmin server in /opt/webmin
6月 14 02:49:33 qiangge-pc start[44143]: IPv6 support cannot be enabled without the Socket6 perl module
6月 14 02:49:33 qiangge-pc start[44143]: Using MD5 module Digest::MD5
6月 14 02:49:33 qiangge-pc start[44143]: Using SHA512 module Crypt::SHA
6月 14 02:49:33 qiangge-pc start[44143]: PAM use is mandatory, but could not be enabled!
6月 14 02:49:33 qiangge-pc systemd[1]: webmin.service: Main process exited, code=exited, status=1/FAILURE
6月 14 02:49:33 qiangge-pc systemd[1]: webmin.service: Failed with result 'exit-code'.
6月 14 02:49:33 qiangge-pc systemd[1]: Failed to start Webmin.

solve

[qiangge@qiangge-pc ~]$ yay socket6
1 extra/perl-socket6 0.29-6 (17.3 KiB 37.5 KiB) 
    A getaddrinfo/getnameinfo support module
==> 要安装的包 (示例: 1 2 3, 1-3 或 ^4)
==> 1

[qiangge@qiangge-pc ~]$ systemctl status webmin
● webmin.service - Webmin
     Loaded: loaded (/usr/lib/systemd/system/webmin.service; disabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Mon 2021-06-14 03:03:06 CST; 2s ago
    Process: 50188 ExecStart=/etc/webmin/start (code=exited, status=1/FAILURE)
   Main PID: 50188 (code=exited, status=1/FAILURE)

6月 14 03:03:05 qiangge-pc systemd[1]: Starting Webmin...
6月 14 03:03:05 qiangge-pc start[50188]: Starting Webmin server in /opt/webmin
6月 14 03:03:06 qiangge-pc start[50188]: IPv6 support enabled
6月 14 03:03:06 qiangge-pc start[50188]: Using MD5 module Digest::MD5
6月 14 03:03:06 qiangge-pc start[50188]: Using SHA512 module Crypt::SHA
6月 14 03:03:06 qiangge-pc start[50188]: PAM use is mandatory, but could not be enabled!
6月 14 03:03:06 qiangge-pc systemd[1]: webmin.service: Main process exited, code=exited, status=1/FAILURE
6月 14 03:03:06 qiangge-pc systemd[1]: webmin.service: Failed with result 'exit-code'.
6月 14 03:03:06 qiangge-pc systemd[1]: Failed to start Webmin.
[qiangge@qiangge-pc ~]$ 

如果反复安装还失败,要清理软件缓存的

yay -Scc
yay -S --asdeps $(pacman -Qqo '/usr/lib/perl5/5.30')
上一篇:Webmin 远程命令执行漏洞(CVE-2019-15107)


下一篇:在ubuntu上安装Webmin