On Sat, 24 Sep 2005, wrote:
> Hi guys!
>
> I have the Firebird DBMS installed in the directory: /opt/firebird and the
> traditional DB employee.fdb in /opt/firebird/examples.
>
> Under Lazarus 0.9.8 in Linux Mandrake 10.1 I open a new project and include a
> a TIBConnection and fill the properties with:
>
> DataBaseName: /opt/firebird/examples/employee.fdb
> Password:L7NRpE0C
> UserName: sysdba
>
> (I pick up the user name and the password in the SYSDBA.password module in
> the directory /opt/firebird)
>
> When I change the Connected property of the TIBConnection to True I receive
> an error message with the following:
>
> IBConnection1 : DoIntermalConnect
> -Unable to complete network request to host "localhost".
> -Failed to establish a connection
> -Connection refused
This means your firebird server is not started. You can test this by opening a
console window
and typing
ps aux | grep fbserver
If the output is empty, then firebird is not running. You should start firebird:
As root, do a
rcfirebird start
If that doesn't start it, try the following commands:
cd /etc/init.d/
./firebird start
To make sure that Firebird starts when you boot your computer, do (again as
root)
insserv /etc/init.d/firebird
That should make sure it is started always when you boot your computer
Michael.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives