Subject Re: [firebird-support] Firebird service is shutting down itself with magic numbers: 4294967295 and 1061
Author Helen Borrie
At 08:50 PM 13/04/2006, you wrote:
>Hello,
>
>Server: FB1.53 SuperServer on Win2003 Server, default firebird.conf,
>no UDF in use.
>Client: ~20 simultaneous Windows clients written in C++ using native
>FB API, single-thread.
>
>1-2 times a week, firebird server is shutting down in the middle of
>a day for unclear reason
>with messages like "terminated abnormally (4294967295)" or "Control
>services error 1061."
>Please who knows what do these magic numbers mean: 4294967295 and
>1061

They aren't Firebird error codes but they do have some internal
meaning to Windows. 4294967295 is the maximum number for an unsigned
integer in C. I seem to recall someone once suggesting that it
tended to show up as the result of runaway recursions.

Just a thought though - how large is your firebird.log? Is the log
sitting on a FAT32 partition? Or, worse, is the database on a FAT32 partition?

Control services error 1061 occurs when the service is sent a message
and is not in a state to receive messages.


>Actions already taken:
>- Windows Server 2003 and Firebird 1.53 was reinstalled from scratch;
>- network card was replaced;
>
>Firebird.log fragments follows:
>
>Case 1: -------------------------------------------------------------
>
>SERVER (Client) Wed Mar 22 16:23:22 2006
> C:\Program Files\Firebird\Firebird_1_5\bin\fbserver.exe:
>terminated abnormally (4294967295)
>
>Case 2: -------------------------------------------------------------
>
>SERVER (Server) Mon Mar 27 14:02:55 2006
> Shutting down the Firebird service with 18 active connection
>(s) to 2 database(s)
>
>SERVER (Client) Mon Mar 27 14:02:55 2006
> C:\Program Files\Firebird\Firebird_1_5\bin\fbserver.exe:
>normal shutdown
>
>SERVER (Client) Mon Mar 27 14:02:55 2006
> Control services error 1061
>
>Case 3: -------------------------------------------------------------
>
>SERVER (Client) Mon Apr 03 11:39:54 2006
> Control services error 1061
>
>SERVER (Server) Mon Apr 03 11:39:54 2006
> Shutting down the Firebird service with 20 active connection
>(s) to 2 database(s)
>
>Case 4: -------------------------------------------------------------
>
>SERVER (Server) Tue Apr 11 16:47:56 2006
> Shutting down the Firebird service with 22 active connection
>(s) to 1 database(s)
>
>SERVER (Client) Tue Apr 11 16:47:56 2006
> C:\Program Files\Firebird\Firebird_1_5\bin\fbserver.exe:
>normal shutdown
>
>SERVER (Client) Tue Apr 11 16:47:56 2006
> Control services error 1061
>
>------- ---------------------------------------------------------

Hmm, a human could be doing this. Have you someone there with
Administrator privileges, who is running experimental queries at
lunch-time, and tries to cure his problems by shutting down the server?

Or is someone, or a batch job, running a filesystem backup while
users have gone to lunch, leaving themselves logged in?

./heLen