|
[
Permalink
| « Hide
]
Andrea Magni added a comment - 13/Mar/09 05:49 AM
Specified I am using SuperServer architecture
Magni, I can reproduce 'Invalid clumplet buffer structure', but can't reproduce AV due to it. But even in case of 'Invalid clumplet buffer structure' error this is not a too big problem - fbmgr can't shutdown server without sysdba password provided to it, explicitly or via environment. Have a look:
fbs bin # ./fbmgr.bin -start -forever server has been successfully started fbs bin # ./fbmgr.bin -shut Invalid clumplet buffer structure: buffer end before end of clumplet - no length component can not attach to server fbs bin # ./fbmgr.bin -shut -user sysdba -pas masterke server shutdown completed fbs bin # ./fbmgr.bin -start -forever server has been successfully started fbs bin # export ISC_USER=sysdba fbs bin # export ISC_PASSWORD=masterke fbs bin # ./fbmgr.bin -shut server shutdown completed fbs bin # And there is a much simpler way to stop superserver since version 2.0 - just kill it. You might kill older versions too, but this was not safe. Since 2.0 firebird processes signals 2 & 15 and shutdowns smartly. fbmgr is needed in versions 2.0 and 2.1 just to daemonize the process on startup. In 2.5 it's not needed any more (fbguard can be started directly and becomes daemon) and therefore deprecated. Utility will not be present since version 3.0. I'm going to close this ticket in a few days, cause see no big reasons fixing this utility. Thank you very much. I solved my problem by killing the fbserver where I was used to run fbmgr -shut. So far I have no other issues so it's ok for me to close the ticket.
Best regards, Andrea Utility fbmgr is deprecated since 2.5. Use of it to stop server is not recommended since 2.0, therefore no fix needed.
BTW, killing fbserver is more secure - you need not expose sysdba's password in scripts. |
|||||||||||||||||||||||||||||||||||||||||||||||||||