I don't know why these things occur with me. I only power on the machine again and change the Connected property of TIBConnection to true and always is OK.
I do nothing... Only boot the machine, open the project and turn the property to true. Now, what was happen yesterday? I suspect that I'll never discover. Thanks for everybody... (Michael: Don't forget me in that other matter) [ ] Ricardo On Sun, 25 Sep 2005 15:00:54 +0200 (CEST), Michael Van Canneyt <[EMAIL PROTECTED]> escreveu: > De: Michael Van Canneyt <[EMAIL PROTECTED]> > Data: Sun, 25 Sep 2005 15:00:54 +0200 (CEST) > Para: [email protected] > Assunto: Re: [lazarus] A Firebird connection trouble > > > > 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 > > > _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
