Friday, July 13, 2007

stupid mistakes

1. No need change to root ownership
2. No need change ScriptAlias cgi-bin to Alias cgi-bin
3. No need change php.conf

Just need to change /var/www/html to /var/www in two places of httpd.conf, then put support and Smarty in /var/www, then it is done.

SPECweb that needs to change:
Test.config
1. Connections
SIMULANEOUS SESSION =100
2. Type
TEST_TYPE=SPECweb_Support
3. Webserver IP
WEB_SERVER = xxx.xxx.xxx.135
4. Smarty Directory
SMARTY_DIR="/var/www/Smarty-2.6.7/libs"
SMARTY_SUPPORT_DIR="/var/www/support/"

SPECweb_Support.config
1. padding directory
PADDING_DIR="/var/www/support/dynamic_padding/"
Comments: if missing to change it, then
in /etc/httpd/logs/error_logs:
File does not exist: /var/www/favicon
attemp to invoke directory as script: /var/www/cgi-bin
Directory index forbidden by Options directive: /var/www/error
on the SPECweb:
[Error] State 0: Expected 51700 bytes appened to response but found 0
[Error] State 0: RESPONSE INVALID on GET /support/index.php HTTP/1.1
if the simultaneous session value is less than the dataset can support
it will display:
HTTPRequestSched: [ERROR] Bad response (-1). Request was GET /support/downloads/dir0000000019/download5_0 HTTP/1.1
SPECweb_Support: [ERROR] STATE 6; makeHttpRequest() failed.
Connection: [ERROR] Bad status: 404
Connection: bad status ====buf_len=500 headerEnd=179 contentLen=321 chunkEnd-1===
Connection: HTTP/1.1 404 Not Found
if /var/www's access priviledges were not changed, the SPECweb error will be
Error: Could no twrite to init_vars.php
HttpRequestSched: [ERROR] Repair reset code for conforming run of set COND_GET_REQ_PERCENT to 0 for non-conforming run. Run halted.
SPECweb_Support: [ERROR] Error! setServerDate() failed.
RemoteLoadGen: [ERROR] Unable to successfully initialize workload variables. Termininating

No comments: