免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 22174 | 回复: 13
打印 上一主题 下一主题

[Web] 出错了 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-05-20 18:23 |只看该作者 |倒序浏览
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
执行问令/usr/local/apache2/bin/apachectl start

论坛徽章:
0
2 [报告]
发表于 2006-05-20 18:34 |只看该作者
修改httpd.conf这个文件
找到ServerName
写上你的服务器的IP地址和端口号
ServerName  12.34.56.78:80

不过根据启动的错误提示,你的APACHE事实上已经启动了

论坛徽章:
0
3 [报告]
发表于 2006-05-20 18:38 |只看该作者
对,但php模块没加上
已添加了这句话了
AddType application/x-httpd-php .php .phtml

论坛徽章:
0
4 [报告]
发表于 2006-05-20 18:39 |只看该作者
错误日志





[Sat May 20 17:03:21 2006] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat May 20 17:03:23 2006] [warn] pid file /usr/local/apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apach
e run?
[Sat May 20 17:03:23 2006] [notice] Apache/2.2.2 (Unix) mod_ssl/2.2.2 OpenSSL/0.9.7a configured -- resuming normal operations
[Sat May 20 17:40:55 2006] [notice] caught SIGTERM, shutting down
[Sat May 20 17:41:03 2006] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat May 20 17:41:04 2006] [notice] Apache/2.2.2 (Unix) mod_ssl/2.2.2 OpenSSL/0.9.7a configured -- resuming normal operations
[Sat May 20 17:59:50 2006] [notice] SIGHUP received.  Attempting to restart
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Sat May 20 17:59:50 2006] [notice] Apache/2.2.2 (Unix) mod_ssl/2.2.2 OpenSSL/0.9.7a configured -- resuming normal operations
[Sat May 20 18:00:05 2006] [notice] caught SIGTERM, shutting down
[Sat May 20 18:04:37 2006] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat May 20 18:04:37 2006] [notice] Apache/2.2.2 (Unix) mod_ssl/2.2.2 OpenSSL/0.9.7a configured -- resuming normal operations
[Sat May 20 18:06:02 2006] [notice] caught SIGTERM, shutting down
[Sat May 20 18:15:18 2006] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat May 20 18:15:18 2006] [notice] Apache/2.2.2 (Unix) mod_ssl/2.2.2 OpenSSL/0.9.7a configured -- resuming normal operations
[Sat May 20 18:24:38 2006] [notice] SIGHUP received.  Attempting to restart
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Sat May 20 18:24:38 2006] [notice] Apache/2.2.2 (Unix) mod_ssl/2.2.2 OpenSSL/0.9.7a configured -- resuming normal operations
[Sat May 20 18:24:41 2006] [notice] SIGHUP received.  Attempting to restart
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Sat May 20 18:24:42 2006] [notice] Apache/2.2.2 (Unix) mod_ssl/2.2.2 OpenSSL/0.9.7a configured -- resuming normal operations
[Sat May 20 18:24:42 2006] [notice] SIGHUP received.  Attempting to restart
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Sat May 20 18:24:43 2006] [notice] Apache/2.2.2 (Unix) mod_ssl/2.2.2 OpenSSL/0.9.7a configured -- resuming normal operations
[Sat May 20 18:24:49 2006] [notice] caught SIGTERM, shutting down

论坛徽章:
0
5 [报告]
发表于 2006-05-20 18:47 |只看该作者
原帖由 pclinuxhelp 于 2006-5-20 18:38 发表
对,但php模块没加上
已添加了这句话了
AddType application/x-httpd-php .php .phtml


还没有明白我在2楼说的话吗?

论坛徽章:
0
6 [报告]
发表于 2006-05-20 18:54 |只看该作者
我的意思说是,已经在httpd.conf 里添加了AddType application/x-httpd-php .php .phtml
但没还是不支持PHP,以前运行没出错时是支持的

论坛徽章:
0
7 [报告]
发表于 2006-05-20 19:13 |只看该作者
问题解决了,
修改httpd.conf这个文件
ServerName  127.0.01:80
php 呢不知是撒问题,重新装了一次就没有问题了

论坛徽章:
0
8 [报告]
发表于 2006-05-21 15:49 |只看该作者
不明白

论坛徽章:
0
9 [报告]
发表于 2006-05-21 20:50 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
10 [报告]
发表于 2006-11-13 10:18 |只看该作者
FreeBSD6.0 如果安装php5-extensions中选择了record模块,也会导致Session Cache is not configured [hint: SSLSessionCache] 错误
最近一次安装时就碰到这问题,后来在/usr/local/etc/php/extensions.ini中将extension=record.so禁用就解决了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP