Subject Re: Installing PHP-Firebird
Author vengfulsquirrel
--- In firebird-php@yahoogroups.com, Lester Caine <lester@l...> wrote:
> > What is the process that should be running for me to connect to?
> > I thought fb_lock_mgr was it, but that does not seem to work with that
> > running.
> > I was trying /opt/firebird/bin/isql
> > localhost:/opt/firebird/examples/employee.gdb
> > this does not work, and I added localhost and localhost.localdoman to
> > hosts.equiv. And the install did create the file
> > /etc/xinetd.d/firebird file for the service gds_db. I am kind of
> > clueless to how this all ties in some insight would be very helpful
> > thanks.
>
> I've some sick WIndows machine on the bench at the moment
> that their owners need back before the end of the month ( to
> complete accounts :) ) so I can't do anything at present.
>
> You did set the interbase.so 'share' to /opt/firebird when
> you compiled it? That should be all it needs to find the
> copy of Firebird that is running.
>
> Not having had a problem I am a bit at a loss, but I hope to
> have broadband by the end of today, and will be updating 8.2
> to 9.0 tonight with a little luck. So should be in the same
> position as you at the weekend.
>
> --
> Lester Caine
> -----------------------------
> L.S.Caine Electronic Services

Thanks Lester, Actually I got it to work kind of. Wow I am totally a
noob, sorry for printing all this confusion all over the list. It
turns out inet/xinet were not even installed, they just had a
/etc/xinetd.d directory to fool me. I installed it and sent it a
signal using kill as directed in the troubleshooting file. And if I
give the database full permission to everyone(chmod o+rw <database>)
while running the server as root then ibase_connect() works.This
apparently is due to the fact that the apache process does not have
read/write access to the database(running as wwwrun). But this is
totally a hack that I need to get around. I will just poke around
with it more till this weekend, but are you running firebird as root
or as firebird?
Thanks
-Ian