Home » RDBMS Server » Server Administration » Is Oracle server alive?
Is Oracle server alive? [message #62132] Tue, 29 June 2004 03:25 Go to next message
Sheila
Messages: 28
Registered: May 1998
Junior Member
I need to know through VC++ code, if oracle server is alive or connection of client to server is Okay?
Any suggession would be appreciated.

Regards
Re: Is Oracle server alive? [message #62139 is a reply to message #62132] Tue, 29 June 2004 05:58 Go to previous message
Frank Naude
Messages: 4580
Registered: April 1998
Senior Member
Hi,

I don't know VC++, so I cannot help with the syntax. Nevertheless, here is what you need to do:

Ping the server to see it is up. If so, try to connect to the DB on the server. If the connection is successful, it is up, else it is down.

Best regards.

Frank
Previous Topic: Automatic Startup of Oracle Service in Win XP
Next Topic: Error when create DB in Oracle 10g
Goto Forum:
  


Current Time: Fri Sep 20 14:36:59 CDT 2024