Author |
Message |
Dominic Klein
Joined: 23 Nov 2001 Posts: 132
|
|
Ping causes Dr Watson |
|
Hello I am trying to ping a server : Dim (server_alive boolean) Ping("192,168,6,3", server_alive) etc .... but as soon as it tries to Ping I get a Dr Watson error and it exits the scheduler program. I have seen another person had this error too but I don't know if it was resolved. Please can you advise.
|
|
Mon Nov 18, 2002 7:41 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7963
|
|
Re: Ping causes Dr Watson |
|
Replace commas with periods Ping("192.168.6.3", server_alive) : Hello : I am trying to ping a server : Dim (server_alive boolean) : Ping("192,168,6,3", server_alive) : etc .... : but as soon as it tries to Ping I get a Dr Watson error and it exits the : scheduler program. : I have seen another person had this error too but I don't know if it was : resolved. : Please can you advise.
|
|
Mon Nov 18, 2002 9:47 am |
|
 |
Dominic Klein
Joined: 23 Nov 2001 Posts: 132
|
|
Re: Ping causes Dr Watson |
|
: Replace commas with periods : Ping("192.168.6.3", server_alive) I'm sorry I am using periods, my example was not correct. eg Ping(192.168.6.3, server_alive) causes Dr Watson crash.
|
|
Mon Nov 18, 2002 10:04 am |
|
 |
Dominic Klein
Joined: 23 Nov 2001 Posts: 132
|
|
Re: Ping causes Dr Watson |
|
: I'm sorry I am using periods, my example was not correct. : eg : Ping(192.168.6.3, server_alive) causes Dr Watson crash. and I am using quotes around the address : ping("192.168.6.3", server_alive) I saw another user had this problem,
|
|
Mon Nov 18, 2002 10:10 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7963
|
|
Re: Ping causes Dr Watson |
|
Can you ping by machine name? If you turn on the tracing feature, what is the last message that appears in the trace window? : and I am using quotes around the address : ping("192.168.6.3", : server_alive) : I saw another user had this problem,
|
|
Mon Nov 18, 2002 10:24 am |
|
 |
Dominic Klein
Joined: 23 Nov 2001 Posts: 132
|
|
Re: Ping causes Dr Watson |
|
: Can you ping by machine name? : If you turn on the tracing feature, what is the last message that appears in : the trace window? no I can't ping by machine name as it is not in the HOSTS file. If I go to DOS I can ping the address no problem. Tracing is on but it crashes so quicky I can't see anything.
|
|
Mon Nov 18, 2002 10:32 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7963
|
|
Re: Ping causes Dr Watson |
|
Please let me know the result of the following script. Please also let me know which 24x7 version you run. Dim host, string, "192.168.6.3" Dim server_alive, boolean MessageBox host Ping host, server_alive MessageBox server_alive : no I can't ping by machine name as it is not in the HOSTS file. : If I go to DOS I can ping the address no problem. : Tracing is on but it crashes so quicky I can't see anything.
|
|
Mon Nov 18, 2002 11:07 am |
|
 |
Dominic Klein
Joined: 23 Nov 2001 Posts: 132
|
|
Re: Ping causes Dr Watson |
|
: Please let me know the result of the following script. : Please also let me know which 24x7 version you run. : Dim host, string, "192.168.6.3" : Dim server_alive, boolean : MessageBox host : Ping host, server_alive : MessageBox server_alive When I run it in debug mode, when it tries to execute the line with Ping on it it crashes with Dr Watson again. We are using version 3.3.5
|
|
Mon Nov 18, 2002 11:14 am |
|
 |
Dominic Klein
Joined: 23 Nov 2001 Posts: 132
|
|
Re: Ping causes Dr Watson |
|
: When I run it in debug mode, when it tries to execute the line with Ping on : it it crashes with Dr Watson again. : We are using version 3.3.5 I have upgraded to 3.3.8 and it still crashes
|
|
Mon Nov 18, 2002 11:30 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7963
|
|
Re: Ping causes Dr Watson |
|
I uploaded a slightly different version of the ping DLL. Please let me know if that works for you. Here is the download link http://www.softtreetech.com/24x7/extras/24X7PING.DLL Please save this file in your 24x7 installation directory. : Please let me know the result of the following script. : Please also let me know which 24x7 version you run. : Dim host, string, "192.168.6.3" : Dim server_alive, boolean : MessageBox host : Ping host, server_alive : MessageBox server_alive
|
|
Mon Nov 18, 2002 11:35 am |
|
 |
Dominic Klein
Joined: 23 Nov 2001 Posts: 132
|
|
Re: Ping causes Dr Watson |
|
hello ? anyone there ?
I have added the DNS entries in the server's HOSTS file and that seems to work if I use the NAME (not the IP address)- but it does NOT work if I use the IP address and the Ping command - this must be a bug.
|
|
Tue Nov 19, 2002 9:15 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7963
|
|
Re: Ping causes Dr Watson |
|
Have you seen my previous message http://www.softtreetech.com/cgi_bin/config.cgi?review=3255 ? : hello ? anyone there ? : I have added the DNS entries in the server's HOSTS file and that seems to : work if I use the NAME (not the IP address)- but it does NOT work if I use : the IP address and the Ping command - this must be a bug.
|
|
Tue Nov 19, 2002 9:44 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7963
|
|
|
Tue Nov 19, 2002 9:45 am |
|
 |
Dominic Klein
Joined: 23 Nov 2001 Posts: 132
|
|
Re: Ping causes Dr Watson |
|
: Oops.. the link is http://www.softtreetech.com/cgi_bin/config.cgi?read=3248 sorry - I missed it. Yes, after uploading that version it works fine. It works by typing in the IP address in quotes directly and also in your example by assigning it to a the variable HOST. Thanks for your help. Maybe this DLL should be included in the next upgrade.
|
|
Wed Nov 20, 2002 5:19 am |
|
 |
|