主题: iRedMail 在 FreeBSD上装好后报错
装好之后,我发现网页无法访问。于是查看了下nginx,结果nginx未启动。原因如下:
$ sudo service nginx start
Performing sanity check on nginx configuration:
nginx: [emerg] open() "/usr/local/etc/nginx/conf-enabled/netdata.conf" failed (2: No such file or directory) in /usr/local/etc/nginx/nginx.conf:10
nginx: configuration file /usr/local/etc/nginx/nginx.conf test failed
我看了下netdata.conf@ -> /usr/local/etc/nginx/conf-available/ 这个目录,确实没有netdata.conf,说明bash iRedmail.sh之后,系统自动安装,漏了。
我用的是iRedMail-0.9.8-beta2
请看下,iRedMail-0.9.8-beta2这个版本是否有这个漏洞。然后我改如何做,能让netdata.conf在/usr/local/etc/nginx/conf-available/中出现。
谢谢