On 08/31/11 07:04, Schuetz, Klaus wrote:
> Hi,
>
> I have installed the cluebringer-snapshot-201104210611. Now I get this error:
>
> Can't call method "get" on an undefined value at 
> /usr/local/lib/policyd-2.1/awitpt/cache.pm line 256.
>
> Here is the Log:
>
> ---8<---
>
> root@server137x:~# cbpolicyd --config=/etc/cluebringer.conf --fg
> [2011/08/31-10:49:47 - 28454] [CBPOLICYD] NOTICE: Policyd v2 / Cluebringer - 
> v2.1.0a
> [2011/08/31-10:49:47 - 28454] [CBPOLICYD] NOTICE: Initializing system modules.
> [2011/08/31-10:49:47 - 28454] [CBPOLICYD] NOTICE: System modules initialized.
> [2011/08/31-10:49:47 - 28454] [CBPOLICYD] NOTICE: Module load started...
> [2011/08/31-10:49:47 - 28454] [CORE] NOTICE:   => AccessControl: enabled
> [2011/08/31-10:49:47 - 28454] [CORE] NOTICE:   => Quotas: enabled
> [2011/08/31-10:49:47 - 28454] [CORE] NOTICE:   => Protocol(Postfix): enabled
> [2011/08/31-10:49:47 - 28454] [CBPOLICYD] NOTICE: Module load done.
> [2011/08/31-10:49:47 - 28454] [CBPOLICYD] NOTICE: Session tracking is ENABLED.
> [2011/08/31-10:49:47 - 28454] [CBPOLICYD] DEBUG: Opening syslog, destination 
> = 
> 'unix', facility = 'mail'.
> [2011/08/31-10:49:47 - 28454] [CORE] NOTICE: 2011/08/31-10:49:47 cbp (type 
> Net::Server::PreFork) starting! pid(28454)
> [2011/08/31-10:49:47 - 28454] [CORE] NOTICE: Using default listen value of 128
> [2011/08/31-10:49:47 - 28454] [CORE] NOTICE: Binding to TCP port 10031 on 
> host 
> 127.0.0.1
> [2011/08/31-10:49:47 - 28454] [CORE] INFO: Setting up serialization via flock
> [2011/08/31-10:49:47 - 28454] [CORE] INFO: Beginning prefork (4 processes)
> [2011/08/31-10:49:47 - 28454] [CORE] INFO: Starting "4" children
> [2011/08/31-10:49:47 - 28455] [CORE] DEBUG: Child Preforked (28455)
> [2011/08/31-10:49:47 - 28455] [CBPOLICYD] DEBUG: Starting up caching engine
> [2011/08/31-10:49:47 - 28456] [CORE] DEBUG: Child Preforked (28456)
> [2011/08/31-10:49:47 - 28456] [CBPOLICYD] DEBUG: Starting up caching engine
> [2011/08/31-10:49:47 - 28454] [CORE] DEBUG: Parent ready for children.
> [2011/08/31-10:49:47 - 28457] [CORE] DEBUG: Child Preforked (28457)
> [2011/08/31-10:49:47 - 28457] [CBPOLICYD] DEBUG: Starting up caching engine
> [2011/08/31-10:49:47 - 28458] [CORE] DEBUG: Child Preforked (28458)
> [2011/08/31-10:49:47 - 28458] [CBPOLICYD] DEBUG: Starting up caching engine
> [2011/08/31-10:50:41 - 28456] [CORE] INFO: 2011/08/31-10:50:41 CONNECT TCP 
> Peer: "127.0.0.1:40412" Local: "127.0.0.1:10031"
> [2011/08/31-10:50:41 - 28456] [PROTOCOLS/Postfix] DEBUG: Possible Postfix 
> protocol
> [2011/08/31-10:50:41 - 28456] [PROTOCOLS/Postfix] INFO: Identified Postfix 
> protocol
> [2011/08/31-10:50:41 - 28454] [CORE] INFO: Starting "1" children
> [2011/08/31-10:50:41 - 28456] [TRACKING] DEBUG: No session tracking data 
> exists for request: $VAR1 = {
>            'ccert_fingerprint' => '',
>            'sasl_method' => '',
>            'sasl_sender' => '',
>            'size' => '420',
>            '_timestamp' => 1314780641,
>            'helo_name' => '[10.2.21.19]',
>            'reverse_client_name' => 'xitx72sz.mueller.de',
>            'queue_id' => '',
>            'encryption_cipher' => '',
>            'encryption_protocol' => '',
>            'etrn_domain' => '',
>            'ccert_subject' => '',
>            'request' => 'smtpd_access_policy',
>            'protocol_state' => 'RCPT',
>            'stress' => '',
>            '_peer_address' => '127.0.0.1',
>            'recipient' => '[email protected]',
>            'sasl_username' => '',
>            'instance' => '6f2b.4e5df5e1.c0985.0',
>            'protocol_name' => 'ESMTP',
>            'encryption_keysize' => '0',
>            'recipient_count' => '0',
>            'ccert_issuer' => '',
>            'sender' => '[email protected]',
>            'client_name' => 'xitx72sz.mueller.de',
>            'client_address' => '10.2.21.19',
>            '_protocol_transport' => 'Postfix'
>          };
> [2011/08/31-10:50:41 - 28456] [TRACKING] DEBUG: Added session tracking 
> information for: $VAR1 = {
>            'ccert_fingerprint' => '',
>            'sasl_method' => '',
>            'sasl_sender' => '',
>            'size' => '420',
>            '_timestamp' => 1314780641,
>            'helo_name' => '[10.2.21.19]',
>            'reverse_client_name' => 'xitx72sz.mueller.de',
>            'queue_id' => '',
>            'encryption_cipher' => '',
>            'encryption_protocol' => '',
>            'etrn_domain' => '',
>            'ccert_subject' => '',
>            'request' => 'smtpd_access_policy',
>            'protocol_state' => 'RCPT',
>            'stress' => '',
>            '_peer_address' => '127.0.0.1',
>            'recipient' => '[email protected]',
>            'sasl_username' => '',
>            'instance' => '6f2b.4e5df5e1.c0985.0',
>            'protocol_name' => 'ESMTP',
>            'encryption_keysize' => '0',
>            'recipient_count' => '0',
>            'ccert_issuer' => '',
>            'sender' => '[email protected]',
>            'client_name' => 'xitx72sz.mueller.de',
>            'client_address' => '10.2.21.19',
>            '_protocol_transport' => 'Postfix'
>          };
> [2011/08/31-10:50:41 - 28462] [CORE] DEBUG: Child Preforked (28462)
> [2011/08/31-10:50:41 - 28456] [TRACKING] DEBUG: Protocol state is 'RCPT', 
> resolving policy...
> [2011/08/31-10:50:41 - 28456] [POLICIES] DEBUG: Going to resolve session data 
> into policy: $VAR1 = {
>            'Recipient' => '[email protected]',
>            'SASLUsername' => '',
>            'QueueID' => '',
>            '_PeerAddress' => bless( {
>                                       'raw_ip' => '127.0.0.1',
>                                       'ip' => '127.0.0.1',
>                                       'ip_version' => 4,
>                                       'cidr' => 32
>                                     }, 'awitpt::netip' ),
>            'RecipientData' => '',
>            'Instance' => '6f2b.4e5df5e1.c0985.0',
>            'EncryptionCipher' => '',
>            'Size' => '420',
>            'EncryptionKeySize' => '0',
>            'PeerAddress' => '127.0.0.1',
>            'EncryptionProtocol' => '',
>            'Helo' => '[10.2.21.19]',
>            'ClientAddress' => '10.2.21.19',
>            'ClientName' => 'xitx72sz.mueller.de',
>            'Sender' => '[email protected]',
>            'SASLSender' => '',
>            '_ClientAddress' => bless( {
>                                         'raw_ip' => '10.2.21.19',
>                                         'ip' => '10.2.21.19',
>                                         'ip_version' => 4,
>                                         'cidr' => 32
>                                       }, 'awitpt::netip' ),
>            'Protocol' => 'ESMTP',
>            'ClientReverseName' => 'xitx72sz.mueller.de',
>            'SASLMethod' => ''
>          };
> [2011/08/31-10:50:41 - 28456] [POLICIES] DEBUG: Found policy member with ID 
> '1' in policy 'Default'
> [2011/08/31-10:50:41 - 28456] [POLICIES] DEBUG: Found policy member with ID 
> '2' in policy 'Default Outbound'
> [2011/08/31-10:50:41 - 28456] [POLICIES] DEBUG: Found policy member with ID 
> '3' in policy 'Default Inbound'
> [2011/08/31-10:50:41 - 28456] [POLICIES] DEBUG: Found policy member with ID 
> '4' in policy 'Default Internal'
> [2011/08/31-10:50:41 - 28456] [POLICIES] DEBUG: [ID:1/Name:Default]: Source 
> not defined or 'any', explicit match: matched=1
> [2011/08/31-10:50:41 - 28456] [POLICIES] INFO: [ID:1/Name:Default]: Source 
> matching result: matched=1
> [2011/08/31-10:50:41 - 28456] [POLICIES] DEBUG: [ID:1/Name:Default]: 
> Destination not defined or 'any', explicit match: matched=1
> [2011/08/31-10:50:41 - 28456] [POLICIES] INFO: [ID:1/Name:Default]: 
> Destination matching result: matched=1
> [2011/08/31-10:50:41 - 28456] [POLICIES] DEBUG: [ID:2/Name:Default Outbound]: 
> Main policy sources '%internal_ips,%internal_domains'
> Can't call method "get" on an undefined value at 
> /usr/local/lib/policyd-2.1/awitpt/cache.pm line 256.
> [2011/08/31-10:50:41 - 28462] [CBPOLICYD] DEBUG: Starting up caching engine
> [2011/08/31-10:50:42 - 28455] [CORE] INFO: 2011/08/31-10:50:42 CONNECT TCP 
> Peer: "127.0.0.1:40413" Local: "127.0.0.1:10031"
> [2011/08/31-10:50:42 - 28455] [PROTOCOLS/Postfix] DEBUG: Possible Postfix 
> protocol
> [2011/08/31-10:50:42 - 28455] [PROTOCOLS/Postfix] INFO: Identified Postfix 
> protocol
> [2011/08/31-10:50:42 - 28454] [CORE] INFO: Starting "1" children
> [2011/08/31-10:50:42 - 28455] [TRACKING] DEBUG: Protocol state is 'RCPT', 
> resolving policy...
> [2011/08/31-10:50:42 - 28455] [POLICIES] DEBUG: Going to resolve session data 
> into policy: $VAR1 = {
>            'Recipient' => '[email protected]',
>            'SASLUsername' => '',
>            'QueueID' => '',
>            '_PeerAddress' => bless( {
>                                       'raw_ip' => '127.0.0.1',
>                                       'ip' => '127.0.0.1',
>                                       'ip_version' => 4,
>                                       'cidr' => 32
>                                     }, 'awitpt::netip' ),
>            'RecipientData' => undef,
>            'EncryptionCipher' => '',
>            'Instance' => '6f2b.4e5df5e1.c0985.0',
>            'Size' => '420',
>            'EncryptionKeySize' => '0',
>            'UnixTimestamp' => '1314780641',
>            'PeerAddress' => '127.0.0.1',
>            'EncryptionProtocol' => '',
>            'Helo' => '[10.2.21.19]',
>            'ClientAddress' => '10.2.21.19',
>            'ClientName' => 'xitx72sz.mueller.de',
>            'Sender' => '[email protected]',
>            'SASLSender' => '',
>            '_ClientAddress' => bless( {
>                                         'raw_ip' => '10.2.21.19',
>                                         'ip' => '10.2.21.19',
>                                         'ip_version' => 4,
>                                         'cidr' => 32
>                                       }, 'awitpt::netip' ),
>            'Protocol' => 'ESMTP',
>            'ClientReverseName' => 'xitx72sz.mueller.de',
>            'SASLMethod' => ''
>          };
> [2011/08/31-10:50:42 - 28455] [POLICIES] DEBUG: Found policy member with ID 
> '1' in policy 'Default'
> [2011/08/31-10:50:42 - 28455] [POLICIES] DEBUG: Found policy member with ID 
> '2' in policy 'Default Outbound'
> [2011/08/31-10:50:42 - 28455] [POLICIES] DEBUG: Found policy member with ID 
> '3' in policy 'Default Inbound'
> [2011/08/31-10:50:42 - 28455] [POLICIES] DEBUG: Found policy member with ID 
> '4' in policy 'Default Internal'
> [2011/08/31-10:50:42 - 28455] [POLICIES] DEBUG: [ID:1/Name:Default]: Source 
> not defined or 'any', explicit match: matched=1
> [2011/08/31-10:50:42 - 28455] [POLICIES] INFO: [ID:1/Name:Default]: Source 
> matching result: matched=1
> [2011/08/31-10:50:42 - 28455] [POLICIES] DEBUG: [ID:1/Name:Default]: 
> Destination not defined or 'any', explicit match: matched=1
> [2011/08/31-10:50:42 - 28455] [POLICIES] INFO: [ID:1/Name:Default]: 
> Destination matching result: matched=1
> [2011/08/31-10:50:42 - 28455] [POLICIES] DEBUG: [ID:2/Name:Default Outbound]: 
> Main policy sources '%internal_ips,%internal_domains'
> Can't call method "get" on an undefined value at 
> /usr/local/lib/policyd-2.1/awitpt/cache.pm line 256.
> [2011/08/31-10:50:42 - 28463] [CORE] DEBUG: Child Preforked (28463)
> [2011/08/31-10:50:42 - 28463] [CBPOLICYD] DEBUG: Starting up caching engine
>
> --->8---
>
> And here is the config (without #...):
>
> ---8<---
>
> [server]
> protocols=<<EOT
> Postfix
> EOT
> modules=<<EOT
> Core
> AccessControl
> Quotas
> EOT
> user=root
> group=root
> pid_file=/var/run/cbpolicyd/cbpolicyd.pid
> cache_file=/var/run/cbpolicyd/cache
> cache_file_user=root
> cache_file_group=root
> log_level=4
> log_mail=mail@syslog:unix
> log_detail=modules,tracking,policies,protocols,bizanga,cache
> host=127.0.0.1
> port=10031
> [database]
> DSN=DBI:mysql:database=policyd;host=localhost
> Username=root
> Password=geheim
> bypass_mode=tempfail
> bypass_timeout=30
> [AccessControl]
> enable=1
> [Accounting]
> enable=0
> [Amavis]
> enable=0 # Disabled by default
> [CheckHelo]
> enable=0
> [CheckSPF]
> enable=0
> [Greylisting]
> enable=0
> [Quotas]
> enable=1
>
> --->8---
>
> Can anyone help me please?
>
>

Can you detail what OS you're using, the version of perl and version of
Cache::FastMmap?

-N

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to