Shutdown database through Servicemgr

33 views
Skip to first unread message

Tomasz Dubiel

unread,
Oct 28, 2025, 8:46:39 AM (9 days ago) Oct 28
to firebird-support
Hello.
How should I shutdown database? Firebird 3.0.

If I run isc_service_start with: 

isc_action_svc_properties  (8)  + isc_spb_dbname (106)  + dbname length in 2 bytes format+ dbname + isc_spb_prp_shutdown_db (7) + 0 [4 bytes] 

then db goes to multi-user shutdown

If I run isc_service_start with: 

isc_action_svc_properties  (8)  + isc_spb_dbname (106)  +  bname length in 2 bytes format   + dbname + isc_spb_prp_shutdown_mode (44) + isc_spb_prp_sm_single (2)[4 bytes] + isc_spb_prp_force_shutdown (41) + 0 [4 bytes]

then Firebird returns:

 Invalid clumplet buffer structure: unknown parameter for setting database properties (0)

Best regards,

Tomek.

Dimitry Sibiryakov

unread,
Oct 28, 2025, 9:01:23 AM (9 days ago) Oct 28
to firebird...@googlegroups.com
Tomasz Dubiel wrote 28.10.2025 13:46:
> isc_action_svc_properties  (8)  + isc_spb_dbname (106)  + bname length in 2
> bytes format   + dbname + isc_spb_prp_shutdown_mode (44) + isc_spb_prp_sm_single
> (2)[4 bytes] + isc_spb_prp_force_shutdown (41) + 0 [4 bytes]
>
> then Firebird returns:
>
> Invalid clumplet buffer structure: unknown parameter for setting database
> properties (0)
>

isc_spb_shutdown_mode has single byte parameter, not four bytes.

--
WBR, SD.

Tomasz Dubiel

unread,
Oct 29, 2025, 5:47:06 AM (9 days ago) Oct 29
to firebird-support
Thank you. It worked.
Best regards,

Reply all
Reply to author
Forward
0 new messages