不知道apache错误日志中的报错指的是什么

不知道apache错误日志中的报错指的是什么

我的apache/logs/error_log日志有大量以下信息:
[Wed May 21 20:09:38 2008] [notice] channelApr.receive(): Received len=107 type=4
[Wed May 21 20:09:38 2008] [notice] channelApr.receive(): Received len=1046 type=3
[Wed May 21 20:09:38 2008] [notice] channelApr.receive(): Received len=2 type=5
[Wed May 21 20:09:38 2008] [notice] channelApr.receive(): Received len=106 type=4
[Wed May 21 20:09:38 2008] [notice] channelApr.receive(): Received len=982 type=3
[Wed May 21 20:09:38 2008] [notice] channelApr.receive(): Received len=2 type=5
[Wed May 21 20:09:38 2008] [notice] channelApr.receive(): Received len=142 type=4
[Wed May 21 20:09:38 2008] [notice] channelApr.receive(): Received len=2975 type=3
[Wed May 21 20:09:38 2008] [notice] channelApr.receive(): Received len=2 type=5
[Wed May 21 20:09:38 2008] [notice] channelApr.receive(): Received len=106 type=4
[Wed May 21 20:09:38 2008] [notice] channelApr.receive(): Received len=970 type=3
[Wed May 21 20:09:38 2008] [notice] channelApr.receive(): Received len=2 type=5
[Wed May 21 20:09:39 2008] [notice] channelApr.receive(): Received len=106 type=4
[Wed May 21 20:09:39 2008] [notice] channelApr.receive(): Received len=998 type=3
[Wed May 21 20:09:39 2008] [notice] channelApr.receive(): Received len=2 type=5
[Wed May 21 20:09:39 2008] [notice] shm.getSlot() found existing slot 0 epStat.1041
[Wed May 21 20:09:39 2008] [notice] shm.getSlot() found existing slot 8192 epStat.1042
[Wed May 21 20:09:39 2008] [notice] shm.getSlot() found existing slot 16384 epStat.18
[Wed May 21 20:09:39 2008] [notice] shm.getSlot() found existing slot 24576 epStat.16
[Wed May 21 20:09:39 2008] [notice] shm.getSlot() found existing slot 32768 epStat.1054
[Wed May 21 20:09:39 2008] [notice] shm.getSlot() found existing slot 40960 epStat.25
[Wed May 21 20:09:39 2008] [notice] shm.getSlot() found existing slot 49152 epStat.30
[Wed May 21 20:09:39 2008] [notice] shm.getSlot() found existing slot 57344 epStat.35
[Wed May 21 20:09:39 2008] [notice] shm.getSlot() found existing slot 65536 epStat.28
[Wed May 21 20:09:39 2008] [notice] shm.getSlot() found existing slot 73728 epStat.1074
[Wed May 21 20:09:39 2008] [notice] shm.getSlot() found existing slot 81920 epStat.1083
[Wed May 21 20:09:39 2008] [notice] shm.getSlot() found existing slot 90112 epStat.49
[Wed May 21 20:09:39 2008] [notice] shm.getSlot() found existing slot 98304 epStat.1081
[Wed May 21 20:09:39 2008] [notice] shm.getSlot() found existing slot 106496 epStat.56
[Wed May 21 20:09:39 2008] [notice] shm.getSlot() found existing slot 114688 epStat.1055
[Wed May 21 20:09:39 2008] [notice] shm.createSlot() Created slot 16
[Wed May 21 20:09:39 2008] [notice] workerEnv.init() create slot epStat.45
[Wed May 21 20:09:39 2008] [notice] channelApr.open(): create tcp socket 160886368
[Wed May 21 20:09:39 2008] [notice] channelApr.receive(): Received len=106 type=4
[Wed May 21 20:09:39 2008] [notice] channelApr.receive(): Received len=981 type=3
[Wed May 21 20:09:39 2008] [notice] channelApr.receive(): Received len=2 type=5
[Wed May 21 20:09:39 2008] [notice] channelApr.receive(): Received len=142 type=4
[Wed May 21 20:09:39 2008] [notice] channelApr.receive(): Received len=2975 type=3
[Wed May 21 20:09:39 2008] [notice] channelApr.receive(): Received len=2 type=5
......
[Thu May 22 09:51:36 2008] [notice] workerEnv.init() ok /usr/local/apache/conf/workers2.properties
[Thu May 22 09:51:36 2008] [notice] shm.getSlot() found existing slot 811008 epStat.43
[Thu May 22 09:51:36 2008] [notice] mod_jk2 child 27809 initialized
[Thu May 22 09:51:36 2008] [notice] shm.getSlot() found existing slot 819200 epStat.1152
[Thu May 22 09:51:36 2008] [notice] shm.getSlot() found existing slot 827392 epStat.1173
[Thu May 22 09:51:36 2008] [notice] shm.getSlot() found existing slot 835584 epStat.1043
[Thu May 22 09:51:36 2008] [notice] shm.getSlot() found existing slot 843776 epStat.1187

不知道是为什么?

我做了apache和tomcat的整合,用的是jk2,会是这个的问题吗?但是功能我测试已经实现了
这是正常信息,关闭debug,就没了


QUOTE:
原帖由 hmglly 于 2008-5-22 10:11 发表
这是正常信息,关闭debug,就没了

我现在的日志级别是LogLevel warn,可是还是有notice的输出,还是error log的级别在别的地方设置?
notice信息不是apache写的,是其它的程序写上去的

这里就是Jk写上去的了

看看JkLogLevel是啥



QUOTE:
原帖由 hmglly 于 2008-5-22 12:47 发表
notice信息不是apache写的,是其它的程序写上去的

这里就是Jk写上去的了

看看JkLogLevel是啥

是不是应该加上这些:

JkWorkersFile /usr/local/apache/conf/workers2.properties
JkLogFile     /var/log/jklog/mod_jk.log
JkLogLevel error

但是加上后,重启apache,就报如下错误:

Syntax error on line 413 of /usr/local/apache/conf/httpd.conf:
Invalid command 'JkWorkersFile', perhaps misspelled or defined by a module not included in the server configuration
httpd not running, trying to start

我也load的了:LoadModule jk2_module modules/mod_jk2.so,为什么还会报错呢?


QUOTE:
原帖由 vv0885 于 2008-5-22 13:40 发表


是不是应该加上这些:

JkWorkersFile /usr/local/apache/conf/workers2.properties
JkLogFile     /var/log/jklog/mod_jk.log
JkLogLevel error

但是加上后,重启apache,就报如下错误:

Syntax ...

问题解决了!!!
是在workers2.properties中修改。
谢谢 hmglly !!!

我还想问一个问题:
    我没有在tomcat/conf/下建立 jk2.properties 配置文件,为什么也能实现功能呢?