warning: cache: could not open policyd-weight.conf:

2006-08-31 Thread Paul Schmehl
I just installed policyd-weight on a CentOS box and a FreeBSD box (5.4). 
Fantastic program!  It's rejecting a ton of spam and has made my job a lot 
easier.  Thanks for such a great program.


FreeBSD stovebolt.stovebolt.com 5.4-SECURITY FreeBSD 5.4-SECURITY #0: Tue 
Apr 18 06:15:11 UTC 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386


Linux www.ntsug.org 2.6.9-34.0.2.EL #1 Fri Jul 7 19:24:57 CDT 2006 i686 
athlon i386 GNU/Linux


The FreeBSD box is running error-free, but the CentOS box keeps generating 
this error in the logs:

warning: cache: could not open policyd-weight.conf:

The script is in /usr/sbin:
92 -rwxr--r--  1 root root 84095 Aug 31 22:43 /usr/sbin/policyd-weight

and the conf file is in /etc:
12 -rw-r--r--  1 root polw 8182 Aug 31 22:42 /etc/policyd-weight.conf

There's a master process, a cache process and two children (right now):
polw  1200  0.0  1.2 10092 6312 ?Ss   Aug31   0:00 
policyd-weight (cache)
polw  1383  0.0  1.2 11236 6256 ?Ss   Aug31   0:00 
policyd-weight(master)
polw  1456  0.0  1.2 11500 6528 ?SAug31   0:01 
policyd-weight (child)
polw  5735  0.0  1.2 11500 6520 ?S08:54   0:01 
policyd-weight (child)


The program seems to be running fine on the CentOS box.  It's rejecting 
mail in a similar fashion to the FreeBSD box.  The only thing that seems to 
be wrong is this error message.


I googled for it, but didn't find much, so I joined the list in the hope 
that someone might have an idea what the cause is.


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Policyd-weight Mailinglist - http://www.policyd-weight.org/


Re: warning: cache: could not open policyd-weight.conf:

2006-08-31 Thread Robert Felber
On Thu, Aug 31, 2006 at 11:02:47AM -0500, Paul Schmehl wrote:
 The FreeBSD box is running error-free, but the CentOS box keeps generating 
 this 
 error in the logs:
 warning: cache: could not open policyd-weight.conf:

It is not trying to open /etc/policyd-weight.conf but
policyd-weight.conf

Can you issue a ./policyd-weight -k restart
and post the log entries of the startup process? Also the entries of the 
could not open line *after* the restart.


 
-- 
Robert Felber (PGP: 896CF30B)
Munich, Germany


Policyd-weight Mailinglist - http://www.policyd-weight.org/