List Info

Thread: Amavisd-new doesn't start!




Amavisd-new doesn't start!
country flaguser name
Argentina
2008-02-26 07:42:07
Hi, I'm here again, now after a reboot I got the following
error when I
ran "amavisd debug":

A reminder: I use amavisd-new 2.5.3 at work, running on a
Linux
Slackware 9.

amavisd debug prompt:

Feb 26 09:17:26 ns2.cht.com.ar
/usr/local/sbin/amavisd[4018]:
(!!)TROUBLE in pre_loop_hook: No TEMPBASE directory:
/var/amavis
/var/amavis/tmp at /usr/local/sbin/amavisd line 7980.
Suicide () TROUBLE in pre_loop_hook: No TEMPBASE directory:
/var/amavis
/var/amavis/tmp at /usr/local/sbin/amavisd line 7980.

And that's really strange, I have the temp directory created
with the
same permission as all the others on /var/amavis(amavis user
owns them).

Here is the portion of config:

$daemon_user  = 'amavis';     # (no default;  customary:
vscan or
amavis), -u
$daemon_group = 'amavis';     # (no default;  customary:
vscan or
amavis), -g

$MYHOME = '/var/amavis';   # a convenient default for other
settings, -H
$TEMPBASE = "$MYHOME/tmp";   # working directory,
needs to exist, -T
$ENV = $TEMPBASE;    # environment variable TMPDIR,
used by SA,
etc.
$QUARANTINEDIR = '/var/virusmails';  # -Q
$daemon_chroot_dir = $MYHOME;   # chroot directory or undef,
-R

And here is an ls -alh for my amavis directory:

ls -alh prompt:

total 72K
drwxr-x---   7 amavis amavis 4.0K 2008-02-26 09:17 .
drwxr-xr-x  19 root   root   4.0K 2008-02-22 16:05 ..
drwxr-x---   2 amavis amavis 4.0K 2008-02-22 14:42 .pyzor
drwxr-xr-x   2 amavis amavis 4.0K 2008-02-25 14:41 .razor
drwx------   2 amavis amavis  44K 2008-02-25 09:51
.spamassassin
-rw-r-----   1 amavis amavis    0 2008-02-25 14:41
amavisd.lock
-rw-r-----   1 amavis amavis    5 2008-02-26 09:17
amavisd.pid
srwxr-x---   1 amavis amavis    0 2008-02-26 09:17
amavisd.sock
-rw-r--r--   1 amavis amavis    0 2008-02-22 15:19
black.lst
drwxr-x---   2 amavis amavis 4.0K 2008-02-25 14:41 db
drwxr-x---   2 amavis amavis 4.0K 2008-02-22 14:42 tmp
-rw-r--r--   1 amavis amavis    0 2008-02-22 15:18
white.lst

What I am missing? I would appreciate your help, I need my
mail filter
server functioning as soon as possible.

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: Amavisd-new doesn't start!
country flaguser name
Slovenia
2008-02-26 08:08:48
Damian,

> Hi, I'm here again, now after a reboot I got the
following error when I
> ran "amavisd debug":
>
> A reminder: I use amavisd-new 2.5.3 at work, running on
a Linux
> Slackware 9.
>
> amavisd debug prompt:
>
> Feb 26 09:17:26 ns2.cht.com.ar
/usr/local/sbin/amavisd[4018]:
> (!!)TROUBLE in pre_loop_hook: No TEMPBASE directory:
> /var/amavis /var/amavis/tmp at /usr/local/sbin/amavisd
line 7980.
>
> And that's really strange, I have the temp directory
created with the
> same permission as all the others on /var/amavis(amavis
user owns them).

It says /var/amavis/var/amavis/tmp does not exist, not
/var/amavis/tmp.

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

Since you are running amavisd chrooted, the directory must
exist within
a chroot jail. See README.chroot .

  Mark

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )