LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 05-23-2007, 11:26 PM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Fail to test amavisd-new


Hi folks,


OpenBSD 4.0
amavisd-new-2.5.0

Failed to test amavisd-new

# /usr/local/sbin/amavisd -u _clamav debug
Code:
 
....
.....
/var/amavis/db/; BerkeleyDB 0.31, libdb 4.5
May 18 12:58:42 mail.satimis.com /usr/local/sbin/amavisd[3702]: 
(!!)TROUBLE in pre_loop_hook: QUARANTINEDIR directory not writable:    

/var/virusmails at /usr/local/sbin/amavisd line 7802.
Suicide () TROUBLE in pre_loop_hook: QUARANTINEDIR directory not 
writable: /var/virusmails at /usr/local/sbin/amavisd line 7802.
cat /etc/amavisd.conf
Code:
......
$max_servers = 2;            # num of pre-forked children (2..15 is 
common), -m
$daemon_user  = '_clamav';     # (no default;  customary: vscan or 
amavis), -u
$daemon_group = '_clamav';     # (no default;  customary: vscan or 
amavis), -g

$mydomain = 'satimis.com';   # a convenient default for other settings

$MYHOME = '/var/amavis';   # a convenient default for other settings, 
-H
$TEMPBASE = "$MYHOME/tmp";   # working directory, needs to exist, -T
$ENV{TMPDIR} = $TEMPBASE;    # environment variable TMPDIR
$QUARANTINEDIR = '/var/virusmails';  # -Q
# $quarantine_subdir_levels = 1;  # add level of subdirs to disperse 
quarantine

# $daemon_chroot_dir = $MYHOME;   # chroot directory or undef, -R

$db_home   = "$MYHOME/db";      # dir for bdb nanny/cache/snmp 
databases, -D
$helpers_home = "$MYHOME/var";  # working directory for SpamAssassin, 
-S
$lock_file = "$MYHOME/var/amavisd.lock";  # -L
$pid_file  = "$MYHOME/var/amavisd.pid";   # -P
......
Pls advise how to fix it. TIA


B.R.
satimis
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
amavisd leiw Linux - General 1 05-21-2007 04:14 AM
LXer: Top five PC manufacturers fail naked PC test LXer Syndicated Linux News 0 03-17-2007 05:31 PM
Fail Media Test on FC4 Install for CDs jfraymondpa Fedora - Installation 2 02-01-2006 04:26 PM
Fedora FC3 integety test fail GlennsPref Fedora 9 11-12-2004 02:01 AM
Yarrow isos fail media test dubya Fedora 3 04-25-2004 09:59 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 10:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration