Subject | Re: [firebird-support] server version? |
---|---|
Author | Rony Cesana |
Post date | 2006-01-30T15:48:45Z |
Thanks Si,
Your tool really looks cool, but I'm afraid I need documentation on how to
WRITE something similar rather than to RUN it... :((
The thing is I'm writing a library to tell me whether the server is running
and whether what version of FB is actually listening on the given port...
I could not find such info anywhere.
For Interbase, for instance, I used to have a look at a certain key on the
registry, but apparently in HKLM\Software\Firebird Probject\Firebird
Server\Instances\DefaultInstance I can only find the RootDirectory of the
installation... where can I find its version? (other than guessing that
C:\Programmi\Firebird\Firebird_1_5\ has to do with the 1.5.* family?)
The only thing I found is the RemoteServicePort in firebird.conf (which was
commented, but I guess that means it should be the default one).
From my point of view, though, this might not be enough... isn't this like
saying "try and run on that port", but what if that port is busy when the
server starts?
It's not like MySQL that, I seem to remember, writes its port or its local
socket on a file...
I think I'm getting something wrong here, but I'm not sure what it is...
:(((
Cheers,
Rony
Your tool really looks cool, but I'm afraid I need documentation on how to
WRITE something similar rather than to RUN it... :((
The thing is I'm writing a library to tell me whether the server is running
and whether what version of FB is actually listening on the given port...
I could not find such info anywhere.
For Interbase, for instance, I used to have a look at a certain key on the
registry, but apparently in HKLM\Software\Firebird Probject\Firebird
Server\Instances\DefaultInstance I can only find the RootDirectory of the
installation... where can I find its version? (other than guessing that
C:\Programmi\Firebird\Firebird_1_5\ has to do with the 1.5.* family?)
The only thing I found is the RemoteServicePort in firebird.conf (which was
commented, but I guess that means it should be the default one).
From my point of view, though, this might not be enough... isn't this like
saying "try and run on that port", but what if that port is busy when the
server starts?
It's not like MySQL that, I seem to remember, writes its port or its local
socket on a file...
I think I'm getting something wrong here, but I'm not sure what it is...
:(((
Cheers,
Rony
----- Original Message -----
From: "Si Carter" <simon.carter@...>
To: <firebird-support@yahoogroups.com>
Sent: Monday, January 30, 2006 4:29 PM
Subject: RE: [firebird-support] server version?
> Hi Rony,
>
>> -----Original Message-----
>> I think I read somewhere that it is (/will be) possible to
>> run different versions of Firebird Servers.
>> I guess if two servers are running, at least one will not
>> listen on the default port.
>> How can I know which version of the server is running on a
>> certain port?
>> Is there any verb of the protocol that returns the version of
>> the server?
>>
>> Or is it easier to check in the registry all the Instances
>> under HKEY_LOCAL_MACHINE\SOFTWARE\Firebird Project\Firebird
>> Server\Instances and then try to find out somewhere in the
>> rootdirectory...?
>>
>> I assume my question is pretty dumb, but I can't find any
>> easy answer...
>
> I recently had the same problem, my solution was to create a little noddy
> app to manage the different instances, you can download a free copy from
> here (http://www.fbtalk.net/viewtopic.php?id=251)
>
> Hih
>
> Si Carter
> http://www.fbtalk.net/ - Web Based Firebird Forum
> http://sourceforge.net/projects/fbutils - FBUtils
> http://www.tectsoft.net/ - Homepage
>
>
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Visit http://firebird.sourceforge.net and click the Resources item
> on the main (top) menu. Try Knowledgebase and FAQ links !
>
> Also search the knowledgebases at http://www.ibphoenix.com
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Yahoo! Groups Links
>
>
>
>
>
>
>