SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Ping causes Dr Watson

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Ping causes Dr Watson
Author Message
Dominic Klein



Joined: 23 Nov 2001
Posts: 132

Post Ping causes Dr Watson Reply with quote

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 View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7963

Post Re: Ping causes Dr Watson Reply with quote

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 View user's profile Send private message
Dominic Klein



Joined: 23 Nov 2001
Posts: 132

Post Re: Ping causes Dr Watson Reply with quote

: 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 View user's profile Send private message
Dominic Klein



Joined: 23 Nov 2001
Posts: 132

Post Re: Ping causes Dr Watson Reply with quote

: 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 View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7963

Post Re: Ping causes Dr Watson Reply with quote

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 View user's profile Send private message
Dominic Klein



Joined: 23 Nov 2001
Posts: 132

Post Re: Ping causes Dr Watson Reply with quote

: 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 View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7963

Post Re: Ping causes Dr Watson Reply with quote

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 View user's profile Send private message
Dominic Klein



Joined: 23 Nov 2001
Posts: 132

Post Re: Ping causes Dr Watson Reply with quote

: 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 View user's profile Send private message
Dominic Klein



Joined: 23 Nov 2001
Posts: 132

Post Re: Ping causes Dr Watson Reply with quote

: 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 View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7963

Post Re: Ping causes Dr Watson Reply with quote

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 View user's profile Send private message
Dominic Klein



Joined: 23 Nov 2001
Posts: 132

Post Re: Ping causes Dr Watson Reply with quote

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 View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7963

Post Re: Ping causes Dr Watson Reply with quote

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 View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7963

Post Re: Ping causes Dr Watson Reply with quote

Oops.. the link is http://www.softtreetech.com/cgi_bin/config.cgi?read=3248

: Have you seen my previous message
: http://www.softtreetech.com/cgi_bin/config.cgi?review=3255 ?

Tue Nov 19, 2002 9:45 am View user's profile Send private message
Dominic Klein



Joined: 23 Nov 2001
Posts: 132

Post Re: Ping causes Dr Watson Reply with quote

: 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 View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.