Subject RE: [firebird-support] Server crashes when restoring databases
Author Alan McDonald
> Hi,
>
> I have got a problem with a server which crashes when restoring
> certain databases. I am really wondering why this happens, because the
> backups are OK. Other servers can restore them without problems.
>
> But when I do
> gbak -r c:\sicherung.fbk localhost:c:\omegadev.fdb -user X -password X -v
> the server crashes after having restored the indices (which is quite
> at the end of the restore).
>
> I am using Firebird 1.5.0.4306-Win32, the server OS is Windows 2003
> Server.
>
> You can find the output of gbak and an excerpt of the server log
> below.
>
> Thanks in advance for your help!
>
>
> Christian

10054 errors always make me question the NIC on teh PC in question. I would
rule that out first. But you are restoring to localhost.
Do you really want to use the -r switch? replacing? - use the -c switch by
default.
Are people trying to connect during this restore? if you are replacing, then
it's possible.

Alan

>
>
> -----
> gbak: restoring index FK_PA_POS_TMP_PA_ID
> gbak: restoring index FK_PA_POS_TMP_PROVTYP_ID
> gbak: restoring index FK_PA_POS_TMP_VERTRAGS_ID
> gbak: ERROR: Unable to complete network request to host "localhost".
> gbak: ERROR: Error reading data from the connection.
> gbak: ERROR: Eine vorhandene Verbindung wurde vom Remotehost
> geschlossen.
> (The last line can be translated as "connection was closed by remote
> host".)
> -----
> VSPLUX01 (Client) Thu Apr 28 10:27:35 2005
> C:\Programme\Firebird\bin\fbserver.exe: terminated
> abnormally (4294967295)
>
>
> VSPLUX01 (Client) Thu Apr 28 10:27:36 2005
> INET/inet_error: read errno = 10054
>
> VSPLUX01 (Client) Thu Apr 28 10:27:36 2005
> INET/inet_error: send errno = 10054
>
> VSPLUX01 (Client) Thu Apr 28 10:27:36 2005
> INET/inet_error: send errno = 10054
>
> VSPLUX01 (Client) Thu Apr 28 10:27:36 2005
> INET/inet_error: send errno = 10054
>
> VSPLUX01 (Client) Thu Apr 28 10:27:36 2005
> REMOTE INTERFACE/gds__detach: Unsuccesful detach from database.
> Uncommitted work may have been lost
>
> VSPLUX01 (Client) Thu Apr 28 10:27:36 2005
> INET/inet_error: send errno = 10054
>
> VSPLUX01 (Client) Thu Apr 28 10:27:36 2005
> Guardian starting: C:\Programme\Firebird\bin\fbserver.exe
>