2.8 new install, not binding to additional ports

Mark Martinec Mark.Martinec+amavis at ijs.si
Wed May 23 23:13:30 CEST 2012

> OK, I change these 3 in /etc/amavisd.conf as:
> ..
> $lock_file = "var/run/amavis/amavisd.lock";
> $pid_file = "/var/run/amavis/amavisd.pid";

Missing leasing '/' in $lock_file.

> that seems to starts OK, no more failed starts (1),
> BUT, after a little while starts looping with(2):

> 2012/05/24-06:53:02 Couldn't open lock file
> "var/run/amavis/amavisd.lock"[No such file or directory]\n
> at line 203 in file /usr/share/perl5/Net/Server/PreForkSimple.pm

Indeed, No such file or directory.

Btw, the $lock_file can be left at its default undef with 2.8.0,
and amavisd will open an anonymous temporary file for locking.


More information about the amavis-users mailing list