Subject Re: [firebird-support] Error opening database file on Mac OSX
Author Alexandre Benson Smith
Hi !

phil_hhn wrote:

>We're developing a multi-platform application and currently using
>Firebird 1.5, developing under win XP/2000.
>Our app also runs on the Mac. We wanted to see how well the database
>ran when it was also on the Mac (and not remotely on a windows box).
>However we installed Firebird on the Mac (
>and copied the database file on to it, but we get a runtime exception.
>We cannot use the database via the app or IBExpert. The errors imply
>that the internal database format is invalid.
>What could be wrong? Please don't tell me that the internal database
>format is different on the Mac vs. the PC (I can't imagine it is).
>Here are the errors:
>org.firebirdsql.jdbc.FBSQLException: Resource Exception. unsupported
>on-disk structure for file /Users/bloggs/MyDb.fdb; found 2560, support 10
>Reason: unsupported on-disk structure for file /Users/bloggs/MyDb.fdb;
>found 2560, support 10
> at
> at org.firebirdsql.jdbc.FBDriver.connect(
> at java.sql.DriverManager.getConnection(
> at java.sql.DriverManager.getConnection(
>at org.firebirdsql.gds.GDSException: unsupported on-disk structure for
>file /Users/bloggs/MyDb.fdb; found 2560, support 10
>... and if anyone can tell me what the obscure error "found 2560,
>support 10" is, please let me know...

Someone with more experience with FB and MacOS than me (my experience is
zero, I never used a MAc in my hole life :-( ) will jump on.

But just to do a simples test...

Do a transportable backup on the windows server and restore it on the
Mac, could different endianness (big/little endian) be the cause ?


see you !


Alexandre Benson Smith
THOR Software e Comercial Ltda.
Santo Andre - Sao Paulo - Brazil