zimbra 8.8.10 cbpolicyd problem

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
zgokan
Advanced member
Advanced member
Posts: 171
Joined: Sun Apr 17, 2016 8:58 am

zimbra 8.8.10 cbpolicyd problem

Post by zgokan »

Hello

The service does not start. I get an error as follows. What could be the problem? (I did a new installation.)

Code: Select all

Release 8.8.10_GA_3039.RHEL7_64_20180928094617 RHEL7_64 FOSS edition.

Code: Select all

[2018/10/06-21:56:16 - 30643] [CORE] NOTICE: Process Backgrounded
[2018/10/06-21:56:16 - 30643] [CBPOLICYD] NOTICE: PolicyD v2 / Cluebringer - v2.1.x-201205100639
[2018/10/06-21:56:16 - 30643] [CBPOLICYD] NOTICE: Initializing system modules.
[2018/10/06-21:56:16 - 30643] [CBPOLICYD] NOTICE: System modules initialized.
[2018/10/06-21:56:16 - 30643] [CBPOLICYD] NOTICE: Module load started...
[2018/10/06-21:56:16 - 30643] [CORE] NOTICE:   => AccessControl: disabled
[2018/10/06-21:56:16 - 30643] [CORE] NOTICE:   => Accounting: disabled
[2018/10/06-21:56:16 - 30643] [CORE] NOTICE:   => Amavis: disabled
[2018/10/06-21:56:16 - 30643] [CORE] NOTICE:   => CheckHelo: disabled

[2018/10/06-21:56:16 - 30643] [CORE] NOTICE:   => Greylisting: disabled
[2018/10/06-21:56:16 - 30643] [CORE] NOTICE:   => Quotas: enabled
[2018/10/06-21:56:16 - 30643] [CORE] NOTICE:   => Protocol(Postfix): enabled
[2018/10/06-21:56:16 - 30643] [CBPOLICYD] NOTICE: Module load done.
[2018/10/06-21:56:16 - 30643] [CBPOLICYD] NOTICE: Session tracking is ENABLED.
[2018/10/06-21:56:16 - 30643] [CORE] NOTICE: 2018/10/06-21:56:16 cbp (type Net::Server::PreFork) starting! pid(30643)
[2018/10/06-21:56:16 - 30643] [CORE] NOTICE: Resolved [localhost]:10031 to [127.0.0.1]:10031, IPv4
[2018/10/06-21:56:16 - 30643] [CORE] NOTICE: Resolved [localhost]:10031 to [::1]:10031, IPv6
[2018/10/06-21:56:16 - 30643] [CORE] NOTICE: Binding to TCP port 10031 on host 127.0.0.1 with IPv4
[2018/10/06-21:56:16 - 30643] [CORE] NOTICE: Binding to TCP port 10031 on host ::1 with IPv6
[2018/10/06-21:56:16 - 30643] [CORE] ERROR: 2018/10/06-21:56:16 Can't connect to TCP port 10031 on ::1 [Cannot assign requested address]
  at line 68 in file /opt/zimbra/common/lib/perl5/Net/Server/Proto/TCP.pm
[2018/10/06-21:56:16 - 30643] [CORE] NOTICE: 2018/10/06-21:56:16 Server closing!

Old server path webui:

Code: Select all

