免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: linca
打印 上一主题 下一主题

[FreeBSD] apache无法启动,而且看不到出错日志 [复制链接]

论坛徽章:
0
11 [报告]
发表于 2007-04-05 10:57 |只看该作者
原帖由 HonestQiao 于 2007-4-5 08:48 发表
/usr/local/apache/bin/apachectl -t
没有反应?


/usr/local/apache/bin/apachectl
呢?

这个还是有反应的,就是提示你输入一些参数

论坛徽章:
0
12 [报告]
发表于 2007-04-05 11:09 |只看该作者
原帖由 HonestQiao 于 2007-4-5 08:48 发表
/usr/local/apache/bin/apachectl -t
没有反应?


/usr/local/apache/bin/apachectl
呢?

这个还是有反应的,就是提示你输入一些参数

论坛徽章:
1
技术图书徽章
日期:2013-12-05 23:25:45
13 [报告]
发表于 2007-04-05 12:44 |只看该作者
那你把显示的参数都贴上来。

论坛徽章:
0
14 [报告]
发表于 2007-04-05 15:31 |只看该作者
参数如下:

age: /usr/local/apache/bin/httpd [-D name] [-d directory] [-f file]
                                   [-C "directive"] [-c "directive"]
                                   [-k start|restart|graceful|graceful-stop|stop
]
                                   [-v] [-V] [-h] [-l] [-L] [-t] [-S]
Options:
  -D name            : define a name for use in <IfDefine name> directives
  -d directory       : specify an alternate initial ServerRoot
  -f file            : specify an alternate ServerConfigFile
  -C "directive"     : process directive before reading config files
  -c "directive"     : process directive after reading config files
  -e level           : show startup errors of level (see LogLevel)
  -E file            : log startup errors to file
  -v                 : show version number
  -V                 : show compile settings
  -h                 : list available command line options (this page)
  -l                 : list compiled in modules
  -L                 : list available configuration directives
  -t -D DUMP_VHOSTS  : show parsed settings (currently only vhost settings)
  -S                 : a synonym for -t -D DUMP_VHOSTS
  -t -D DUMP_MODULES : show all loaded modules
  -M                 : a synonym for -t -D DUMP_MODULES
  -t                 : run syntax check for config files

论坛徽章:
0
15 [报告]
发表于 2007-04-05 17:20 |只看该作者
终于搞好了,我也不知道是什么问题,我把原来的安装目录,安装包删了,重新下载编译安装就好了..........
不过现在启动时候有个出错提示:
httpd:apr_sockaddr_info_get() failed for freebsd62
httpd: Could not reliably determine the server's fully qualified domain name, us
ing 127.0.0.1 for ServerName
[Thu Apr 05 17:00:57 2007] [warn] (2)No such file or directory: Failed to enable
the 'httpready' Accept Filter
什么意思呢?

论坛徽章:
0
16 [报告]
发表于 2007-04-05 17:22 |只看该作者
httpd: Could not reliably determine the server's fully qualified domain name, us
ing 127.0.0.1 for ServerName



配置httpd.conf  中的ServerName

论坛徽章:
1
技术图书徽章
日期:2013-12-05 23:25:45
17 [报告]
发表于 2007-04-05 17:32 |只看该作者
配置httpd.conf  中的ServerName  127.0.0.1

论坛徽章:
0
18 [报告]
发表于 2007-04-06 14:24 |只看该作者
谢谢我试试

论坛徽章:
0
19 [报告]
发表于 2007-04-10 22:43 |只看该作者
我今天也遇到了相同的问题。

论坛徽章:
0
20 [报告]
发表于 2007-04-11 22:41 |只看该作者
我也遇到这个问题了,郁闷,怎么办。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP