最近在阿里云的服务器上安装virtualmin出现不能正常启动的情况,阿里云服务器Webmin/Virtualmin罕见错误Failed to open socket family 10 : Address family not supported by protocol 代码如下:
[[email protected] tmp]# service webmin restart
Stopping Webmin server in /usr/libexec/webmin
cat: /var/webmin/miniserv.pid: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
Starting Webmin server in /usr/libexec/webmin
Failed to open socket family 10 : Address family not supported by protocol at /usr/libexec/webmin/miniserv.pl line 542.
解决办法:
Try removing the ipv6=1 line from /etc/webmin/miniserv.conf , and then starting Webmin.
修改 ipv6=1 为 ipv6=0 即可