Subject Re: Firebird is not working well under Mono, Apache and Linux
Author marcoaureliocastro
Hi Steve,

The hosts files is correct I guess. It is like this:

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 mcsoft3 localhost.localdomain localhost
192.168.0.1 mcsoft2

I tried 127.0.01 localhost. No difference.

The case sensitive is ok.

I'm really lost. Everything was tried.

Thanks for any other clue.

Marco Castro

--- In firebird-support@yahoogroups.com, Steve Wiser <steve@s...> wrote:
> I still would check out the /etc/hosts file and make sure it is correct,
> I have just seen it set up wrong too many times to count it out without
> checking it first. The error message seems to indicate that the server
> cannot connect to itself. Also, another thing to be aware of is the
> linux is case sensitive and your connection string must match exactly
> the name of the gdb file.
>
> -steve
>
> On Wed, 2005-06-15 at 12:34 +0000, marcoaureliocastro wrote:
>
> > Thanks for the answer,
> >
> > But Firebird is working. I belive so that my wrong configuration is
> > in the database connection: it is:
> >
> >
Server=localhost;database=/home/DataBase.gdb;User=sysdba;Password=masterkey;Dialect=3
> >
> > Can be my mistake here? It works in Windows platform.
> >
> > Thanks,
> >
> > Marco Castro
> >
> > --- In firebird-support@yahoogroups.com, Milan Babuskov <milanb@k...>
> > wrote:
> > > marcoaureliocastro wrote:
> > > > I have an aplication written in Delphi 2005 and Firebird
> > Provider
> > > > 1.7. I works ok in Windows but in Linux (acessing the same
> > database)
> > > > it does not work. The database as the directory is associated to
> > then
> > > > user firebird with chmod 777
> > >
> > > Not a very good idea. Better use 700.
> > >
> > > >. The messages are:
> > > >
> > > > FirebirdSql.Data.Firebird.FbException: Unable to complete network
> > > > request to host "localhost".
> > >
> > > It looks like Firebird server isn't running. Can you connect via
> > isql or some
> > > other tool like FlameRobin or IBAccess?
> > >
> > > isql localhost:/database_directory/database.fdb -user sysdba -pass
> > 123
> > >
> > > P.S. Apache hasn't got anything to do with this problem.
> > >
> > > --
> > > Milan Babuskov
> > > http://fbexport.sourceforge.net
> > > http://www.flamerobin.org
> >
> >
> >
> >
> > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> >
> > 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
> >
> >
> >
> >
> >
> >
> >
>
>
> [Non-text portions of this message have been removed]