Subject | Firebird n00b - Unable to complete network request to host "localhost" |
---|---|
Author | triversmoke |
Post date | 2004-11-17T00:17:46Z |
First off: Excellent forum, I wouldn't have gotten half as far as I
have without this forum. I haven't gotten very far, but it really is
a good forum. ;) Kudos to the experts that moderate it.
I'm convinced that I'm missing something very basic.
The Problem:
I'm attempting to use gsec to change the sysdba password. I'm
following the Quick Start Guide.
I execute:
<CMD PROMPT>
Unable to complete network request to host "localhost".
Failed to establish a connection.
No connection could be made because the target machine actively
refused it.
unable to open database
</CMD PROMPT>
It should be noted that I've attempted the same above command but
specified the -database incorrectly (I accidently used the C drive
instead of D) and I still receive the same output response. (Seems
to drive home the point that it cannot connect to the server).
Without including the -database option I receive the
beautiful "unavailable database" message. (This seems counter-
intuitive to my above statement).
Background:
1) I'm in Windows XP (SP2). (Firewall is off)
2) I'm attempting to run locally (single computer).
3) I've installed the Classic Firebird from the file
"Firebird-1.5.1.4481-Win32.exe"
4) The server is running, verified in Task Mangler
as "fb_inet_server.exe". Also verified in the system services.
5) I might have fubbed up by uninstalling Firebird and reinstalling
it (into the same directory). I'm fairly certain that I installed
Classic both times as I was being careful with that option.
5) I've rebooted the PC since the last install, (old habits never
die).
I've also attempted to connect to the Employee Db with isql with
similar luck:
<CMD PROMPT>
SQL> CONNECT "localhost:D:\Program Files\Firebird\Firebird_1_5
\examples\employee.fdb" user 'SYSDBA' password 'masterkey';
Statement failed, SQLCODE = -902
Unable to complete network request to host "localhost".
-Failed to establish a connection.
-No connection could be made because the target machine actively
refused it.
</CMD PROMPT>
Any help would be appreciated, I'm running out of ideas so I'm ready
to try almost anything.
have without this forum. I haven't gotten very far, but it really is
a good forum. ;) Kudos to the experts that moderate it.
I'm convinced that I'm missing something very basic.
The Problem:
I'm attempting to use gsec to change the sysdba password. I'm
following the Quick Start Guide.
I execute:
<CMD PROMPT>
> gsec -database "localhost:D:\program files\firebird\firebird_1_5\security.fdb" -user sysdba -password masterkey
Unable to complete network request to host "localhost".
Failed to establish a connection.
No connection could be made because the target machine actively
refused it.
unable to open database
</CMD PROMPT>
It should be noted that I've attempted the same above command but
specified the -database incorrectly (I accidently used the C drive
instead of D) and I still receive the same output response. (Seems
to drive home the point that it cannot connect to the server).
Without including the -database option I receive the
beautiful "unavailable database" message. (This seems counter-
intuitive to my above statement).
Background:
1) I'm in Windows XP (SP2). (Firewall is off)
2) I'm attempting to run locally (single computer).
3) I've installed the Classic Firebird from the file
"Firebird-1.5.1.4481-Win32.exe"
4) The server is running, verified in Task Mangler
as "fb_inet_server.exe". Also verified in the system services.
5) I might have fubbed up by uninstalling Firebird and reinstalling
it (into the same directory). I'm fairly certain that I installed
Classic both times as I was being careful with that option.
5) I've rebooted the PC since the last install, (old habits never
die).
I've also attempted to connect to the Employee Db with isql with
similar luck:
<CMD PROMPT>
> isqlUse CONNECT or CREATE DATABASE to specify a database
SQL> CONNECT "localhost:D:\Program Files\Firebird\Firebird_1_5
\examples\employee.fdb" user 'SYSDBA' password 'masterkey';
Statement failed, SQLCODE = -902
Unable to complete network request to host "localhost".
-Failed to establish a connection.
-No connection could be made because the target machine actively
refused it.
</CMD PROMPT>
Any help would be appreciated, I'm running out of ideas so I'm ready
to try almost anything.