[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#528589: amavis-stats: New version run as daemon and is started with different options



Gilles Mocellin wrote:
Le Sunday 17 May 2009 22:55:14 Barry deFreese, vous avez écrit :
Hi,

I have a new release packaged up but I'm having some problems with the
init script.  Any help would be greatly appreciated.

http://people.debian.org/~bdefreese/amavis-stats/

Thanks,

Barry deFreese
Debian QA

Hello,

For the good part : the graphs work !
The bad part is, as you says, the init script.

It the pid file is not created at start.
The defaut in amavis-stats.conf is not good, I changed it to :
$pid_file = "/var/run/amavis-stats.pid"; # (default is "$MYHOME/amavis-stats.pid")

But, amavis-stats does not create it either... Amavis-stats perl script must be debugged...

I also saw that by defaut, amavis-stats is running with www-data user. I had to change the ownership of /var/lib/amavis-stats*.

And also, www-data cannot read /var/log/mail.log...


Gilles,

Thanks. Yeah, Peter had looked at it and the perl script does have issues. If something goes wrong (such as the wrong user permissions) it whacks the pid file but doesn't actually stop the daemon. Unfortunately neither he nor I are Perl experts.

Barry deFreese
Debian QA




Reply to: