Fix Zimbra Mailbox Service not Starting



  • In our case we received the following error on the Zimbra Mailbox Log

    OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
    Unrecognized VM option 'PrintGCApplicationStoppedTime'
    

    So found the settings on the /opt/zimbra/conf/localconfig.xml were causing the issues for the mailbox service to start.

    Ran the following command as Zimbra user (Login as su zimbra)

    su zimbra
    

    Then modified the Zimbra configuration as below

    zmlocalconfig -e mailboxd_java_options="-server -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2 -Djdk.tls.client.protocols=TLSv1,TLSv1.1,TLSv1.2 -Djava.awt.headless=true -Dsun.net.inetaddr.ttl=${networkaddress_cache_ttl} -Dorg.apache.jasper.compiler.disablejsr199=true -XX:SoftRefLRUPolicyMSPerMB=1 -XX:-OmitStackTraceInFastThrow -verbose:gc -Xlog:gc:/opt/zimbra/log/gc.log -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/opt/zimbra/log -XX:ErrorFile=/opt/zimbra/log/hs_err_pid%p.log"
    

    Then restarted the Zimbra Services

    zmcontrol restart
    

    Then Zimbra was accessible once again.