openbsd 5.2 nginx 不能正常启动

OpenBSD的安装、升级、更新等日常问题。

版主: chenjun天地乾坤

回复
junfengfan
铜 Cu
帖子: 236
注册时间: 2010-02-03 18:37

openbsd 5.2 nginx 不能正常启动

帖子 junfengfan » 2012-10-10 20:07

openbsd5.2 snapshots安装成功后, /etc/rc.conf nginx_flags=NO, 如果在
/etc/rc.conf.local 里面添加 nginx_flags="",
重新 openbsd后,出现 nginx启动失败,请问是何原因。我今天在虚拟机上安装的,是最新的openbsd 5.2 snapshots 版式

f5b
锆 Zr
帖子: 643
注册时间: 2011-10-22 20:43

回复: openbsd 5.2 nginx 不能正常启动

帖子 f5b » 2012-10-11 7:46

专门为你测试 nginx_flags="",正常启动哦
不知道你该修改过其他配置否。

我仅仅是安装snapshot 20121009,然后rc.conf.local 添加 nginx_flags="",然后重新启动,访问http正常显示。

junfengfan
铜 Cu
帖子: 236
注册时间: 2010-02-03 18:37

回复: openbsd 5.2 nginx 不能正常启动

帖子 junfengfan » 2012-10-12 16:44

刚才我也试了,可以启动;但显示的首页是 apache1.3.29的首页,
应该显示 nginx的主页才对呀!

f5b
锆 Zr
帖子: 643
注册时间: 2011-10-22 20:43

回复: openbsd 5.2 nginx 不能正常启动

帖子 f5b » 2012-10-12 17:17

junfengfan 写了:刚才我也试了,可以启动;但显示的首页是 apache1.3.29的首页,
应该显示 nginx的主页才对呀!

那是因为apache nginx的主页都指向了/var/www/htdocs/

回复

在线用户

正浏览此版面之用户: 没有注册用户 和 33 访客