New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/etc/init.d/firebird script stops firebird with fbmgr and password [CORE3077] #3456
Comments
Commented by: Gili Buzaglo (gland) The attached file replaces the /etc/init.d/firebird in my system |
Modified by: Gili Buzaglo (gland)Attachment: firebird [ 11685 ] |
Commented by: @AlexPeshkoff If you do not need multiple instances - our method is OK. Moreover - you need not kill guardian explicitly. Firebird 2.1 is processing signal 15 (I suppose it's send by pkill by default ?) and exits nornally, after which guardian also exits. Please check this to make sure signal is processed correctly. If not - you are in danger of corrupting databases when server is killed by unprocessed signal. |
Modified by: @AlexPeshkoffassignee: Alexander Peshkov [ alexpeshkoff ] |
Commented by: Gili Buzaglo (gland) Hi |
Commented by: @AlexPeshkoff I know very well what's a problem with current method:-) |
Commented by: Gili Buzaglo (gland) For now, it works for me as is ... |
Commented by: @AlexPeshkoff If you perform normal shutdown of fbserver (it must be so), fbguard will not reinit it. I ask you about this experiment mainly to make sure that fbserver shutdown is grace on Solaris. |
Modified by: Gili Buzaglo (gland)Attachment: firebird [ 11689 ] |
Commented by: Gili Buzaglo (gland) I've tested the attached file(pkill fbserver only) and it works fine. |
Commented by: @AlexPeshkoff Gili, reviewing your startup script I've noticed some more problems (compared with 2.1 head, may be for 2.1.1 this changes were not present). 1) Somewhy you export PATH to firebird binaries. This is not needed for firebird to run. I've added a kind of 'ideal' 2.1 startup script. Can you test it in your environment? (I know that if you were always runnign as root it may be problematic to run as non-root, therefore in the worst case change FbRunUser to be root in the script for your tests) |
Modified by: @AlexPeshkoffAttachment: FirebirdStartupScriptForSolaris.v2 [ 11700 ] |
Commented by: Gili Buzaglo (gland) Hi Alexander |
Commented by: @AlexPeshkoff No problems - certainkly you've needed timeto check for. |
Submitted by: Gili Buzaglo (gland)
Attachments:
firebird
firebird
FirebirdStartupScriptForSolaris.v2
Scenario is as follows:
1) change password for sysdba using gsec
2) perform /etc/init.d/firebird stop
It does not stop the firebird correctly since it uses hard coded(in script) masterkey password.
The text was updated successfully, but these errors were encountered: