Mark Martinec wrote: >>>> Upon further investigation, I found that this still happens here, as >>>> well: However, for me, the odd things is this only happens when "amavisd >>>> reload or amavisd stop/start" is executed from within my home directory. >>>> If executed anywhere outside of my home directory, no errors are seen. >>>> The only other thing I noticed when executing from within my home >>>> directory, but again not if executed outside of my home directory, is >>>> the following entry in my maillog: > > It looks like a problem reported to me by Tuomo Soini on Apr 29 2008: > > > Some notes: pid file creation was changes from 2.5.4 to 2.6.0 so that > 2.6.0 can't open pid file in /var/run any more, pid file must be in dir > owned by amavis user. > > I could work around this by moving amavisd pid to > /var/run/amavis/amavisd.pid
This shouldn't apply to my setup since I have: $pid_file = "$MYHOME/amavisd.pid"; in my amavisd.conf. Thus: ls -l /var/amavis/ total 52 -rw-r----- 1 amavis amavis 0 2008-05-22 11:55 amavisd.lock -rw-r----- 1 amavis amavis 6 2008-05-22 11:54 amavisd.pid srwxr-x--- 1 amavis amavis 0 2008-05-22 11:54 amavisd.sock srwxrwxrwx 1 amavis amavis 0 2008-05-21 14:25 clamd.sock drwxr-x--- 2 amavis amavis 4096 2008-05-22 11:54 db drwxr-x--- 2 amavis amavis 4096 2007-12-17 19:19 home -rw-r--r-- 1 amavis amavis 26 2007-12-18 13:14 local_domains drwxr-xr-x 2 amavis amavis 4096 2008-05-18 05:27 logs drwxr-x--- 28 amavis amavis 4096 2008-05-22 11:55 tmp drwxr-x--- 2 amavis amavis 4096 2007-12-17 19:19 var > I noticed that problem with perl module loading was caused by selinux > denying access to some paths on filesystm and my_require errorously > catching this as permission problem while module was really loading. This doesn't apply in my setup either, since I have selinux disabled: sestatus SELinux status: disabled > This patch did fix it on my system: However, with all of that said, this patch did resolve the issue on my system, as well. Thanks! Bill ------------------------------------------------------------------------- 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 [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/
