免费注册 查看新帖 |

Chinaunix

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

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

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

hp-ux服务设置?

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

论坛徽章:
0
35 [报告]
发表于 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 13:53 |只看该作者

hp-ux服务设置?

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

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

hp-ux服务设置?

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

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

hp-ux服务设置?

TO: wdbj 这是error_log 的内容,最后一行好象显示了一个错误,不知道怎么解决?
roup id to Group 4294967295
[Wed Mar 12 08:31:16 2003] [notice] Apache/1.3.27 (Unix) configured -- resuming
normal operations
[Wed Mar 12 08:31:16 2003] [notice] Accept mutex: fcntl (Default: fcntl)
[Wed Mar 12 08:31:16 2003] [alert] Child 3242 returned a Fatal error...
Apache is exiting!
[Wed Mar 12 09:15:11 2003] [warn] pid file /usr/local/apache/adm/httpd.pid overw
ritten -- Unclean shutdown of previous Apache run?
[Wed Mar 12 09:15:12 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 09:15:12 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 09:15:12 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 09:15:12 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 09:15:12 2003] [notice] Apache/1.3.27 (Unix) configured -- resuming
normal operations
[Wed Mar 12 09:15:12 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 09:15:12 2003] [notice] Accept mutex: fcntl (Default: fcntl)
[Wed Mar 12 09:15:12 2003] [alert] Child 3304 returned a Fatal error...
Apache is exiting!
[Wed Mar 12 09:15:24 2003] [warn] pid file /usr/local/apache/adm/httpd.pid overw
ritten -- Unclean shutdown of previous Apache run?
[Wed Mar 12 09:15:25 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 09:15:25 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 09:15:25 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 09:15:25 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 09:15:25 2003] [notice] Apache/1.3.27 (Unix) configured -- resuming
normal operations
[Wed Mar 12 09:15:25 2003] [notice] Accept mutex: fcntl (Default: fcntl)
[Wed Mar 12 09:15:25 2003] [alert] Child 3311 returned a Fatal error...
Apache is exiting!
[Wed Mar 12 09:15:25 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 09:15:53 2003] [error] (13)Permission denied: could not open transfe
r log file /usr/local/apache/adm/access_log.
[Wed Mar 12 09:45:19 2003] [warn] pid file /usr/local/apache/adm/httpd.pid overw
ritten -- Unclean shutdown of previous Apache run?
[Wed Mar 12 09:45:20 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 09:45:20 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 09:45:20 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 09:45:20 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 09:45:20 2003] [notice] Apache/1.3.27 (Unix) configured -- resuming
normal operations
[Wed Mar 12 09:45:20 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 09:45:20 2003] [notice] Accept mutex: fcntl (Default: fcntl)
[Wed Mar 12 09:45:20 2003] [alert] Child 3483 returned a Fatal error...
Apache is exiting!
[Wed Mar 12 09:46:08 2003] [warn] pid file /usr/local/apache/adm/httpd.pid overw
ritten -- Unclean shutdown of previous Apache run?
[Wed Mar 12 09:46:09 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 09:46:09 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 09:46:09 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 09:46:09 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 09:46:09 2003] [notice] Apache/1.3.27 (Unix) configured -- resuming
normal operations
[Wed Mar 12 09:46:09 2003] [notice] Accept mutex: fcntl (Default: fcntl)
[Wed Mar 12 09:46:09 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 09:46:09 2003] [alert] Child 3493 returned a Fatal error...
Apache is exiting!
[Wed Mar 12 09:51:58 2003] [error] (13)Permission denied: could not open transfe
r log file /usr/local/apache/adm/access_log.
[Wed Mar 12 09:52:09 2003] [error] (13)Permission denied: could not open transfe
r log file /usr/local/apache/adm/access_log.
[Wed Mar 12 09:56:59 2003] [error] (13)Permission denied: could not open transfe
r log file /usr/local/apache/adm/access_log.
[Wed Mar 12 09:57:43 2003] [error] (13)Permission denied: could not open transfe
r log file /usr/local/apache/adm/access_log.
[Wed Mar 12 09:59:37 2003] [error] (13)Permission denied: could not open transfe
r log file /usr/local/apache/adm/access_log.
[Wed Mar 12 10:04:13 2003] [warn] pid file /usr/local/apache/adm/httpd.pid overw
ritten -- Unclean shutdown of previous Apache run?
[Wed Mar 12 10:04:14 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 10:04:14 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 10:04:14 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 10:04:14 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 10:04:14 2003] [notice] Apache/1.3.27 (Unix) configured -- resuming
normal operations
[Wed Mar 12 10:04:14 2003] [notice] Accept mutex: fcntl (Default: fcntl)
[Wed Mar 12 10:04:14 2003] [alert] Child 3676 returned a Fatal error...
Apache is exiting!
[Wed Mar 12 10:04:14 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 10:37:18 2003] [crit] (13)Permission denied: make_sock: could not bi
nd to port 80
[Wed Mar 12 10:50:36 2003] [crit] (13)Permission denied: make_sock: could not bi
nd to port 80
[Wed Mar 12 10:55:16 2003] [crit] (13)Permission denied: make_sock: could not bi
nd to port 80
[Wed Mar 12 10:59:40 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 11:01:08 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.4277
[Wed Mar 12 11:02:12 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.4287
[Wed Mar 12 11:05:28 2003] [warn] pid file /usr/local/apache/adm/httpd.pid overw
ritten -- Unclean shutdown of previous Apache run?
[Wed Mar 12 11:05:29 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 11:05:29 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 11:05:29 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 11:05:29 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 11:05:29 2003] [notice] Apache/1.3.27 (Unix) configured -- resuming
normal operations
[Wed Mar 12 11:05:29 2003] [notice] Accept mutex: fcntl (Default: fcntl)
[Wed Mar 12 11:05:29 2003] [alert] Child 4317 returned a Fatal error...
Apache is exiting!
[Wed Mar 12 11:05:29 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 11:10:25 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.4345
[Wed Mar 12 11:12:38 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.4356
[Wed Mar 12 11:28:41 2003] [warn] pid file /usr/local/apache/adm/httpd.pid overw
ritten -- Unclean shutdown of previous Apache run?
[Wed Mar 12 11:28:42 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 11:28:42 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 11:28:42 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 11:28:42 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 11:28:42 2003] [notice] Apache/1.3.27 (Unix) configured -- resuming
normal operations
[Wed Mar 12 11:28:42 2003] [notice] Accept mutex: fcntl (Default: fcntl)
[Wed Mar 12 11:28:42 2003] [alert] Child 4400 returned a Fatal error...
Apache is exiting!
[Wed Mar 12 11:28:42 2003] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Wed Mar 12 11:40:04 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.4433
[Wed Mar 12 12:40:09 2003] [warn] pid file /usr/local/apache/adm/httpd.pid overw
ritten -- Unclean shutdown of previous Apache run?
[Wed Mar 12 12:40:10 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 12:40:10 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 12:40:10 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 12:40:10 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 12:40:10 2003] [notice] Apache/1.3.27 (Unix) configured -- resuming
normal operations
[Wed Mar 12 12:40:10 2003] [notice] Accept mutex: fcntl (Default: fcntl)
[Wed Mar 12 12:40:10 2003] [alert] Child 4945 returned a Fatal error...
Apache is exiting!
[Wed Mar 12 12:40:10 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 12:43:19 2003] [warn] pid file /usr/local/apache/adm/httpd.pid overw
ritten -- Unclean shutdown of previous Apache run?
[Wed Mar 12 12:43:20 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 12:43:20 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 12:43:20 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 12:43:20 2003] [notice] Apache/1.3.27 (Unix) configured -- resuming
normal operations
[Wed Mar 12 12:43:20 2003] [notice] Accept mutex: fcntl (Default: fcntl)
[Wed Mar 12 12:43:20 2003] [alert] Child 4963 returned a Fatal error...
Apache is exiting!
[Wed Mar 12 12:43:20 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 12:43:20 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 12:45:17 2003] [warn] pid file /usr/local/apache/adm/httpd.pid overw
ritten -- Unclean shutdown of previous Apache run?
[Wed Mar 12 12:45:18 2003] [alert] (238)Connection timed out: getpwuid: couldn't
determine user name from uid 4294967295, you probably need to modify the User d
irective
[Wed Mar 12 12:45:18 2003] [alert] (238)Connection timed out: getpwuid: couldn't
determine user name from uid 4294967295, you probably need to modify the User d
irective
[Wed Mar 12 12:45:18 2003] [notice] Apache/1.3.27 (Unix) configured -- resuming
normal operations
[Wed Mar 12 12:45:18 2003] [alert] (238)Connection timed out: getpwuid: couldn't
determine user name from uid 4294967295, you probably need to modify the User d
irective
[Wed Mar 12 12:45:18 2003] [alert] (238)Connection timed out: getpwuid: couldn't
determine user name from uid 4294967295, you probably need to modify the User d
irective
[Wed Mar 12 12:45:18 2003] [alert] (238)Connection timed out: getpwuid: couldn't
determine user name from uid 4294967295, you probably need to modify the User d
irective
[Wed Mar 12 12:45:18 2003] [notice] Accept mutex: fcntl (Default: fcntl)
[Wed Mar 12 12:45:18 2003] [alert] Child 5004 returned a Fatal error...
Apache is exiting!
[Wed Mar 12 12:56:22 2003] [warn] pid file /usr/local/apache/adm/httpd.pid overw
ritten -- Unclean shutdown of previous Apache run?
[Wed Mar 12 12:56:23 2003] [alert] (238)Connection timed out: getpwuid: couldn't
determine user name from uid 4294967295, you probably need to modify the User d
irective
[Wed Mar 12 12:56:23 2003] [alert] (238)Connection timed out: getpwuid: couldn't
determine user name from uid 4294967295, you probably need to modify the User d
irective
[Wed Mar 12 12:56:23 2003] [alert] (238)Connection timed out: getpwuid: couldn't
determine user name from uid 4294967295, you probably need to modify the User d
irective
[Wed Mar 12 12:56:23 2003] [alert] (238)Connection timed out: getpwuid: couldn't
determine user name from uid 4294967295, you probably need to modify the User d
irective
[Wed Mar 12 12:56:23 2003] [notice] Apache/1.3.27 (Unix) configured -- resuming
normal operations
[Wed Mar 12 12:56:23 2003] [notice] Accept mutex: fcntl (Default: fcntl)
[Wed Mar 12 12:56:23 2003] [alert] (238)Connection timed out: getpwuid: couldn't
determine user name from uid 4294967295, you probably need to modify the User d
irective
[Wed Mar 12 12:56:24 2003] [alert] Child 5041 returned a Fatal error...
Apache is exiting!
[Wed Mar 12 13:24:28 2003] [warn] pid file /usr/local/apache/adm/httpd.pid overw
ritten -- Unclean shutdown of previous Apache run?
[Wed Mar 12 13:24:29 2003] [alert] (238)Connection timed out: getpwuid: couldn't
determine user name from uid 4294967295, you probably need to modify the User d
irective
[Wed Mar 12 13:24:29 2003] [alert] (238)Connection timed out: getpwuid: couldn't
determine user name from uid 4294967295, you probably need to modify the User d
irective
[Wed Mar 12 13:24:29 2003] [notice] Apache/1.3.27 (Unix) configured -- resuming
normal operations
[Wed Mar 12 13:24:29 2003] [notice] Accept mutex: fcntl (Default: fcntl)
[Wed Mar 12 13:24:29 2003] [alert] (238)Connection timed out: getpwuid: couldn't
determine user name from uid 4294967295, you probably need to modify the User d
irective
[Wed Mar 12 13:24:29 2003] [alert] (238)Connection timed out: getpwuid: couldn't
determine user name from uid 4294967295, you probably need to modify the User d
irective
[Wed Mar 12 13:24:29 2003] [alert] (238)Connection timed out: getpwuid: couldn't
determine user name from uid 4294967295, you probably need to modify the User d
irective
[Wed Mar 12 13:24:30 2003] [alert] Child 5435 returned a Fatal error...
Apache is exiting!
[Wed Mar 12 13:29:44 2003] [warn] pid file /usr/local/apache/adm/httpd.pid overw
ritten -- Unclean shutdown of previous Apache run?
[Wed Mar 12 13:29:45 2003] [alert] (238)Connection timed out: getpwuid: couldn't
determine user name from uid 4294967295, you probably need to modify the User d
irective
[Wed Mar 12 13:29:45 2003] [alert] (238)Connection timed out: getpwuid: couldn't
determine user name from uid 4294967295, you probably need to modify the User d
irective
[Wed Mar 12 13:29:45 2003] [alert] (238)Connection timed out: getpwuid: couldn't
determine user name from uid 4294967295, you probably need to modify the User d
irective
[Wed Mar 12 13:29:45 2003] [notice] Apache/1.3.27 (Unix) configured -- resuming
normal operations
[Wed Mar 12 13:29:45 2003] [notice] Accept mutex: fcntl (Default: fcntl)
[Wed Mar 12 13:29:45 2003] [alert] (238)Connection timed out: getpwuid: couldn't
determine user name from uid 4294967295, you probably need to modify the User d
irective
[Wed Mar 12 13:29:45 2003] [alert] (238)Connection timed out: getpwuid: couldn't
determine user name from uid 4294967295, you probably need to modify the User d
irective
[Wed Mar 12 13:29:46 2003] [alert] Child 5459 returned a Fatal error...
Apache is exiting!
#

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

hp-ux服务设置?

httpd.pid 就是5430

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

hp-ux服务设置?

看看/usr/local/apache/adm/httpd.pid中是什么内容

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

hp-ux服务设置?

5430
ps -ef|grep http结果如下:
# /usr/local/apache/bin/apachectl start
/usr/local/apache/bin/apachectl start: httpd started
# ps -ef | grep httpd
    root  5437  5340  1 13:24:41 pts/ta    0:00 grep httpd
#

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

hp-ux服务设置?

对,把原来的PORT 80改成PORT 8888
把listen 80前的#去掉,并改成listen 8888,重起
看看/usr/local/apache/adm/httpd.pid中是什么内容

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

hp-ux服务设置?

可是我已经注释掉了listen 80 了,是不是要启用listen 8888,PORT 8080是不是也要改成8888?
  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP