Results 1 to 4 of 4

Thread: Zimbra and CBPolicyd

  1. #1
    Join Date
    Mar 2012
    Posts
    3
    Rep Power
    3

    Default Zimbra and CBPolicyd

    Hi,

    I enabled cbpolicyd in my zimbra server, it's ok, my problem is that every night at backup time I stop the zimbra make a snapshot and start the zimbra again, but cbpolicyd not start I get the error message:

    Code:
    [2012/03/09-00:01:11 - 27420] [CORE] NOTICE: 2012/03/09-00:01:11 Server closing!
    [2012/03/09-00:03:37 - 25394] [CORE] NOTICE: Process Backgrounded
    [2012/03/09-00:03:38 - 25394] [CBPOLICYD] NOTICE: Policyd v2 / Cluebringer - v2.0.10
    [2012/03/09-00:03:38 - 25394] [CBPOLICYD] NOTICE: Initializing system modules.
    [2012/03/09-00:03:38 - 25394] [CBPOLICYD] NOTICE: System modules initialized.
    [2012/03/09-00:03:38 - 25394] [CBPOLICYD] NOTICE: Module load started...
    [2012/03/09-00:03:38 - 25394] [CORE] NOTICE:   => AccessControl: enabled
    [2012/03/09-00:03:38 - 25394] [CORE] NOTICE:   => CheckHelo: enabled
    [2012/03/09-00:03:38 - 25394] [CORE] NOTICE:   => CheckSPF: enabled
    [2012/03/09-00:03:38 - 25394] [CORE] NOTICE:   => Greylisting: enabled
    [2012/03/09-00:03:38 - 25394] [CORE] NOTICE:   => Quotas: enabled
    [2012/03/09-00:03:38 - 25394] [CORE] NOTICE:   => Protocol(Postfix): enabled
    [2012/03/09-00:03:38 - 25394] [CORE] NOTICE:   => Protocol(Bizanga): enabled
    [2012/03/09-00:03:38 - 25394] [CBPOLICYD] NOTICE: Module load done.
    [2012/03/09-00:03:38 - 25394] [CORE] NOTICE: 2012/03/09-00:03:38 cbp (type Net::Server::PreFork) starting! pid(25394)
    [2012/03/09-00:03:38 - 25394] [CORE] INFO: Using IO::Socket::INET6 for [127.0.0.1]:10031, PF 2
    [2012/03/09-00:03:38 - 25394] [CORE] NOTICE: Using default listen value of 128
    [2012/03/09-00:03:38 - 25394] [CORE] NOTICE: Binding to TCP port 10031 on host 127.0.0.1, PF 2
    [2012/03/09-00:03:38 - 25394] [CORE] ERROR: 2012/03/09-00:03:38 Couldn't chown "/opt/zimbra/log/cbpolicyd.pid" [No such file or directory]
    
      at line 527 in file /opt/zimbra/zimbramon/lib/Net/Server.pm
    [2012/03/09-00:03:38 - 25394] [CORE] NOTICE: 2012/03/09-00:03:38 Server closing!
    How to I fix it?

  2. #2
    Join Date
    Mar 2012
    Posts
    3
    Rep Power
    3

    Default

    another error:

    Code:
    [2012/03/12-00:15:30 - 19110] [CORE] NOTICE: Process Backgrounded
    [2012/03/12-00:15:30 - 19110] [CORE] ERROR: 2012/03/12-00:15:30 Pid_file "/opt/zimbra/log/cbpolicyd.pid" not created.
    
      at line 318 in file /opt/zimbra/zimbramon/lib/Net/Server.pm
    [2012/03/12-00:15:30 - 19110] [CORE] NOTICE: 2012/03/12-00:15:30 Server closing!

  3. #3
    Join Date
    Mar 2012
    Posts
    3
    Rep Power
    3

    Default

    please any idea? is it lvm snapshot cause?

  4. #4
    Join Date
    Jul 2011
    Posts
    55
    Rep Power
    4

    Default

    Hello ualex,

    if I remember correctly version 7.1.3 had a misconfiguration in the default logrotate config...
    Check the /etc/logrotate.d/zimbra file, find the "/opt/zimbra/log/cbpolicyd.log" section and change

    this line:
    Code:
    create 0644 syslog adm
    to this:
    Code:
    create 0644 zimbra zimbra
    then change the ownership of the existing log file with
    Code:
    chown zimbra:zimbra /opt/zimbra/log/cbpolicyd.log
    and then restart the cbpolicyd service with
    Code:
    su - zimbra -c "zmcbpolicydctl restart"

    Hope this helps,
    Cine
    Cine - Community Manager - ZeXtras
    www.zextras.com

Similar Threads

  1. Updating Spamassassin In ZCS 7.1.2
    By LMStone in forum Administrators
    Replies: 7
    Last Post: 05-19-2013, 08:09 AM
  2. Mysql.server Does Not Start
    By carnold in forum Administrators
    Replies: 7
    Last Post: 01-16-2012, 06:13 AM
  3. Zimbra don't start
    By cadinor in forum Migration
    Replies: 1
    Last Post: 08-04-2011, 05:27 PM
  4. Zimbra 7 integration with cbpolicyd
    By mmadeira in forum Administrators
    Replies: 0
    Last Post: 03-04-2011, 05:57 AM
  5. Issues after upgrading from 6.0.10 to 7
    By rhorist in forum Administrators
    Replies: 8
    Last Post: 02-25-2011, 07:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •