Subject | Re: Multiple classic servers on a single machine Linux |
---|---|
Author | frank.kronbalt |
Post date | 2010-03-22T12:09:54Z |
Hi,
that's exactly what I did, I have in my first firebird-1 configuration RemoteServicePort = 3050 and on firebird-1 conf RemoteServicePort = 3060
The connections are working now, but the firebird-2 loads the aliases.conf from firebird-1. HMMM frustrating
My xinetd service configuration for firebird-2 looks like this now
service firebird2
{
flags = REUSE
socket_type = stream
wait = no
user = firebird
server = /opt/firebird2/bin/fb_inet_server2
#server_args = -d -e /opt/firebird2/
port = 3060
disable = no
}
Thx for any answers :)
Does it have to do something with the lockmanager? If connect on it via 3060 port it launches the lock manager from firebird-1 directory.
that's exactly what I did, I have in my first firebird-1 configuration RemoteServicePort = 3050 and on firebird-1 conf RemoteServicePort = 3060
The connections are working now, but the firebird-2 loads the aliases.conf from firebird-1. HMMM frustrating
My xinetd service configuration for firebird-2 looks like this now
service firebird2
{
flags = REUSE
socket_type = stream
wait = no
user = firebird
server = /opt/firebird2/bin/fb_inet_server2
#server_args = -d -e /opt/firebird2/
port = 3060
disable = no
}
Thx for any answers :)
Does it have to do something with the lockmanager? If connect on it via 3060 port it launches the lock manager from firebird-1 directory.
--- In firebird-support@yahoogroups.com, Milan TomeĀ - Position <tomes@...> wrote:
>
> Hi,
>
> did you made necessary changes in firebird.conf file? You have to change
> RemoteServicePort to appropriate port (3060 in your case for firebird-2
> service).
>
> M. Tomes
>
> Dne 19.03.2010 15:49, frank.kronbalt napsal(a):
> >
> > Hi, I am trying to install multiple servers which listen to different
> > ports on a single machine. Like so ....
> >
> > Install directories,
> >
> > /opt/firebird-1 with executable fb_inet_server-1
> > /opt/firebird-2 with executable fb_inet_server-2
> > ....
> >
> > I am using xinetd to listen for incoming connection and I've added to
> > /etc/services the following
> >
> > firebird-1 3050/tcp # Firebird 1
> > firebird-1 3050/udp
> > firebird-2 3060/tcp # Firebird 2
> > firebird-2 3060/udp
> >
> > --> /etc/xinet.d/firebird-1
> > service firebird-1
> > {
> > flags = REUSE
> > socket_type = stream
> > wait = no
> > user = firebird
> > server = /opt/firebird/bin/fb_inet_server-1
> > disable = no
> > }
> >
> > --> /etc/xinet.d/firebird-2
> > service firebird-2
> > {
> > flags = REUSE
> > socket_type = stream
> > wait = no
> > user = firebird
> > server = /opt/firebird2/bin/fb_inet_server-2
> > server_args = -d -e /opt/firebird2/
> > port = 3060
> > disable = no
> > }
> >
> > When I am trying to connect via telnet to localhost 3050 all seems
> > fine, but on 3060 I get the following error in firebird.log of firebird-2
> >
> > ubuntu Fri Mar 19 05:20:04 2010
> > INET/inet_error: bind errno = 98
> >
> > Anybody got an idea how to solve this problem? and to get the setup
> > working as I need it. Thx a lot :)
> >
> >
>
>
> [Non-text portions of this message have been removed]
>