Subject | RE: [firebird-support] Multiple server installs on linux: WORKS |
---|---|
Author | Carrell Alex |
Post date | 2008-12-18T08:53:23Z |
Hi Anderson,
Sorry, I knew I had forgotton something important.
Anderson, you have added what I eventually did, just read the your posts, pretty much the same steps I had, I knew I had not set the shell environment up. I have used a mixture of softlinks and shell environment, by the looks of it you have. I led you astray by not posting the actual xinetd scripts I used( on a VM image somewhere), I have just not had the need to go back to it yet.
I also moved the include files and headers out of the default places. I have now placed them in /opt/firebird{x}/usr/include ready to copy into the default locations if I ever need to compile on the server.
I really ought to have written this up. Thanks for doing so.
alex
Sorry, I knew I had forgotton something important.
Anderson, you have added what I eventually did, just read the your posts, pretty much the same steps I had, I knew I had not set the shell environment up. I have used a mixture of softlinks and shell environment, by the looks of it you have. I led you astray by not posting the actual xinetd scripts I used( on a VM image somewhere), I have just not had the need to go back to it yet.
I also moved the include files and headers out of the default places. I have now placed them in /opt/firebird{x}/usr/include ready to copy into the default locations if I ever need to compile on the server.
I really ought to have written this up. Thanks for doing so.
alex
> -----Original Message-----
> From: firebird-support@yahoogroups.com
> [mailto:firebird-support@yahoogroups.com] On Behalf Of Anderson Farias
> Sent: 16 December 2008 03:25
> To: firebird-support@yahoogroups.com
> Subject: Re: [firebird-support] Multiple server installs on
> linux: WORKS
>
> Hi Mark,
>
>
> > for your second /etc/xinetd.d/oldfirebird script:
> >
> > service gds_db2
> > {
> > ...
> > server = /opt/fb15/bin/run_server.sh
> > ...
> > }
> >
> >
> > Then create the /opt/fb15/bin/run_server.sh script as:
> >
> > #!/bin/bash
> > export FIREBIRD=/opt/fb15
> > /opt/fb15/binfb_inet_server
> >
> >
> > $chmod ug+x run_server.sh
> >
> > run_server.sh is a now a shell script that sets the environment
> > variables then runs the server.
> >
>
> This did the trick!! I've got FB1.5 and 2.1 (both Classic)
> working on the
> RHEL5 box. Many thanks Mark for your help and ideas. Also
> many thanks to Alex and Dimitry for helping on this issue,
> *very* apreciated!!
>
>
> > BTW: It still doesnt work for me, but I suspect given what
> you have it
> > will work for you. Here is my problem: (and was going to
> be my next
> > suggestion for you to try) :
>
> I had no time to test, but I will and get to you back.
>
>
> > somehow seems to muck up the database names appending a '_m' to the
> > databse name for the database and the security database.
>
> *weird*
>
>
> > But it's ok, I am focused on fb2.5 ish anyway :-)
> >
>
> Can't to wait to go with it too!!
>
>
> Regards,
> Anderson Farias
>
>
>
> ------------------------------------
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Visit http://www.firebirdsql.org 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
>
>
>
>