Ok. Found another problem with it on x86_64:
[root@mail02 ~]# cbpadmin
Can't locate cbp/logging.pm in @INC (@INC contains: /usr/local/lib/policyd-2.0 
/usr/lib/policyd-2.0 /usr/local/lib64/perl5 /usr/local/share/perl5 
/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 
/usr/share/perl5 .) at /usr/sbin/cbpadmin line 30.
BEGIN failed--compilation aborted at /usr/sbin/cbpadmin line 30.

This line in the file
use lib('/usr/local/lib/policyd-2.0','/usr/lib/policyd-2.0');

Needs to include /usr/lib64/policyd-2.0..

Thanks

From: [email protected] [mailto:[email protected]] 
On Behalf Of Nigel Kukard
Sent: 24 March 2011 10:12
To: [email protected]
Subject: Re: [policyd-users] session_tracking table


On 03/24/11 10:10, Ian Mordey wrote:
The command appears to fail:
[root@mail01 policyd]# cbpadmin --cleanup --config=/etc/policyd/cluebringer.conf
Policyd Admin Tool (ClueBringer) v2.0.11RC1 - Copyright (c) 2007-2009 AllWorldIT
  => AccessControl: enabled
  => Quotas: enabled
Module: Core
  -> running cleanup...
[CORE] Failed to remove old session tracking records: cbp::dblayer::DBDo(125): 
Error executing command '
                                DELETE FROM
                                                session_tracking
                                WHERE
                                                Timestamp < '1300874871'
                ': Got temporary error 233 'Out of operation records in 
transaction coordinator (increase MaxNoOfConcurrentOperations)' from NDBCLUSTER
Use of uninitialized value $sth in string ne at 
/usr/lib64/policyd-2.0/cbp/modules/Core.pm line 57.
Use of uninitialized value $sth in concatenation (.) or string at 
/usr/lib64/policyd-2.0/cbp/modules/Core.pm line 57.
[CORE] Removed  records from session tracking table
Module: Access Control Plugin
Module: Quotas Plugin
  -> running cleanup...
[QUOTAS] Removed 0

Any ideas?

Thats a database error. cbpadmin should not fail so horribly though.

-N
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users

Reply via email to