[zimbra@mail ~]$ ls -l /opt/zimbra/common/share/webui/
total 548
-rw-r--r-- 1 root root  3968 Dec 30  2015 accesscontrol-add.php
-rw-r--r-- 1 root root  6328 Dec 30  2015 accesscontrol-change.php
-rw-r--r-- 1 root root  2642 Dec 30  2015 accesscontrol-delete.php
-rw-r--r-- 1 root root  3438 Dec 30  2015 accesscontrol-main.php
-rw-r--r-- 1 root root  6518 Dec 30  2015 accounting-add.php
-rw-r--r-- 1 root root 10177 Dec 30  2015 accounting-change.php
-rw-r--r-- 1 root root  3330 Dec 30  2015 accounting-delete.php
-rw-r--r-- 1 root root  4355 Dec 30  2015 accounting-main.php
-rw-r--r-- 1 root root 34133 Dec 30  2015 amavis-add.php
-rw-r--r-- 1 root root 46234 Dec 30  2015 amavis-change.php
-rw-r--r-- 1 root root  2554 Dec 30  2015 amavis-delete.php
-rw-r--r-- 1 root root  3136 Dec 30  2015 amavis-main.php
-rw-r--r-- 1 root root  7612 Dec 30  2015 checkhelo-add.php
-rw-r--r-- 1 root root  2592 Dec 30  2015 checkhelo-blacklist-add.php
-rw-r--r-- 1 root root  4224 Dec 30  2015 checkhelo-blacklist-change.php
-rw-r--r-- 1 root root  2669 Dec 30  2015 checkhelo-blacklist-delete.php
-rw-r--r-- 1 root root  2836 Dec 30  2015 checkhelo-blacklist-main.php
-rw-r--r-- 1 root root 13399 Dec 30  2015 checkhelo-change.php
-rw-r--r-- 1 root root  2608 Dec 30  2015 checkhelo-delete.php
-rw-r--r-- 1 root root  3133 Dec 30  2015 checkhelo-main.php
-rw-r--r-- 1 root root  2771 Dec 30  2015 checkhelo-whitelist-add.php
-rw-r--r-- 1 root root  4429 Dec 30  2015 checkhelo-whitelist-change.php
-rw-r--r-- 1 root root  2670 Dec 30  2015 checkhelo-whitelist-delete.php
-rw-r--r-- 1 root root  2839 Dec 30  2015 checkhelo-whitelist-main.php
-rw-r--r-- 1 root root  4672 Dec 30  2015 checkspf-add.php
-rw-r--r-- 1 root root  8085 Dec 30  2015 checkspf-change.php
-rw-r--r-- 1 root root  2553 Dec 30  2015 checkspf-delete.php
-rw-r--r-- 1 root root  3116 Dec 30  2015 checkspf-main.php
-rw-r--r-- 1 root root  9686 Dec 30  2015 greylisting-add.php
-rw-r--r-- 1 root root 19217 Dec 30  2015 greylisting-change.php
-rw-r--r-- 1 root root  2600 Dec 30  2015 greylisting-delete.php
-rw-r--r-- 1 root root  3379 Dec 30  2015 greylisting-main.php
-rw-r--r-- 1 root root  2799 Dec 30  2015 greylisting-whitelist-add.php
-rw-r--r-- 1 root root  4451 Dec 30  2015 greylisting-whitelist-change.php
-rw-r--r-- 1 root root  2690 Dec 30  2015 greylisting-whitelist-delete.php
-rw-r--r-- 1 root root  2851 Dec 30  2015 greylisting-whitelist-main.php
drwxr-xr-x 2 root root  4096 Aug 28  2016 images
drwxr-xr-x 2 root root  4096 Jul 15 20:39 includes
-rw-r--r-- 1 root root  5038 Dec 30  2015 index.php
-rw-r--r-- 1 root root  2928 Dec 30  2015 policy-add.php
-rw-r--r-- 1 root root  4335 Dec 30  2015 policy-change.php
-rw-r--r-- 1 root root  5792 Dec 30  2015 policy-delete.php
-rw-r--r-- 1 root root  2433 Dec 30  2015 policy-group-add.php
-rw-r--r-- 1 root root  3660 Dec 30  2015 policy-group-change.php
-rw-r--r-- 1 root root  3142 Dec 30  2015 policy-group-delete.php
-rw-r--r-- 1 root root  2820 Dec 30  2015 policy-group-main.php
-rw-r--r-- 1 root root  2753 Dec 30  2015 policy-group-member-add.php
-rw-r--r-- 1 root root  4494 Dec 30  2015 policy-group-member-change.php
-rw-r--r-- 1 root root  2910 Dec 30  2015 policy-group-member-delete.php
-rw-r--r-- 1 root root  3540 Dec 30  2015 policy-group-member-main.php
-rw-r--r-- 1 root root  3070 Dec 30  2015 policy-main.php
-rw-r--r-- 1 root root  3224 Dec 30  2015 policy-member-add.php
-rw-r--r-- 1 root root  5039 Dec 30  2015 policy-member-change.php
-rw-r--r-- 1 root root  2770 Dec 30  2015 policy-member-delete.php
-rw-r--r-- 1 root root  3616 Dec 30  2015 policy-member-main.php
-rw-r--r-- 1 root root  3228 Dec 30  2015 postfix-aliases-add.php
-rw-r--r-- 1 root root  3933 Dec 30  2015 postfix-aliases-change.php
-rw-r--r-- 1 root root  2626 Dec 30  2015 postfix-aliases-delete.php
-rw-r--r-- 1 root root  2793 Dec 30  2015 postfix-aliases-main.php
-rw-r--r-- 1 root root  3277 Dec 30  2015 postfix-distgroups-add.php
-rw-r--r-- 1 root root  3968 Dec 30  2015 postfix-distgroups-change.php
-rw-r--r-- 1 root root  3186 Dec 30  2015 postfix-distgroups-delete.php
-rw-r--r-- 1 root root  2917 Dec 30  2015 postfix-distgroups-main.php
-rw-r--r-- 1 root root  2473 Dec 30  2015 postfix-distgroups-member-add.php
-rw-r--r-- 1 root root  4060 Dec 30  2015 postfix-distgroups-member-change.php
-rw-r--r-- 1 root root  3007 Dec 30  2015 postfix-distgroups-member-delete.php
-rw-r--r-- 1 root root  3681 Dec 30  2015 postfix-distgroups-member-main.php
-rw-r--r-- 1 root root  4240 Dec 30  2015 postfix-mailboxes-add.php
-rw-r--r-- 1 root root  5552 Dec 30  2015 postfix-mailboxes-change.php
-rw-r--r-- 1 root root  3652 Dec 30  2015 postfix-mailboxes-delete.php
-rw-r--r-- 1 root root  2845 Dec 30  2015 postfix-mailboxes-main.php
-rw-r--r-- 1 root root  3579 Dec 30  2015 postfix-transports-add.php
-rw-r--r-- 1 root root  4642 Dec 30  2015 postfix-transports-change.php
-rw-r--r-- 1 root root  2694 Dec 30  2015 postfix-transports-delete.php
-rw-r--r-- 1 root root  2826 Dec 30  2015 postfix-transports-main.php
-rw-r--r-- 1 root root  5646 Dec 30  2015 quotas-add.php
-rw-r--r-- 1 root root  8294 Dec 30  2015 quotas-change.php
-rw-r--r-- 1 root root  4428 Dec 30  2015 quotas-delete.php
-rw-r--r-- 1 root root  3093 Dec 30  2015 quotas-limits-add.php
-rw-r--r-- 1 root root  4837 Dec 30  2015 quotas-limits-change.php
-rw-r--r-- 1 root root  2758 Dec 30  2015 quotas-limits-delete.php
-rw-r--r-- 1 root root  3627 Dec 30  2015 quotas-limits-main.php
-rw-r--r-- 1 root root  3799 Dec 30  2015 quotas-main.php
-rw-r--r-- 1 root root  3601 Dec 30  2015 stylesheet.css
drwxr-xr-x 2 root root  4096 Aug 28  2016 tooltips
--- New server:

Code: Select all


[zimbra@mail ~]$ ls -l /opt/zimbra/common/share/webui/
empty

Code: Select all


[zimbra@mail ~]$ sqlite3 /opt/zimbra/data/cbpolicyd/db/cbpolicyd.sqlitedb
SQLite version 3.7.17 2013-05-20 00:56:22
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> .tables
access_control             greylisting_autowhitelist
accounting                 greylisting_tracking     
accounting_tracking        greylisting_whitelist    
amavis_rules               policies                 
checkhelo                  policy_group_members     
checkhelo_blacklist        policy_groups            
checkhelo_tracking         policy_members           
checkhelo_whitelist        quotas                   
checkspf                   quotas_limits            
greylisting                quotas_tracking          
greylisting_autoblacklist  session_tracking         
sqlite> 
sqlite> select * from sqlite_sequence;
policies|5
policy_members|5
policy_groups|2
policy_group_members|6
amavis_rules|1
quotas|2
quotas_limits|3
checkhelo_blacklist|4

Post Reply