Firebird SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesFirebird SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 9th, 2005, 04:29 AM
stefanorg stefanorg is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 1 stefanorg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 28 m 49 sec
Reputation Power: 0
Error on file when connecting....(Plese Help)

Hi all!

I use firebird both in Win and Linux and it works fine.
Now i've installed firebird 1.5.2 SS on a powerbook with mac os X the installation was fine and the fbserver and fbguard run on my system....but when i try to open the file :

isql pippo.gdb

I receive this error :

"unsupported on-disk structure for file pippo.gdb; found 2560, support 10"

The file was created on a windows host and it works also on a Linux host.

What can I do?

Thanks

Stefano

Reply With Quote
  #2  
Old April 9th, 2005, 11:05 PM
freegianghu freegianghu is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 15 freegianghu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 58 m 37 sec
Reputation Power: 0
Quote:
Originally Posted by stefanorg
Hi all!

I use firebird both in Win and Linux and it works fine.
Now i've installed firebird 1.5.2 SS on a powerbook with mac os X the installation was fine and the fbserver and fbguard run on my system....but when i try to open the file :

isql pippo.gdb

I receive this error :

"unsupported on-disk structure for file pippo.gdb; found 2560, support 10"

The file was created on a windows host and it works also on a Linux host.

What can I do?

Thanks

Stefano


I think its due to Endian issue:

Quote:
Originally Posted by Endian Issues
Multi-byte data fields can be referenced a couple of ways in memory. One is known as big-endian, which consists of field addresses pointing to the most significant byte (MSB) while the second, known as little-endian, consists field addresses pointing to the least significant byte (LSB).

Apple's PowerPC processor uses big-endian (MSB) addressing, while some other systems use little-endian (LSB). Utility functions for byte flipping can be found in the endian.h header file.

Reply With Quote
  #3  
Old April 10th, 2005, 06:20 AM
irie irie is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Location: Hamburg - Germany
Posts: 61 irie User rank is Private First Class (20 - 50 Reputation Level)irie User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 2 h 29 m 50 sec
Reputation Power: 7
Quote:
Originally Posted by stefanorg
What can I do?

Hi Stefano,

you have to perform a database backup on windows/linux and a restore on the mac.

Lutz
__________________
web based Firebird and InterBase administration: http://ibwebadmin.sf.net

Reply With Quote
  #4  
Old April 11th, 2005, 02:37 AM
fikret fikret is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Location: Sarajevo, Bosnia
Posts: 111 fikret User rank is Corporal (100 - 500 Reputation Level)fikret User rank is Corporal (100 - 500 Reputation Level)fikret User rank is Corporal (100 - 500 Reputation Level)fikret User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 5 h 32 m 19 sec
Reputation Power: 8
Quote:
Originally Posted by irie
you have to perform a database backup on windows/linux and a restore on the mac.


Yes, that's correct. You can ONLY copy windows db to linux and vise versa.
But it's allways better to create backup and restore under new server.

--
Best regards,
Fikret Hasovic http://fikret.fbtalk.net
USAID TAMP Senior Programmer
* FirebirdSQL Foundation member.
- Join today at http://www.firebirdsql.org/ff/foundation
* JEDI VCS contributor
http://jedivcs.sourceforge.net/
* Firebird and Fyracle news
http://www.fyracle.org/shownews.php

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesFirebird SQL Development > Error on file when connecting....(Plese Help)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT