Subject | Re: [Firebird-Java] Re: Java <-> Firebird connection problems |
---|---|
Author | Mohd. Jeffry |
Post date | 2005-02-16T11:41:38Z |
batzee_33, How do you install your firebird? Is binary , do you
compile yourself or emerge? Maybe you need to do what "ebuild
firebird config" does. Basically these are what ebuild-firebird-config
executes:-
1. echo "gds_db 3050/tcp" >> /etc/services
2. echo "localhost" >> /etc/hosts.equiv
3. echo `hostname` >> /etc/hosts.equiv
4. chown firebird:firebird /etc/firebird/{isc4.*,security.*}
for more info see the /usr/portage/db-dev/firebird-<your version>.ebuild
compile yourself or emerge? Maybe you need to do what "ebuild
firebird config" does. Basically these are what ebuild-firebird-config
executes:-
1. echo "gds_db 3050/tcp" >> /etc/services
2. echo "localhost" >> /etc/hosts.equiv
3. echo `hostname` >> /etc/hosts.equiv
4. chown firebird:firebird /etc/firebird/{isc4.*,security.*}
for more info see the /usr/portage/db-dev/firebird-<your version>.ebuild
On Wed, 16 Feb 2005 13:32:25 +0800, Albert <looks@...> wrote:
>
> Roman Rokytskyy wrote:
>
> >>xinetd is running, and the port is open. telnet works, isql connection
> >>works, even login with IB Expert from remote works. It's not that
> >>simple :(
> >>
> >>I have no idea either :-//
> >>But if I got you right, there should be no performance loss when using
> >>type 2 locally. So I'm happy with it. It's just I still wonder why
> >>class 4 didn't work ?!?
> >
> >
> > One more idea - check your Java security policy if your JVM is allowed to
> > connect to port 3050. Also check if it can resolve localhost into 127.0.0.1
> > (or better replace the name of the host with IP address, also you can try
> > remote address).
> >
> > Roman
>
> I'm running firebird fine on gentoo. Here are some simple steps that I
> documented while getting firebird (super server) up and running. I'm
> also using firebird pure jdbc to access from the same pc and network.
>
> firebird sql server
>
> #emerge dev-db/firebird
>
> ..when done, there is a message asking you to do the following :
>
> #ebuild /var/db/pkg/dev-db/firebird-xxx/firebird-xxx.ebuild config
>
> To add /etc/init.d/firebird script to start at default run-level
> - the following syntax is obtained after reading man rc-update
> #rc-update add firebird default
>
> firebird tables, can be placed anywhere, but needs to be chown to user
> firebird:firebird
>
> !! Very important : configure /etc/firebird/firebird.conf
> firebird.conf :
> TempDirectories => need to point to a directory with firebird user r/w
> access.
>
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005
>
>
> Yahoo! Groups Links
>
>
>
>
>