Subject RE: [firebird-tools] Failure to restart service
Author RB Smissaert
Got this fixed on one machine, but still trouble on another machine. This is
again a XP laptop with a stand-alone (no client server setup) database.

The problem here is that the installer process is stopped too quickly after
the Guardian and service are disabled, so I don't get the time to correct it
manually.



This is the part of the install log that shows where it is going wrong and
maybe somebody has an idea how this

can be solved.



07:50:38: ....Backup of s6.gdb through gbak.exe is Started....

08:34:00: C:\Torex\Synergy\medilog\s6_bkp_4_10_2008_07_50_38.log file
Reading Start

08:34:00: C:\Torex\Synergy\medilog\s6_bkp_4_10_2008_07_50_38.log file
Reading End

08:34:10: C:\Torex\Synergy\medilog\ISC4_bkp_4_10_2008_08_34_00.log file
Reading Start

08:34:10: C:\Torex\Synergy\medilog\ISC4_bkp_4_10_2008_08_34_00.log file
Reading End

08:34:10: ....Backup of s6.gdb through gbak.exe is finished....

08:34:10: ....Checking of any processess using interbase completed....

08:34:10: ...Trying to stop Interbase Service ....

08:34:21: .............Check the status of the service InterBaseServer for
STOPPED condition.............

08:34:21: C:\Torex\Synergy\medilog\Service.log file Reading Start

08:34:21: SERVICE_NAME: InterBaseServer

08:34:21: TYPE : 110 WIN32_OWN_PROCESS (interactive)

08:34:21: STATE : 1 STOPPED

08:34:21:
(NOT_STOPPABLE,NOT_PAUSABLE,IGNORES_SHUTDOWN)

08:34:21: WIN32_EXIT_CODE : 0 (0x0)

08:34:21: SERVICE_EXIT_CODE : 0 (0x0)

08:34:21: CHECKPOINT : 0x0

08:34:21: WAIT_HINT : 0x0

08:34:21: C:\Torex\Synergy\medilog\Service.log file Reading End

08:34:21: InterBaseServer service is stopped successfully.

08:34:21: .............Check the status of the service InterBaseGuardian for
STOPPED condition.............

08:34:22: C:\Torex\Synergy\medilog\Service.log file Reading Start

08:34:22: SERVICE_NAME: InterBaseGuardian

08:34:22: TYPE : 110 WIN32_OWN_PROCESS (interactive)

08:34:22: STATE : 1 STOPPED

08:34:22:
(NOT_STOPPABLE,NOT_PAUSABLE,IGNORES_SHUTDOWN)

08:34:22: WIN32_EXIT_CODE : 0 (0x0)

08:34:22: SERVICE_EXIT_CODE : 0 (0x0)

08:34:22: CHECKPOINT : 0x0

08:34:22: WAIT_HINT : 0x0

08:34:22: C:\Torex\Synergy\medilog\Service.log file Reading End

08:34:22: InterBaseGuardian service is stopped successfully.

08:34:22: ...Interbase Service stopped successfully ....

08:34:23: gds32.dll is copied to C:\Program Files\InterBase
Corp\InterBase\Bin

08:34:23: ....Deleted gds32.dll from C:\WINDOWS\system32\ folder....

08:34:23: ....Installation of FireBird_v1.5 Started....

08:34:32: ....Installation of FireBird_v1.5 Completed....

08:34:32: FreeUDFLib.dll is copied to C:\Program
Files\Firebird\Firebird_1_5\UDF\FreeUDFLib.dll

08:34:33: miquestudf.dll is copied to C:\Program
Files\Firebird\Firebird_1_5\UDF\miquestudf.dll

08:34:33: fbclient.dll is copied to C:\WINDOWS\system32\fbclient.dll

08:34:48: .............Check the status of the service
FireBirdServerDefaultInstance for RUNNING condition.............

08:34:48: C:\Torex\Synergy\medilog\Service.log file Reading Start

08:34:48: SERVICE_NAME: FireBirdServerDefaultInstance

08:34:48: TYPE : 110 WIN32_OWN_PROCESS (interactive)

