[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: modp_gdbm: cannot open /etc/zmailer/db/localnames! (Bad magic number)



On Wed, Mar 31, 2004 at 12:57:06PM +0400, Eugene Crosser wrote:
> After fresh update:
> 
> (this should be "theoretically" correct but apparently it is not):
> DBTYPE=gdbm
> DBEXT=
> DBEXTtest=.gdbm

  This yields similar result as to what my first test was at Solaris.
  Of course  gdbm  library didn't like to open ascii source text...

> [25959] modp_gdbm: cannot open /etc/zmailer/db/userdb! (Bad magic number)
> [25960] search_gdbm: cannot open /etc/zmailer/db/localnames! (Bad magic number)
> [25957] modp_gdbm: cannot open /etc/zmailer/db/routes! (Bad magic number)
> [25958] search_gdbm: cannot open /etc/zmailer/db/localnames! (Bad magic number)
> 
> (this is what configure produces):
> DBTYPE=gdbm
> DBEXT=.gdbm
> DBEXTtest=.gdbm
> 
> [26087] modp_gdbm: cannot open ! (File open error)
> [26087] search_gdbm: cannot open ! (File open error)
> [26087] modp_gdbm: cannot open ! (File open error)
> [26087] search_gdbm: cannot open ! (File open error)

  Huh ?    For me this one works..

  Do run   "zmailer newdb",   and try it manually.
  There is also "trace db"  that you can give to the router to
  see when it calls database functions.

  If that does not help, perhaps 'make clean; make' is in order ?

> Eugene
> P.S. Matti, are you still OK after the full night of hacking? ;-)

  About 5 hours of sleep and plenty of coffeine...
  No, not entirely, but less insane that with 3 hours sleep...

-- 
/Matti Aarnio	<mea@nic.funet.fi>
-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi