webmin fail ipv6 socket error

Posted qiangges2017

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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 fail ipv6 socket error的主要内容,如果未能解决你的问题,请参考以下文章

阿里云ECS在CentOS 6.9中使用Nginx提示:nginx: [emerg] socket() [::]:80 failed (97: Address family not supported

CentOS 7 下 安装Webmin 启动防火墙失败----Applying firewall rules:iptables-restore:line 2 failed

nginx [emerg] socket() []80 failed (97 Address family not supported by protocol)

IPv6 socket编程上--原理篇

Webmin / Virtualmin-处理大文件-内部服务器错误

windows winsock2 socket从WSAGetLastError返回10014 WSAEFAULT(ipv4 / ipv6相关)