> I had deployed policyd v2 in a rhel4 testing env for test,
> when i trying to startup the daemon, got such error message:
> ./cbpolicyd --fg
> Pid_file "/var/run/cbpolicyd.pid" already exists.  Overwriting!
> [2008/06/26-11:26:24 - 3727] [CBPOLICYD] NOTICE: Initializing system
> modules.
> perl: mmap_cache.c:227: mmc_init: Assertion `c_num_pages >= 1 &&
> c_num_pages <= 1000' failed.
> Aborted
> 
> i don't know what's the meaning of these info, is there any one can
> help me?

Could you try the attached patch?

-N

Index: cbp/cache.pm
===================================================================
--- cbp/cache.pm	(revision 250)
+++ cbp/cache.pm	(working copy)
@@ -79,8 +79,8 @@
 
 	# Create Cache
 	$ch = Cache::FastMmap->new(
-		'page_size' => 1024,
-		'num_pages' => 2048,
+		'page_size' => 2048,
+		'num_pages' => 1000,
 		'raw_values' => 1,
 		'unlink_on_exit'	=> 1,
 	);

Attachment: signature.asc
Description: This is a digitally signed message part

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
policyd-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/policyd-users

Reply via email to