On Thu, Jun 16, 2011 at 06:10:07AM +0800, [email protected] wrote:
> the admin interface should not be actived by default, I don't have admin
> but works with default config. I am cofused.
Well.. it works for me as well, just gives these warnings about
traffic_cop[12854]: can't get passwd entry for the admin user
in /var/log/messages on every startup, and sometimes kills itself
because of the missing heartbeat.
> can you provide more information?
> ie, pastebin the full records.config
http://fpaste.org/jRiH/
I've touched the config a bit more since I initially posted.
Here's the diff against records.config.default:
-CONFIG proxy.config.proxy_name STRING oc1046828364.ibm.com
-CONFIG proxy.config.config_dir STRING etc/trafficserver
+CONFIG proxy.config.proxy_name STRING dibs.tanso.net
+CONFIG proxy.config.config_dir STRING /etc/trafficserver
-CONFIG proxy.config.exec_thread.autoconfig.scale FLOAT 1.5
+CONFIG proxy.config.exec_thread.autoconfig.scale FLOAT 1.500000
-CONFIG proxy.config.http.server_port INT 8080
+CONFIG proxy.config.http.server_port INT 80
-# CONFIG proxy.config.http.server_other_ports STRING 8080:X6
-CONFIG proxy.config.http.server_other_ports STRING NULL
+CONFIG proxy.config.http.server_other_ports STRING 80:X6
-CONFIG proxy.config.http.background_fill_completed_threshold FLOAT 0.5
+CONFIG proxy.config.http.background_fill_completed_threshold FLOAT 0.500000
-CONFIG proxy.config.http.quick_filter.mask INT 0x482
+CONFIG proxy.config.http.quick_filter.mask INT 1154
-CONFIG proxy.config.http.normalize_ae_gzip INT 0
+CONFIG proxy.config.http.normalize_ae_gzip INT 0
-CONFIG proxy.config.http.cache.heuristic_lm_factor FLOAT 0.10
+CONFIG proxy.config.http.cache.heuristic_lm_factor FLOAT 0.100000
-CONFIG proxy.config.http.cache.fuzz.probability FLOAT 0.005
+CONFIG proxy.config.http.cache.fuzz.probability FLOAT 0.005000
-CONFIG proxy.config.cluster.ethernet_interface STRING tun1
+CONFIG proxy.config.cluster.ethernet_interface STRING eth0
-CONFIG proxy.config.hostdb.storage_size INT 32M
+CONFIG proxy.config.hostdb.storage_size INT 33554432
-CONFIG proxy.config.log.logfile_dir STRING var/log/trafficserver
+CONFIG proxy.config.log.logfile_dir STRING /var/log/trafficserver
-CONFIG proxy.config.log.common_log_enabled INT 0
+CONFIG proxy.config.log.common_log_enabled INT 1
-CONFIG proxy.config.ssl.server.cert.path STRING etc/trafficserver
+CONFIG proxy.config.ssl.server.cert.path STRING /etc/trafficserver
-CONFIG proxy.config.ssl.client.cert.path STRING etc/trafficserver
+CONFIG proxy.config.ssl.client.cert.path STRING /etc/trafficserver
+CONFIG proxy.config.http_ui_enabled INT 3
+CONFIG proxy.config.http.enable_http_info INT 1
+CONFIG proxy.config.url_remap.filename STRING remap.config
> and the following result:
>
> > [root@unknown-10-62-163-x trafficserver]# grep admin records.config
> > # administration guide or the addendum:
> > CONFIG proxy.config.admin.admin_user STRING admin
> > CONFIG proxy.config.admin.number_config_bak INT 3
> > CONFIG proxy.config.admin.user_id STRING nobody
> > CONFIG proxy.config.admin.autoconf_port INT 8083
[root@dibs trafficserver]# grep admin records.config
# administration guide or the addendum:
CONFIG proxy.config.admin.admin_user STRING admin
CONFIG proxy.config.admin.number_config_bak INT 3
CONFIG proxy.config.admin.user_id STRING nobody
CONFIG proxy.config.admin.autoconf_port INT 8083
> > [root@unknown-10-62-163-x trafficserver]# grep nobody /etc/passwd
> > nobody:x:99:99:Nobody:/:/sbin/nologin
[root@dibs trafficserver]# grep nobody /etc/passwd
nobody:x:99:99:Nobody:/:/sbin/nologin
nfsnobody:x:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologin
> > [root@unknown-10-62-163-x trafficserver]# grep nobody records.config
> > CONFIG proxy.config.alarm_email STRING nobody
> > CONFIG proxy.config.admin.user_id STRING nobody
[root@dibs trafficserver]# grep nobody records.config
CONFIG proxy.config.alarm_email STRING nobody
CONFIG proxy.config.admin.user_id STRING nobody
So we have the same settings here. Are you not seeing these messages
from traffic_cop in the syslog on startup?
traffic_cop[12854]: can't get passwd entry for the admin user
traffic_cop[12854]: can't get passwd entry for the admin user
-jf