Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General » View Thread |
Messages 1 to 5 of 5 total |
Check if EDBSrv is running |
Fri, Jul 8 2011 9:34 AM | Permanent Link |
gripsware gripsware datentechnik gmbh | Hi elevate-professionals,
is it possible to check if the edbsrv is running in network within a installation routine? Now in version 2.05 b10 is a elementary fix that I need in my application. I have to install a new version of the EDBServer on the customers machines. Not all my customers (more than 500) use the edbserver. I use InnoSetup for my setup routines, is there a possibility to find out if edbserver is running (e.g. sending a ping to the port etc.) and send a close command to that process? It´s quite difficult for me to explain, I hope you will understand what I mean. Michael |
Fri, Jul 8 2011 10:03 AM | Permanent Link |
Adam Brett Orixa Systems | The way that seems easiest (to me) to do this is just to try to connect to the server (!) ... if you get back a positive response then edbsrvr is running.
i.e in a Delphi app run a bit of code like: try MyEDBSession.connected:= true; except //if this except gets called then there is no EDBSrvr! end; it would be a very short job to write a little EXE to do this ... though it would be a bit heavy handed. Within in Inno Setup you might be able to pick this up in one of the scripts you can build to run exe's etc., I haven't used Inno to that level ... in your position I might do that whole part of the install under the control of the EXE which had detected the EDBSrvr in the first place. |
Mon, Jul 11 2011 7:07 AM | Permanent Link |
gripsware gripsware datentechnik gmbh | Adam,
Thank you for your tipp. I think you are right, this will be the easiest way to find out that a server is running. If someone have another idea how I can do that, I´m happy to hear your ideas. Michael Adam Brett wrote: The way that seems easiest (to me) to do this is just to try to connect to the server (!) ... if you get back a positive response then edbsrvr is running. i.e in a Delphi app run a bit of code like: try MyEDBSession.connected:= true; except //if this except gets called then there is no EDBSrvr! end; it would be a very short job to write a little EXE to do this ... though it would be a bit heavy handed. Within in Inno Setup you might be able to pick this up in one of the scripts you can build to run exe's etc., I haven't used Inno to that level ... in your position I might do that whole part of the install under the control of the EXE which had detected the EDBSrvr in the first place. |
Mon, Jul 11 2011 2:33 PM | Permanent Link |
Uli Becker | Michael,
just out of interest: what will you do after having terminated the EDB-server? How do you find out where in the network the server is running (maybe as a service) in order to reinstall it? That seems to be a common problem - I always did it manually by remote support. Regards Uli |
Fri, Jul 15 2011 1:19 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Michael,
<< I use InnoSetup for my setup routines, is there a possibility to find out if edbserver is running (e.g. sending a ping to the port etc.) and send a close command to that process? >> Not currently, no. However, once the web interface to the EDB Server is complete, you'll be able to interactively control the EDB Server process itself, and from there I can see about providing a URL version of such a request. However, all of this will require that you call an .exe from your Inno Setup script, and that .exe will do all of this work with the server. -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Sunday, May 5, 2024 at 07:30 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |