terça-feira, 23 de junho de 2015

Instalar e iniciar serviço do Firebird


C:\Program Files\Firebird\Firebird_2_1\bin>instsvc.exe

Usage:
  instsvc i[nstall] [ -s[uperserver]* | -c[lassic] ]
                    [ -a[uto]* | -d[emand] ]
                    [ -g[uardian] ]
                    [ -l[ogin] username [password] ]
                    [ -n[ame] instance ]
                    [ -i[nteractive] ]

          sta[rt]   [ -b[oostpriority] ]
                    [ -n[ame] instance ]
          sto[p]    [ -n[ame] instance ]
          q[uery]
          r[emove]  [ -n[ame] instance ]

  This utility should be located and run from the 'bin' directory
  of your Firebird installation.

  '*' denotes the default values
  '-z' can be used with any other option, prints version
  'username' refers by default to a local account on this machine.
  Use the format 'domain\username' or 'server\username' if appropriate.


-->> ADICIONA O SERVIÇO DO FIREBIRD <<-- p="">
C:\Program Files\Firebird\Firebird_2_1\bin>instsvc.exe i -s -a -g -n Firebird_2_1_4
Service "Firebird Guardian - Firebird_2_1_4" successfully created.
Service "Firebird Server - Firebird_2_1_4" successfully created.


-->> ADICIONA O SERVIÇO DO FIREBIRD <<-- p="">
C:\Program Files\Firebird\Firebird_2_1\bin>instsvc.exe r -n Firebird_2_1_4
Service "Firebird Guardian - Firebird_2_1" successfully deleted.
Service "Firebird Server - Firebird_2_1" successfully deleted.

Instalar 2 Firebird no mesmo servidor.

INSTALE O FERBIRD VERSAO MAIS ANTIGA PRIMEIRAMENTE. (Firebird_1_5)
DURANTE A INSTALAÇÃO NAO INICIALIZE O FIREBIRD.

AGORA INSTALE O FIREBIRD VERSAO MAIS RECENTE. (Firebird_2_1)
AGORA TROQUE A PORTA DO FIREBIRD MAIS RECENTE EDITANDO O ARQUIVO firebird.conf.


C:\> cd C:\Arquivos de Programas\Firebird\Firebird_2_1\

C:\Arquivos de Programas\Firebird\Firebird_2_1\> edit firebird.conf
Localize a linha abaixo:

#RemoteServicePort = 3050

Descomente e modifique para:

RemoteServicePort = 3055

AGORA INSTALE O SERVIÇO DO FIREBIRD MAIS RECENTE.(Firebird_2_1)
C:\Program Files\Firebird\Firebird_2_1\bin>instsvc.exe i -s -a -g -n Firebird_2_1_4

REINICIE O SERVIDOR.