Re: how to set IP values correctly
Status: Alpha
Brought to you by:
coroberti
|
From: Brocha S. <br...@ca...> - 2010-01-19 09:35:06
|
CURL-LOADER VERSION: 0.50, September 21, 2009
HW DETAILS: CPU/S and memory are must:
Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz
Mem: 3056880k total
LINUX DISTRIBUTION and KERNEL (uname -r):
2.6.31-16-generic
GCC VERSION (gcc -v):
gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu8)
COMPILATION AND MAKING OPTIONS (if defaults changed):
defaults
COMMAND-LINE:
./curl-loader -r -f conf/streamMedia.conf
CONFIGURATION-FILE (The most common source of problems):
########### GENERAL SECTION ################################
BATCH_NAME= stream-media
CLIENTS_NUM_MAX=1 # Same as CLIENTS_NUM
INTERFACE =eth0
NETMASK=255.0.0.0
IP_ADDR_MIN= 192.168.11.104
IP_ADDR_MAX= 192.168.11.104
CYCLES_NUM= 1
URLS_NUM= 2
########### URL SECTION ####################################
URL=http://localhost/load/main.php
URL_SHORT_NAME="media-art"
REQUEST_TYPE=POST
FORM_USAGE_TYPE= AS_IS
FORM_STRING=
"ws_name=MediaArt&ws_action=Read&descriptor-media_id=12375647&credentials-session_id=200a9faa5c561bb39c240b4b249b6c9c&descriptor-media_kind=track&descriptor-format=jpg&descriptor-type=cover
art"
TIMER_URL_COMPLETION = 5000
TIMER_AFTER_URL_SLEEP = 1000
URL=""
URL_USE_CURRENT=1
URL_SHORT_NAME="media"
REQUEST_TYPE=POST
FORM_USAGE_TYPE= AS_IS
FORM_STRING=
"ws_name=MediaHandle&ws_action=Create&descriptor-media_id=12375647&credentials-session_id=200a9faa5c561bb39c240b4b249b6c9c&descriptor-media_kind=track&format=audio/mp3&protocol=HTTP&descriptor-with_ad=0"
TIMER_URL_COMPLETION = 5000
TIMER_AFTER_URL_SLEEP = 2000
DOES THE PROBLEM AFFECT:
EXECUTION
DESCRIPTION:
only the first URL is attempted and the output files contain errors. I
know i am probably setting the values for cleint IPs incorrectly, but i
don't know how to set them correctly.
::::::::::::::
stream-media.ctx
::::::::::::::
1
,cycles:1,state:-1,b-in:704,b-out:388,req:1,1xx:0,2xx:1,3xx:0,4xx:0,5xx:0,err:
1,T-err:0
::::::::::::::
stream-media.log
::::::::::::::
# 1172523270 Tue Jan 19 11:21:48 2010
# msec_offset cycle_no url_no client_no (ip) indic info
2 0 0 1 !! ERR Couldn't bind to '192.168.11.104'
1180 0 0 1 !! OK 200
::::::::::::::
In case this helps here is the output of ifconfig:
eth0 Link encap:Ethernet HWaddr 00:24:7e:e0:7c:93
inet addr:192.168.11.104 Bcast:192.168.11.255 Mask:255.255.255.0
inet6 addr: fe80::224:7eff:fee0:7c93/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:675929 errors:0 dropped:0 overruns:0 frame:0
TX packets:377850 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:815512774 (815.5 MB) TX bytes:36485498 (36.4 MB)
Memory:fc000000-fc020000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:14098 errors:0 dropped:0 overruns:0 frame:0
TX packets:14098 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2783373 (2.7 MB) TX bytes:2783373 (2.7 MB)
virbr0 Link encap:Ethernet HWaddr 5e:7e:cc:84:32:fb
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:96 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:11916 (11.9 KB)
wlan0 Link encap:Ethernet HWaddr 00:26:c6:37:28:d0
inet addr:192.168.2.109 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::226:c6ff:fe37:28d0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1237990 errors:0 dropped:0 overruns:0 frame:0
TX packets:717816 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1555743680 (1.5 GB) TX bytes:71947705 (71.9 MB)
wmaster0 Link encap:UNSPEC HWaddr
00-26-C6-37-28-D0-33-37-00-00-00-00-00-00-00-00
UP RUNNING MTU:0 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Robert Iakobashvili wrote:
> Hi Brocha,
>
> On Tue, Jan 19, 2010 at 11:15 AM, Brocha Strous <br...@ca...
> <mailto:br...@ca...>> wrote:
>
> Hello,
> I am having trouble figuring out what the correct values are for
> the IP
> settings for my machine. (INTERFACE, NETMASK, IP_ADDR_MIN/MAX) The
> various things i have tried result in this error:
>
> 1 0 0 1 !! ERR Couldn't bind to '192.168.2.108'
>
> (my conf file has 2 URLs and it is making the request to the first one
> but reports that there is an error. I don't care if all the clients
> share the same IP or different ones.)
>
>
> Please, fill the PROBLEM-REPORTING form within the curl-loader
> distribution, otherwise we'll try to guess, what you are doing
>
>
> Also, in the output .txt file what is the meaning of H/F and H/F/S ?
>
>
> H/F - statistics for non-encrypted traffic (HTTP/FTP)
> H/F/S - statistics for HTTPS / FTPS
>
>
> Thanks,
> Brocha
>
>
>
>
> --
> Truly,
> Robert Iakobashvili, Ph.D.
> ......................................................................
> www.ghotit.com <http://www.ghotit.com>
> Assistive technology that understands you
> ......................................................................
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> ------------------------------------------------------------------------
>
> _______________________________________________
> curl-loader-devel mailing list
> cur...@li...
> https://lists.sourceforge.net/lists/listinfo/curl-loader-devel
>
|