db_load from vxworks
Hi All,
I am using version 4.2.52 for vxworks & windows. Here is my scenario:
I want to generate the database "offline" (meaning that I generate the
database not on vxworks), copy the dump file onto the vxworks
compactflash, and do a db_load to generate the database file.
I've created the database file on windows and then dumped the database
using db_dump. It finishes successfully. I copy the dump file into the
vxworks environment and try to run the db_load utility on it. This is
the error that occurs:
vxworks -> db_load "-f database.dump database.db"
db_load: line 2: unexpected format
value = 1 = 0x1
Anyone have any idea what could be wrong? Is it a Vxworks/Windows file
format error? Both PCs i'm using are intel so endianess is probably
not an issue. Could ^M's that occur during file transfers cause this?
Is there any way to show more debug information?
Here is the first couple of lines from the database file i am trying
to load:
1: VERSION=3
2: format=bytevalue
3: database=AdvisoryText
4: type=btree
5: db_pagesize=1024
6: HEADER=END
One question that I had looked around for an answer was whether or not
I could directly transfer over the database file from one platform to
another without doing a dump. Since there was the dump utility, i
figured that this was not possible and I would just use the dump/load
utility.
Anyways, any sugguestions/information in solving this problem would be
appreciated.
Thanks,
Toan
|