Subject | Re: [firebird-support] GBAK crashes Firebird 1.5.2 Classic server on FreeBSD 5.2.1-RELEASE |
---|---|
Author | Helen Borrie |
Post date | 2005-11-18T11:12:06Z |
At 08:31 AM 18/11/2005 +0000, you wrote:
you are doing the backup locally) use the service manager if you need to
perform the backup while xinetd clients are connected.
If the ISC_USER and ISC_PASSWORD variables are not available in your shell,
PUT THEM THERE!!
As to what is causing the crash, I wonder whether you are using the right
version of gbak. Fb 1.5 has its default root in /opt/firebird and gbak
expects to be run in /opt/firebird/bin... The location /usr/local/bin does
not look to me like a Firebird bin directory.
/opt/firebird/bin/gbak -b -se 10.0.0.5:service_mgr /usr/opt/db/proxy.fdb
usr/opt/db/bak/proxy.bak
./heLen
>Hi all,You could start by including the -b[ackup] switch in the command; and (if
>
>I have problem with gbak (or fb_lock_mgr...?).
>
>I use the Firebird 1.5.2 Classic server on FreeBSD 5.2.1-RELEASE.
>Database working 24 hours 7 days per week.
>
>While I run the following command:
>/usr/local/bin/gbak /usr/opt/db/proxy.fdb /usr/opt/db/bak/proxy.bak
>
>I receive error:
>Fatal lock manager error: invalid lock id (83384), errno: 35
>--Resource temporarily unavailable
>
>If run this command while, server stopped (i.e. comment Firebird in
>inetd.conf), this problem not appear, but I can't stop server while
>make backup.
>
>If run command:
>/usr/local/bin/gbak -user sysdba -password 'P@ssw0rd'
>10.0.0.5:/usr/opt/db/proxy.fdb usr/opt/db/bak/proxy.bak
>
>this problem not appear, but I not want expose password in command
>line.
>
>In Firebird 1.5.0 Classic server on FreeBSD 5.2.1-RELEASE this
>problem not appear.
>
>It is new feature, or problem.
>
>How me better resolve this problem.
you are doing the backup locally) use the service manager if you need to
perform the backup while xinetd clients are connected.
If the ISC_USER and ISC_PASSWORD variables are not available in your shell,
PUT THEM THERE!!
As to what is causing the crash, I wonder whether you are using the right
version of gbak. Fb 1.5 has its default root in /opt/firebird and gbak
expects to be run in /opt/firebird/bin... The location /usr/local/bin does
not look to me like a Firebird bin directory.
/opt/firebird/bin/gbak -b -se 10.0.0.5:service_mgr /usr/opt/db/proxy.fdb
usr/opt/db/bak/proxy.bak
./heLen