[firebase-br] UUU - ISC ERROR CODE:335544721 - NFS - RemoteFileOpenAbility
eduardo
eduardo em icontroller.com.br
Ter Nov 1 11:03:33 -03 2005
Hi Willian
You can not use a network adress as a connection string.
You must use the following sintax:
Server_IP:Path\Database_Name
or
Server_Computer_Name:Path\Database_Name
Examples:
198.168.0.1:C:\MyPath\MyDataBase.fdb
or
FILESERVER:C\MyPath\MyDataBase.fdb
Forget about using Mapped drivers or Shared NetWork Adresses
HTA
Eduardo
Willian Rodrigues wrote:
> Hello,
>
> I need make the FB1.5 run on a server, but all database will be on a
> "file server", with shared folder. But, I can't open it. I got this
> from FB:
>
> ISC ERROR CODE:335544721
>
> ISC ERROR MESSAGE:
> Unable to complete network request to host "FILESERVER".
> Failed to establish a connection.
> O sistema não pode encontrar o arquivo especificado.
>
>
>
> Than I get the file firebird.conf and some statements from it. Just like
> this:
>
> firebird.conf
>
> # ----------------------------
> # Remove protection against opening databases on NFS mounted volumes
> #
> # ***WARNING*** ***WARNING*** ***WARNING*** ***WARNING***
> #
> # This option removes an important safety feature of Firebird and can
> # cause irrecoverable database corruption. Do not use this option unless
> # you understand the risks and are prepared to accept the loss of the
> # contents of your database.
> # Unless this configuration option is changed from 0 to 1, Firebird can
> # open a database only if the database is stored on a drive physically
> # attached to the local computer – the computer running that copy of
> # Firebird. Requests for connections to databases stored on NFS mounted
> # drives are redirected to a Firebird server running on the computer that
> # "owns" the disk.
> # This restriction prevents two different copies of Firebird from opening
> # the same database without coordinating their activities. Uncoordinated
> # access by multiple copies of Firebird will corrupt a database. On a local
> # system, the system-level file locking prevents uncoordinated access to
> # the database file.
> # NFS does not provide a reliable way to detect multiple users of a file on
> # an NFS mounted disk. If a second copy of Firebird connects to a
> database on
> # an NFS mounted disk, it will corrupt the database.
> # Under some circumstances, running a Firebird server on the computer that
> # owns NFS mounted volumes is inconvenient or impossible. Applications that
> # use the "embedded" variant of Firebird and never share access to a
> database
> # can use this option to permit direct access to databases on NFS mounted
> # volumes.
> # DO NOT ENABLE THIS OPTION UNLESS YOU REALLY KNOW WHAT YOU ARE DOING.
> #
> # Type: boolean
> #
> #RemoteFileOpenAbility = 0
> RemoteFileOpenAbility = -1
>
>
>
> My context is:
>
> \\FILESERVER\DATABASE\ mapped as T:\
>
> Can't do direct connection or IBOConsole.
>
> But never work! Can anyone help me ??
>
> _________________________________________________________________
> MSN Busca: fácil, rápido, direto ao ponto. http://search.msn.com.br
>
>
> ______________________________________________
> FireBase-BR (www.firebase.com.br) - Hospedado em www.bavs.com.br
> Para editar sua configuração na lista, use o endereço
> http://mail.firebase.com.br/mailman/listinfo/lista_firebase.com.br
> Para consultar mensagens antigas: http://firebase.com.br/pesquisa
>
Mais detalhes sobre a lista de discussão lista