Subject | Re: SuperServer on Gentoo doesn't start any more |
---|---|
Author | skoczian |
Post date | 2008-01-18T20:11:32Z |
--- In firebird-support@yahoogroups.com, "skoczian"
<nulla.epistola@...> wrote:
file consist of the following four lines:
ISC_USER=SYSDBA
ISC_PASSWORD=masterke
FIREBIRD=/usr/lib/firebird
FBRunUser=firebird
And this is the start script:
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
#
$Header: /var/cvsroot/gentoo-x86/dev-db/firebird/files/firebird.init.d.2,v
1.1 2007/09/21 02:15:04 wltjr Exp $
# NOTE: make sure you have localhost in your hosts.equiv file see
next 2
# lines for example of hosts.equiv contents
#localhost.localdomain
#localhost
export FIREBIRD
export ISC_USER
export ISC_PASSWORD
export FBRunUser
MANAGER=/usr/bin/fbmgr.bin
depend() {
need net
}
start(){
ebegin "Starting Firebird server"
su $FBRunUser -c "${MANAGER} -start -forever"
eend $?
}
stop(){
ebegin "Stopping Firebird server"
$MANAGER -shut
eend $?
}
/etc/init.d/firebird lines 1-33/33 (END)
This can't be good, can it? It's a fact that the start script works
if and only if the sysdba password starts with 'masterke'. What's
the right way to correct this? Deleting ISC_PASSWORD
in /etc/conf.d/firebird and "export ISC_PASSWORD" in the start
script?
Thank you,
Herta
<nulla.epistola@...> wrote:
>as
>
> My suspicion: could the start script still try to use 'masterkey'
> the SYSDBA password? I had changed this using gsec, then worked aI think I found it: there is a file /etc/conf.d/firebird, and this
> little with fbsql, shut down the machine, rebooted and - no
> firebird.
>
file consist of the following four lines:
ISC_USER=SYSDBA
ISC_PASSWORD=masterke
FIREBIRD=/usr/lib/firebird
FBRunUser=firebird
And this is the start script:
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
#
$Header: /var/cvsroot/gentoo-x86/dev-db/firebird/files/firebird.init.d.2,v
1.1 2007/09/21 02:15:04 wltjr Exp $
# NOTE: make sure you have localhost in your hosts.equiv file see
next 2
# lines for example of hosts.equiv contents
#localhost.localdomain
#localhost
export FIREBIRD
export ISC_USER
export ISC_PASSWORD
export FBRunUser
MANAGER=/usr/bin/fbmgr.bin
depend() {
need net
}
start(){
ebegin "Starting Firebird server"
su $FBRunUser -c "${MANAGER} -start -forever"
eend $?
}
stop(){
ebegin "Stopping Firebird server"
$MANAGER -shut
eend $?
}
/etc/init.d/firebird lines 1-33/33 (END)
This can't be good, can it? It's a fact that the start script works
if and only if the sysdba password starts with 'masterke'. What's
the right way to correct this? Deleting ISC_PASSWORD
in /etc/conf.d/firebird and "export ISC_PASSWORD" in the start
script?
Thank you,
Herta