Chinaunix首页 | 论坛 | 博客
  • 博客访问: 7109578
  • 博文数量: 3857
  • 博客积分: 6409
  • 博客等级: 准将
  • 技术积分: 15948
  • 用 户 组: 普通用户
  • 注册时间: 2008-09-02 16:48
个人简介

迷彩 潜伏 隐蔽 伪装

文章分类

全部博文(3857)

文章存档

2017年(5)

2016年(63)

2015年(927)

2014年(677)

2013年(807)

2012年(1241)

2011年(67)

2010年(7)

2009年(36)

2008年(28)

分类: LINUX

2011-10-11 00:44:40

默认安装系统后执行/etc/init.d/httpd start会报错误:
[Mon Oct 10 16:35:19 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Oct 10 16:35:19 2011] [error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.
[Mon Oct 10 16:35:19 2011] [error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED
[Mon Oct 10 16:35:43 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Oct 10 16:35:43 2011] [error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.
[Mon Oct 10 16:35:43 2011] [error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED
[Mon Oct 10 16:35:47 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Oct 10 16:35:47 2011] [error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.
[Mon Oct 10 16:35:47 2011] [error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED
[Mon Oct 10 16:36:22 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Oct 10 16:36:22 2011] [error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.
[Mon Oct 10 16:36:22 2011] [error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED
[Mon Oct 10 16:37:55 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Oct 10 16:37:55 2011] [error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.
[Mon Oct 10 16:37:55 2011] [error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED
[Mon Oct 10 16:38:01 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Oct 10 16:38:01 2011] [error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.
[Mon Oct 10 16:38:01 2011] [error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED
[Mon Oct 10 16:38:10 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Oct 10 16:38:10 2011] [error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.
[Mon Oct 10 16:38:10 2011] [error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED
[Mon Oct 10 16:38:32 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Oct 10 16:38:32 2011] [error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.
[Mon Oct 10 16:38:32 2011] [error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED
[Mon Oct 10 16:38:41 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Oct 10 16:38:41 2011] [error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.
[Mon Oct 10 16:38:41 2011] [error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED
[Mon Oct 10 16:39:35 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Oct 10 16:39:35 2011] [error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.
[Mon Oct 10 16:39:35 2011] [error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED
[Mon Oct 10 16:41:35 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Oct 10 16:41:35 2011] [error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.
[Mon Oct 10 16:41:35 2011] [error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED
[Mon Oct 10 16:43:03 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Oct 10 16:43:03 2011] [error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.
[Mon Oct 10 16:43:03 2011] [error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED
[Mon Oct 10 16:44:23 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Oct 10 16:44:23 2011] [error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.
[Mon Oct 10 16:44:23 2011] [error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED
[Mon Oct 10 16:45:24 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Oct 10 16:45:24 2011] [error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.
[Mon Oct 10 16:45:24 2011] [error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED
[Mon Oct 10 17:08:54 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Oct 10 17:08:54 2011] [error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.
[Mon Oct 10 17:08:54 2011] [error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED
[Mon Oct 10 17:08:58 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Oct 10 17:08:58 2011] [error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.
[Mon Oct 10 17:08:58 2011] [error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED
[Mon Oct 10 17:13:48 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Oct 10 17:13:48 2011] [error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.
[Mon Oct 10 17:13:48 2011] [error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED
[Mon Oct 10 17:14:03 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Oct 10 17:14:03 2011] [error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.
[Mon Oct 10 17:14:03 2011] [error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED
[Mon Oct 10 17:15:00 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
使用命令yum install nss-tools*安装NSS组建,之后执行如下命令:
/usr/sbin/gencert /etc/httpd/alias
之后启动httpd正常。
将/etc/httpd/conf.d/welcom.conf中4句话注释掉。
修改Directory内容如下:

#    Options FollowSymLinks
     Options Indexes FollowSymLinks
    AllowOverride None

从新启动就可以看到目录结构了。
参见:

阅读(4567) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~