[ 
https://issues.apache.org/jira/browse/TS-6?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

George Paul updated TS-6:
-------------------------

    Attachment: TS-6_traffic_manager_patch1.diff

This patch uses PREFIX,PKGLOCALSTATEDIR and PKGSYSCONFDIR to set default 
locations for config files, logs and IPC. It also adds a few more records 
config variables to set paths. This patch was used in conjuction with patches 
TS-36_patch1.diff and TS-21_stats_patch1.diff

patch -p0 -i TS-6_traffic_manager_patch1.diff

If you traffic_manger does not start and you see message like the following in 
/var/log/syslog:

Nov 19 17:36:12 wopr traffic_manager[25918]: {2243651312} NOTE: 
[LocalManager::initCCom] Unable to find network interface (null).  Exiting...

You need to set 'proxy.config.cluster.ethernet_interface' in 
'proxy/config/records.config.in' to a valid interface like 'eth0'

Also make sure you set 'proxy.config.admin.user_id' to valid user if 'nobody' 
does not exist.

You can ignore the errors about filter_to_policy and /usr/sbin/sendmail not 
being found for now. Traffic Manager should start and bring up Traffic Server.

You can execute the '$PREFIX/bin/traffic_shell' command and see some stats
e.g.
% show:cache-stats

Bytes Used --- 1 GB
Cache Size --- 8 GB
--RAM Cache--
Total Bytes -- 9089024
Bytes Used --- 9085952
Hits --------- 32056
Misses ------- 41829
--Lookups--
In Progress -- 0
Hits --------- 0
Misses ------- 0
--Reads--
In Progress -- 0
Hits --------- 55481
Misses ------- 85613
--Writes--
In Progress -- 0
Hits --------- 69594
Misses ------- 15986
--Updates--
In Progress -- 0
Hits --------- 0
Misses ------- 0
--Removes--
In Progress -- 0
Hits --------- 0
Misses ------- 0

% show:http-stats

--Client--
Total Document Bytes ----- 1078 MB
Total Header Bytes ------- 19 MB
Total Connections -------- 0
Transactins In Progress -- 0
--Server--
Total Document Bytes ----- 654 MB
Total Header Bytes ------- 4 MB
Total Connections -------- 0
Transactins In Progress -- 0
%% show:proxy-stats

Document Hit Rate -------- 37.295738 %   *
Bandwidth Saving --------- 39.536240 %   *
Cache Percent Free ------- 90.791733 %
Open Server Connections -- 0
Open Client Connections -- 0
Open Cache Connections --- 0
Client Throughput -------- 0.000000 MBit/Sec
Transaction Per Second --- 0.000000

* Value represents 10 second average.

Please review and let me now if there are any issues.

-George


> traffic_manager does not start
> ------------------------------
>
>                 Key: TS-6
>                 URL: https://issues.apache.org/jira/browse/TS-6
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>            Reporter: Leif Hedstrom
>            Assignee: Andrew Hsu
>         Attachments: TS-6_traffic_manager_patch1.diff
>
>
> Seems some paths aren't properly set via the configure script or something:
> r...@fc11 204/0 # ./bin/traffic_manager 
> Manager ERROR: unable to change to root directory "/home/trafficserver" [2 
> 'No such file or directory']
> (last system error 2: No such file or directory)r...@fc11 205/0 # 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to