[Ubuntu-BR] Problema ao instalar o Firebird no Gutsy
hamacker
sirhamacker em gmail.com
Sexta Novembro 30 19:08:44 UTC 2007
Pareceu-me que a solucao foi essa :
<---- INICIO ---->
sudo gedit /etc/init.d/firebird2.0-super
----------------------------------------------------------------------------------
FB_VER="2.0"
FB_FLAVOUR="super"
. /usr/share/firebird${FB_VER}-common/functions.sh
FBRunUser=firebird
PIDFILE="$RUN/fbguard.pid"
FB_OPTS="-start -forever -pidfile $PIDFILE"
NAME="Firebird $FB_VER server manager"
#################################################
# root (Juergen Vogt) at 07.11.2007 23:41:06
#################################################
if [ -d $RUN ]; then
#do nothing
echo "Directory '$RUN' already exists."
else
mkdir -p $RUN
chown $FBRunUser:firebird -R $RUN
fi
#################################################
# Check the manager is there and is executable.
MANAGER=$FB/bin/fbmgr
FBGUARD=$FB/bin/fbguard
...
----------------------------------------------------------------------------------
<---- FIM ---->
Parece que o PID fica com permissao errada, e acertando o script de
inicializacao do firebird resolveria o problema.
Em 30/11/07, Felipe Jaekel<fkjaekel em gmail.com> escreveu:
> Depois de apanhar um pouco consegui fazer funcionar com esse abaixo. O
> dpkg-reconfigure não funcionava, tive q fazer um aptitude reinstall, aí sim
> dkpg-reconfigure funcionou e o banco iniciou.
>
> De acordo com o q foi dito lá essa solução soh funciona ate reiniciar.
> Adicionei a correção mas ainda nao reiniciei para testar.
>
> root em benissa:/var/run# mkdir firebird
> root em benissa:/var/run# cd firebird
> root em benissa:/var/run/firebird# mkdir 1.5
> root em benissa:/var/run/firebird# cd ..
> root em benissa:/var/run# chown firebird:firebird firebird
> root em benissa:/var/run# /etc/init.d/firebird1.5-super restart
>
> * Firebird 1.5 server manager not running.
> * Not starting Firebird 1.5 server manager
> * Use `dpkg-reconfigure firebird1.5-super' to enable.
> root em benissa:/var/run# dpkg-reconfigure firebird1.5-super
> * Firebird 1.5 server manager not running.
> * Firebird 1.5 server manager not running.
> * Starting Firebird 1.5 server manager... server has been successfully
> started
>
>
> 2007/11/30, hamacker <sirhamacker em gmail.com>:
> >
> > O workaround enviando por outros no link que voce informou não funcionou ?
> >
> > Em 30/11/07, Felipe Jaekel<fkjaekel em gmail.com> escreveu:
> > > Não estou conseguindo fazer o Firebird funcionar no Gutsy, estou com o
> > mesmo
> > > problema relatado no link abaixo, mas mesmo com as correções postadas
> > nele
> > > ainda nao consegui fazer funcionar
> > >
> > > https://bugs.launchpad.net/ubuntu/+source/firebird/+bug/135582
> > > --
> >
> > --
> > Interessado em aprender mais sobre o Ubuntu em português?
> > http://wiki.ubuntu-br.org/ComeceAqui -
> > ubuntu-br mailing list
> > ubuntu-br em lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-br
> >
> --
> Interessado em aprender mais sobre o Ubuntu em português?
> http://wiki.ubuntu-br.org/ComeceAqui -
> ubuntu-br mailing list
> ubuntu-br em lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-br
>
More information about the ubuntu-br
mailing list