+ Responder ao Tópico



  1. #1
    alexandresamorim
    Visitante

    Padrão Novamente Firebird

    Galera ainda estou com algumas dificuldades com firebird...
    Instalei corretamente uma vez mas acabei esquecendo...


    Bem fiz o seguinte....

    Beixei o FirebirdSS-1.5......tar.gz há meu linux é o Slackware-10.1

    #tar -zxvf FirebirdSS-1.5....
    #cd firebird.....
    #./install.sh

    passwd do SYSDBA
    passwd=masterkey.

    ok instalou beleza.

    Dai copiei o script de Pitsa para iniciar..
    salvei em /etc/rc.d/rc.firebird
    /etc/rc.d/rc.firebird.sh start
    #Starting Firebird server: root@intralinux:/opt/firebird

    e fica assim ate apertar enter[
    mas não inicia o firebird...

    o que fazer dai para frente!!!ou pra traz...

    Grato Alexandre Amorim

  2. #2

    Padrão Novamente Firebird

    use esse aque
    Código :
    #!/bin/sh
    . /etc/rc.d/init.d/functions
     
    FIREBIRD=/usr/isosystem/firebird
    ISC_USER=SYSDBA
    ISC_PASSWORD=masterkey
    FBRunUser=firebird
     
    export FIREBIRD
    export ISC_USER
    export ISC_PASSWORD
     
    # Check the file is there and is executable.
    [ -x $FIREBIRD/bin/fbmgr ] || exit 0
     
    # See how we were called.
    case "$1" in
      start)
            echo -n "Starting Firebird server: "
     
            daemon --user $FBRunUser $FIREBIRD/bin/fbmgr -start -forever
            RETVAL=$?
            echo
            ;;
      stop)
            echo -n "Stopping Firebird server: "
     
            $FIREBIRD/bin/fbmgr -shut -user $ISC_USER -password $ISC_PASSWORD
            unset ISC_USER
            unset ISC_PASSWORD
     
    #       killproc fbserver
            RETVAL=$?
    #       echo
    #       [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/identd
            ;;
      status)
            status fbserver
            RETVAL=$?
            ;;
      restart|reload)
            $0 stop
            $0 start
            RETVAL=$?
            ;;
      *)
            echo "Usage: firebird {start|stop|status|restart|reload}"
            exit 1
    esac
     
    exit $RETVAL

    e muda o avatar :P

    hauahuahuahuahauhaua