Subject | Running gbak 2.5 on RH9 |
---|---|
Author | James Calfee |
Post date | 2013-08-13T18:59:05Z |
We stuck using gbak 1.5 to perform backup and restores on remote FB 2.5
databases. Obviously we would like to upgrade the gbak program to version
2.5 and avoid this hack.
Gbak depends on libstdc++.so.6. The repository on this old box only
provides libstdc++.so.5. Is it possible to include the libstdc++.so.6
files along side gbak with a special environment so we can run gbak 2.5?
The platform is Red Hat Linux release 9 (Shrike).
here is some other information....
"The libstdc++ in
RH9<http://rpmfind.net//linux/RPM/redhat-archive/9/i386/libstdc++-3.2.2-5.i386.html>will
only provide
libstdc++.so.5. You're probably out of luck. �
ewwhite<http://serverfault.com/users/13325/ewwhite>"
http://serverfault.com/questions/494540/where-should-i-get-rpms-for-red-hat-linux-release-9-shrike
Backups and restores mostly work except in this parameter
configurationbelow where we
get a failure every time.
gbak version is 1.5 below where the server on rxsaccessdb is FB 2.5
+ gbak -v -g -b rxsaccessdb:edi /usr/backup/firebird/edi_tmp.fbk
The restore is also gbak 1.5 where the server on it-test is FB 2.5
+ gbak -v -se it-test:service_mgr -use_all_space -mode read_only -r
/mnt/usb/firebird/tmp.fbk /opt/firebird/db/tmp.fdb
The restore above always results in this error. This is likely caused by t
he gbak version miss-match:
gbak: restoring SQL role: RDB$ADMIN
gbak: ERROR: attempt to store duplicate value (visible to active
transactions) in unique index "RDB$INDEX_39"
gbak: Exiting before completion due to errors
[Non-text portions of this message have been removed]
databases. Obviously we would like to upgrade the gbak program to version
2.5 and avoid this hack.
Gbak depends on libstdc++.so.6. The repository on this old box only
provides libstdc++.so.5. Is it possible to include the libstdc++.so.6
files along side gbak with a special environment so we can run gbak 2.5?
The platform is Red Hat Linux release 9 (Shrike).
here is some other information....
"The libstdc++ in
RH9<http://rpmfind.net//linux/RPM/redhat-archive/9/i386/libstdc++-3.2.2-5.i386.html>will
only provide
libstdc++.so.5. You're probably out of luck. �
ewwhite<http://serverfault.com/users/13325/ewwhite>"
http://serverfault.com/questions/494540/where-should-i-get-rpms-for-red-hat-linux-release-9-shrike
Backups and restores mostly work except in this parameter
configurationbelow where we
get a failure every time.
gbak version is 1.5 below where the server on rxsaccessdb is FB 2.5
+ gbak -v -g -b rxsaccessdb:edi /usr/backup/firebird/edi_tmp.fbk
The restore is also gbak 1.5 where the server on it-test is FB 2.5
+ gbak -v -se it-test:service_mgr -use_all_space -mode read_only -r
/mnt/usb/firebird/tmp.fbk /opt/firebird/db/tmp.fdb
The restore above always results in this error. This is likely caused by t
he gbak version miss-match:
gbak: restoring SQL role: RDB$ADMIN
gbak: ERROR: attempt to store duplicate value (visible to active
transactions) in unique index "RDB$INDEX_39"
gbak: Exiting before completion due to errors
[Non-text portions of this message have been removed]