Skip to Content.
Sympa Menu

ndt-users - Re:

Subject: ndt-users list created

List archive

Re:


Chronological Thread 
  • From: Richard Carlson <>
  • To: Martyn Cheatle <>,
  • Subject: Re:
  • Date: Thu, 13 Oct 2005 09:29:07 -0400

Hi Martyn;

At 05:22 AM 10/13/2005, Martyn Cheatle wrote:

After a bit learning cure and the help of users from this list I'm getting there, I just have one problem now which is as follows: -

If I edit start.ndt I have a problem starting it, I have added a log line at the end of the websrv100 see below

#! /bin/csh -f

set cnt = `ps auxw | grep web100srv | grep -v grep | wc -l`
if ($cnt == 0) then
/usr/local/sbin/web100srv -a /var/log/web100/web100srv.log >& /dev/null &
endif

You are missing the "-l" flag to tell the server that you want the log to go in a new location. The syntax should be "-l/var/log/web100/web100srv.log".

set cnt = `ps auxw | grep fakewww | grep -v grep | wc -l`
if ($cnt == 0) then
/usr/local/sbin/fakewww -l/var/log/fakewww.log >& /dev/null &
Endif

Then when I run start.ndt I get the following

[root@localhost
conf]# ./start.ndt
'nknown option: `-
Usage: csh [ -bcdefilmnqstvVxX ] [ argument ... ].

But if I leave it and do not edit it then it starts fine, I used Microsoft's WordPad to edit the file.

Also I have added the following to my firewall rules using webmin but I'm unable to run any tests from server to client, it just sits there doing nothing

iptables -A NDT -p tcp --dport 7123 -j ACCEPT
iptables -A NDT -p tcp --dport 3001 -j ACCEPT
iptables -A NDT -p tcp --dport 3002 -j ACCEPT
iptables -A NDT -p tcp --dport 3003 -j ACCEPT
iptables -A NDT -p tcp --sport 3001 -j ACCEPT
iptables -A NDT -p tcp --sport 3002 -j ACCEPT
iptables -A NDT -p tcp --sport 3003 -j ACCEPT

Do the logs show anything? The /var/log/fakewww.log file will contain a record of who is hitting the fakewww server. By default the /usr/local/ndt/web100srv.log file contains records of who is running tests. Port 7123 allows the web server (fakewww) to operate. Are you getting the web page back? The fakewww.log file should contain something like this:

Oct 12 18:15:23 server started, listening on port 7123
Oct 13 01:23:29 [66.249.64.50] requested file '/robots.txt' - access denied
Oct 13 01:23:29 [66.249.64.50] requested file '/' - sent to client

The first line indicates the fakewww server process started. The 2nd line indicates that a client at that IP address asked for the "robots.txt" file, which doesn't exist so the request was denied. The 3rd line indicates that the main NDT web page was sent to this client.

If these entries don't exist, then the iptables config is not complete.

Rich

Anybody got any ideas on how can solve my issues

Many thanks

Martyn


The contents of this email and any attachments are sent for the personal attention
of the addressee(s) only and may be confidential. If you are not the intended
addressee, any use, disclosure or copying of this email and any attachments is
unauthorised - please notify the sender by return and delete the message. Any
representations or commitments expressed in this email are subject to contract.

ntl Group Limited

------------------------------------



Richard A. Carlson e-mail:

Network Engineer phone: (734) 352-7043
Internet2 fax: (734) 913-4255
1000 Oakbrook Dr; Suite 300
Ann Arbor, MI 48104


  • [no subject], Martyn Cheatle, 10/13/2005
    • Message not available
      • Re:, Richard Carlson, 10/13/2005

Archive powered by MHonArc 2.6.16.

Top of Page