How To Install CBPolicyd on Zimbra 8.6

Step 1: To active cbpolicyd on zimbra 8.6

$su - zimbra
$zmprov ms `zmhostname` +zimbraServiceInstalled cbpolicyd +zimbraServiceEnabled cbpolicyd

Step 2: To acctive cbpolicyd webui

cd /opt/zimbra/httpd/htdocs/ && ln -s ../../cbpolicyd/share/webui
vim /opt/zimbra/cbpolicyd/share/webui/includes/config.php
To add "$DB_DSN="sqlite:/opt/zimbra/data/cbpolicyd/db/cbpolicyd.sqlitedb";" in config.php file.
The ouput:
#$DB_DSN="mysql:host=localhost;dbname=cluebringer";
$DB_DSN="sqlite:/opt/zimbra/data/cbpolicyd/db/cbpolicyd.sqlitedb";
$DB_USER="root";
#$DB_PASS="";
$DB_TABLE_PREFIX="";

Step 3: To restart services

su - zimbra -c "zmcontrol restart"
su - zimbra -c "zmapachectl restart"

Step 4: To access cbpolicyd webui.


http://IP-OF-Zimbra:7780/webui/index.php
How To Install CBPolicyd on Zimbra 8.6


Comments

Popular posts from this blog

zimbra some services are not running [Solve problem]

Bash script list all IP addresses connected to Server

How to install php7 on centos 6