lb,

> OS: Centos 4.4
> amavisd-new-2.5.2
> Perl version 5.008005
> SA version: 3.2.3
> BerkeleyDB 0.31

> amavisd[14047]: (!!)TROUBLE in pre_loop_hook:
> BDB can't create db env. 
> at /var/lib/amavis/db: Invalid argument,
> . at (eval 63) line 279.

Don't know. For some reason the following call fails:

  BerkeleyDB::Env->new(
    -Home=>$db_home, -Mode=>0640,
    -Flags=> DB_CREATE | DB_INIT_CDB | DB_INIT_MPOOL);

and 'Invalid argument' is all that libdb is willing to tell.

Try reinstalling perl module BerkeleyDB, and make sure
that is passess all its self-tests. Also make sure that
$db_home setting in amavisd.conf points to a directory
writable by uid 1001.

If that does not help, try running an equivalent command from
an interactive perl (not forgetting to 'use BerkeleyDB' first),
and if that fails, wrap the process with a strace or truss.

  Mark

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to