Thanks Sam

Well, NFS IS running on the box, but the courier files are all local in
/usr/local/courier including binaries and etc.

Interesting thing is that I have a local postmaster account which seems to
work.

So there is something different in the account setup which allows one to
work and another not to work.

Looking for differences now.

Only thing I see is that the one that works is in "locals".

Both are in :
esmtpacceptmailfor.dir/esmtpacceptmailfor
hosteddomains
and the respective dat files

Does this help narrow down the problem at all?

Appreciate the help.

m/


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sam
Varshavchik
Sent: Sunday, November 30, 2003 6:07 PM
To: Courier Users
Subject: [courier-users] Re: gdbm fatal: couldn't init cache -- any idea
of the source?


Mitch (WebCob) writes:

> If I remove
> 127.0.0.1      allow,RELAYCLIENT
>
> from etc/smtpaccess/default (and call makesmtpaccess) I can reproduce the
> error from the local system. I guess that is an improvement or
localization
> of the problem at least.
>
> What other gdbm files would courieresmtpd be accessing?

courieresmtpd doesn't access this file.  The syslog entries prefixed by
'courieresmtpd' in this case really come from couriertcpd, which is the one
that opens the smtpaccess file.  All standard error from this instance of
couriertcpd, and its children, gets logged with the 'courieresmtpd' prefix,
since - naturally - couriercpd forks and runs courieresmtpd.

$ strings libgdbm.so.2 | grep 'init cache'
couldn't init cache

This error message actually comes from the bowels of the libgdbm library
itself.  Something seriously is going wrong in there.

After running makesmtpaccess, try running 'esmtpd stop' then 'esmtpd start',
to see if that fixes it.

There's been one report that updating gdbm files that reside on an NFS
volume fails.  If you're using NFS, that's it.  Move the etc directory to a
local disk.




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to