免费注册 查看新帖 |

Chinaunix

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

hp-ux服务设置? [复制链接]

论坛徽章:
0
31 [报告]
发表于 2003-03-12 13:48 |只看该作者

hp-ux服务设置?

你把#LockFile /usr/local/apache/adm/httpd.lock打开再重起试试。
呵呵,我现在也不知道怎么回事了,只能慢慢试

论坛徽章:
0
32 [报告]
发表于 2003-03-12 13:53 |只看该作者

hp-ux服务设置?

好的,不过我的adm里面就没有httpd.lock 文件.

论坛徽章:
0
33 [报告]
发表于 2003-03-12 14:00 |只看该作者

hp-ux服务设置?

还是不行,error_log :
[Wed Mar 12 13:52:45 2003] [warn] pid file /usr/local/apache/adm/httpd.pid overw
ritten -- Unclean shutdown of previous Apache run?
[Wed Mar 12 13:52:46 2003] [alert] (23Connection timed out: getpwuid: couldn\'t
determine user name from uid 4294967295, you probably need to modify the User d
irective
[Wed Mar 12 13:52:46 2003] [alert] (23Connection timed out: getpwuid: couldn\'t
determine user name from uid 4294967295, you probably need to modify the User d
irective
[Wed Mar 12 13:52:46 2003] [alert] (23Connection timed out: getpwuid: couldn\'t
determine user name from uid 4294967295, you probably need to modify the User d
irective
[Wed Mar 12 13:52:46 2003] [alert] (23Connection timed out: getpwuid: couldn\'t
determine user name from uid 4294967295, you probably need to modify the User d
irective
[Wed Mar 12 13:52:46 2003] [notice] Apache/1.3.27 (Unix) configured -- resuming
normal operations
[Wed Mar 12 13:52:46 2003] [notice] Accept mutex: fcntl (Default: fcntl)
[Wed Mar 12 13:52:46 2003] [alert] (23Connection timed out: getpwuid: couldn\'t
determine user name from uid 4294967295, you probably need to modify the User d
irective
[Wed Mar 12 13:52:47 2003] [alert] Child 5568 returned a Fatal error...
Apache is exiting!
#

论坛徽章:
0
34 [报告]
发表于 2003-03-12 14:11 |只看该作者

hp-ux服务设置?

用#注释掉httpd.lock那行吧
再把
#User zy
#Group www
都打开,把Group www中的www改成zy所属于的组。
清除掉旧的错误日志,重新启动,再检查错误日志

论坛徽章:
0
35 [报告]
发表于 2003-03-12 14:14 |只看该作者

hp-ux服务设置?

# local testing and development, you may use 127.0.0.1 as the server name.
#
ServerName http://192.168.1.2/
???????
ServerName 不对
要不写成可以解析的名字,要不直接写IP.

论坛徽章:
0
36 [报告]
发表于 2003-03-12 14:25 |只看该作者

hp-ux服务设置?

to wdbj :我马上试一试,
to sql2000:我已经把name 改为192.168.1.2了

论坛徽章:
0
37 [报告]
发表于 2003-03-12 14:51 |只看该作者

hp-ux服务设置?

显示结果如下:
$ /usr/local/apache/bin/apachectl start
/usr/local/apache/bin/apachectl start: httpd started
$ cat /usr/local/apache/adm/error_log

[Wed Mar 12 14:35:03 2003] [warn] pid file /usr/local/apache/adm/httpd.pid overw
ritten -- Unclean shutdown of previous Apache run?
fopen: Permission denied
httpd: could not log pid to file /usr/local/apache/adm/httpd.pid
[Wed Mar 12 14:39:23 2003] [warn] pid file /usr/local/apache/adm/httpd.pid overw
ritten -- Unclean shutdown of previous Apache run?
open: Permission denied
Cannot open lock file: /usr/local/apache/adm/httpd.lock.3078
[Wed Mar 12 14:41:50 2003] [warn] pid file /usr/local/apache/adm/httpd.pid overw
ritten -- Unclean shutdown of previous Apache run?
open: Permission denied
Cannot open lock file: /usr/local/apache/adm/httpd.lock.3090
$
我可不可以自己新建一个httpd.lock文件?我的adm就是没有这个文件呀!
救命

论坛徽章:
0
38 [报告]
发表于 2003-03-12 15:04 |只看该作者

hp-ux服务设置?

你把/usr/local/apache及子目录的属主都改成你的那个用户,再试

论坛徽章:
0
39 [报告]
发表于 2003-03-12 15:12 |只看该作者

hp-ux服务设置?

[Wed Mar 12 14:56:34 2003] [warn] pid file /usr/local/apache/adm/httpd.pid overw
ritten -- Unclean shutdown of previous Apache run?
fopen: Permission denied
httpd: could not log pid to file /usr/local/apache/adm/httpd.pid
$
这个错误该怎样修改?

论坛徽章:
0
40 [报告]
发表于 2003-03-12 15:16 |只看该作者

hp-ux服务设置?

/usr/local/apache/adm/httpd.pid的权限是什么
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP