🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
4 messages
4 total messages Started by Michael McDaniel Tue, 01 Dec 1992 00:43
database magic number?
#3435
Author: Michael McDaniel
Date: Tue, 01 Dec 1992 00:43
21 lines
1334 bytes
I get the message

Database magic number mismatch

whenever I try to run nn.  I'm running AIX 3.2 on an RS/6000 and am
sharing the database on A/UX 3.0 (on a Quadra 950) over NFS.

What does this error mean?  How can I correct it?

Thanks,
Michael

-- 
Michael D. McDaniel                                      mdm@apple.com
Enterprise Systems Division      {amdahl,decwrl,sun,unisoft}!apple!mdm
Apple Computer, Inc.

Riker: "It's not a question of harm.  One William Riker is...unique,
  perhaps even special.  But a hundred a him...a thousand of
  him...diminishes me in ways I can't even imagine."
--Riker, "Up The Long Ladder", Stardate 42823.2
Re: database magic number?
#3448
Author: Y. M. NG
Date: Thu, 03 Dec 1992 06:54
25 lines
1543 bytes
In article <15@dyson.apple.com>, mdm@dyson.apple.com (Michael McDaniel) writes:
|> I get the message
|> 
|> Database magic number mismatch
|> 
|> whenever I try to run nn.  I'm running AIX 3.2 on an RS/6000 and am
|> sharing the database on A/UX 3.0 (on a Quadra 950) over NFS.
|> 
|> What does this error mean?  How can I correct it?
|> 
|> Thanks,
|> Michael
|> 
|> -- 
|> Michael D. McDaniel                                      mdm@apple.com
.. <deleted>...

I am having the same problem when running nn on the 386BSD with the
database on SUN SPARC.


-- 
Yauman NG                               E-mail: yman@cabsav.vut.edu.au
Dept of Electrical Engineering, FIT     Tel: +61 3 688-4724
Victoria University of Technology,      Australia  3011
Re: database magic number?
#3458
Author: Kristian Koehntopp
Date: Fri, 04 Dec 1992 14:55
21 lines
2041 bytes
In <1992Dec3.065447.10182@fees.vut.edu.au> yman@cabsav.vut.EDU.AU (Y. M. NG) writes:
>|> whenever I try to run nn.  I'm running AIX 3.2 on an RS/6000 and am
>|> sharing the database on A/UX 3.0 (on a Quadra 950) over NFS.

>I am having the same problem when running nn on the 386BSD with the
>database on SUN SPARC.

I donit know about the other posters problem, but I know for
sure that a SPARC uses Motorola Byte Order (MSB first in a
long), which is also Network Byte Order, and Intel uses - well
- Intel Byte Order (LSB first in a long).

Are you sure you compiled nn with network database support to
take care of such problems?

Kristian
-- 
Kristian Koehntopp, Harmsstrasse 98, 2300 Kiel, +49 431 676689
"As a student, I just can't afford to buy the software I need.  And I'm
 tired of stealing software.  I'd rather pay for my free software by
 improving it and helping people use and improve it." -- (Dan Doner)
Re: database magic number?
#3484
Author: Michael McDaniel
Date: Tue, 08 Dec 1992 02:01
27 lines
1902 bytes
kris@black.toppoint.de (Kristian Koehntopp) writes:

>I donit know about the other posters problem, but I know for
>sure that a SPARC uses Motorola Byte Order (MSB first in a
>long), which is also Network Byte Order, and Intel uses - well
>- Intel Byte Order (LSB first in a long).

>Are you sure you compiled nn with network database support to
>take care of such problems?

Yes, I've compiled in network database support (if I don't, it dumps
core) and this doesn't fix the error.  According to the code, this
"magic number" is a checksum of some kind at the beginning of the
database file.  The DB directory is mounted read-only with NFS.

Kim are you out there?  Anybody know what is really going on?  Help!

Michael
mdm@apple.com
--
Michael D. McDaniel                                      mdm@apple.com
Enterprise Systems Division      {amdahl,decwrl,sun,unisoft}!apple!mdm
Apple Computer, Inc.

Pulaski: "You took my last chip, you could at least smile, Worf."
LaForge: "Smiling would break his concentration."
--Pulaski and LaForge, "The Emissary", Stardate 42901.3
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads