启动服务错误
[Jun 29 14:07:16.254] Server {682627136} NOTE: logging initialized[7], logging_mode = 3
[Jun 29 14:07:16.260] Server {682627136} ERROR: Could not bind or listen to port 80 (error: -1)
[Jun 29 14:07:16.260] Server {682627136} WARNING: unable to listen on port 80: -1 13, Permission denied
[Jun 29 14:07:16.274] Server {682627136} NOTE: traffic server running
[Jun 29 14:07:16.314] Server {682627952} NOTE: cache enabled
系统日志
Jun 29 14:07:16 mymdb traffic_server[1694]: NOTE: Server Version: Apache Traffic Server - traffic_server - 3.0.0 - (build # 52812 on Jun 28 2011 at 12:54:25)
Jun 29 14:07:16 mymdb traffic_server[1694]: {682627136} ERROR: Could not bind or listen to port 80 (error: -1)作者: aaaaaa 时间: 2011-06-29 17:47
这个port的init脚本有问题,不应该直接用traffic_server。你看看直接用/usr/bin/trafficserver来启动吧。
启动服务错误
[Jun 29 14:07:16.254] Server {682627136} NOTE: logging initialized[7], logging_mode = 3
[Jun 29 14:07:16.260] Server {682627136} ERROR: Could not bind or listen to port 80 (error: -1)
[Jun 29 14:07:16.260] Server {682627136} WARNING: unable to listen on port 80: -1 13, Permission denied
[Jun 29 14:07:16.274] Server {682627136} NOTE: traffic server running
[Jun 29 14:07:16.314] Server {682627952} NOTE: cache enabled
系统日志
Jun 29 14:07:16 mymdb traffic_server[1694]: NOTE: Server Version: Apache Traffic Server - traffic_server - 3.0.0 - (build # 52812 on Jun 28 2011 at 12:54:25)
Jun 29 14:07:16 mymdb traffic_server[1694]: {682627136} ERROR: Could not bind or listen to port 80 (error: -1)
其实我还不理解 update,如果不指定绝对的url是抓不到内容的,那后面的递归层次好像也没有意义啊作者: aaaaaa 时间: 2011-09-14 14:42
update和prefetch都是解析HTML文件,提取出其中的页面元素,然后对这些元素进行fresh的操作。碰到目录或连接进来的html文件,update会递归的继续处理。这就是通常类似于网页爬虫的操作。因此通常对多数人来说,选首页等最热门的页面来,爬个5级左右深度,基本就齐活了。作者: LnBSD 时间: 2011-09-22 14:57
proxy.local.incoming_ip_to_bind
能不能指定ats监听两个ip的某个端口作者: aaaaaa 时间: 2011-09-22 22:23
##########
# basics #
##########
# The main server_port is listed here, other server ports is a
# string of ports, separated by whitespace. The port attributes
# should be set to X(default behavior). For example...
# server_other_ports STRING 1234:X 12345:X
CONFIG proxy.config.http.server_port INT 8080
CONFIG proxy.config.http.server_port_attr STRING X
# to enable IPv6 listening on port 8080:
# CONFIG proxy.config.http.server_other_ports STRING 8080:X6
CONFIG proxy.config.http.server_other_ports STRING NULL
CONFIG proxy.config.http.connect_ports STRING 443 563