08:34:48: STATE : 4 RUNNING

08:34:48:
(STOPPABLE,NOT_PAUSABLE,IGNORES_SHUTDOWN)

08:34:48: WIN32_EXIT_CODE : 0 (0x0)

08:34:48: SERVICE_EXIT_CODE : 0 (0x0)

08:34:48: CHECKPOINT : 0x0

08:34:48: WAIT_HINT : 0x0

08:34:48: C:\Torex\Synergy\medilog\Service.log file Reading End

08:34:48: FireBirdServerDefaultInstance service is started sucessfully.

08:34:48: ....Restoration of s6.fdb through gbak.exe is Started....

08:34:52: C:\Torex\Synergy\medilog\s6_restore_4_10_2008_08_34_48.log file
Reading Start

08:34:52: C:\Torex\Synergy\medilog\s6_restore_4_10_2008_08_34_48.log file
Reading End

08:34:52: ....Restoration of S6.FDB through gbak.exe is failed....

08:35:22: ....Rollback process of FireBird to Interbase Started....





Any ideas appreciated.





RBS

_____

From: firebird-tools@yahoogroups.com [mailto:firebird-tools@yahoogroups.com]
On Behalf Of RB Smissaert
Sent: 03 October 2008 22:59
To: firebird-tools@yahoogroups.com
Subject: RE: [firebird-tools] Failure to restart service



OK, I think this is fixed now. The installer disabled the Guardian and the
service and from that state they couldn't be started.

The solution was simply to alter the disabled state manually to automatic
for the Guardian and manual for the service and it

has now gone through the script fine.

RBS

_____

From: firebird-tools@ <mailto:firebird-tools%40yahoogroups.com>
yahoogroups.com [mailto:firebird-tools@
<mailto:firebird-tools%40yahoogroups.com> yahoogroups.com]
On Behalf Of RB Smissaert
Sent: 03 October 2008 19:21
To: firebird-tools@ <mailto:firebird-tools%40yahoogroups.com>
yahoogroups.com
Subject: [firebird-tools] Failure to restart service

Not sure this is the right forum, but have a problem with an install program
that installs Firebird 1.5 and converts an Interbase 5.6 database.

This is a local install, so a non-server PC and Interbase is running fine on
that. It is a plain Win XP machine.

The problem appears when it has to re-start the Interbase service:

This from the log file:

14:36:53: C:\Torex\Synergy\medilog\Service.log file Reading End

14:36:53: InterBaseGuardian service is stopped successfully.

14:36:53: ...Interbase Service stopped successfully ....

14:36:53: ....Backup of s6*.gdb is Started....

14:49:04: ....Backup of s6.gdb is finished....

14:49:04: ....Backup of isc4.gdb is Started....

14:49:04: ....Backup of isc4.gdb is finished....

14:49:20: .............Check the status of the service InterBaseGuardian for
RUNNING condition.............

14:49:20: C:\Torex\Synergy\medilog\Service.log file Reading Start

14:49:20: SERVICE_NAME: InterBaseGuardian

14:49:20: TYPE : 110 WIN32_OWN_PROCESS (interactive)

14:49:20: STATE : 1 STOPPED

14:49:20:
(NOT_STOPPABLE,NOT_PAUSABLE,IGNORES_SHUTDOWN)

14:49:20: WIN32_EXIT_CODE : 1077 (0x435)

14:49:20: SERVICE_EXIT_CODE : 0 (0x0)

14:49:20: CHECKPOINT : 0x0

14:49:20: WAIT_HINT : 0x0

14:49:20: C:\Torex\Synergy\medilog\Service.log file Reading End

14:49:20: Fail to start the InterBaseGuardian service

14:49:35: .............Check the status of the service InterBaseGuardian for
RUNNING condition.............

Now when I go into the services panel and try to do a manual restart of the
Interbase Guardian it fails with:

Services

The Interbase Guardian service on local computer started and then stopped.

Not sure if this is caused by the same problem that trips up the installer,
but it seems it is.

Any idea what the problem could be here?

RBS

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]





[Non-text portions of this message have been removed]