Installing Zimbra 8.8.12_GA_3794 on Ubuntu 18.04

Ask questions about your setup or get help installing ZCS server (ZD section below).
RomanI
Posts: 15
Joined: Mon Jul 08, 2019 6:27 pm

Re: Installing Zimbra 8.8.12_GA_3794 on Ubuntu 18.04

Post by RomanI »

thanks jamyles

sorry I missed that in the changes you made....
ponty
Posts: 3
Joined: Tue Jan 08, 2019 9:29 pm

Re: Installing Zimbra 8.8.12_GA_3794 on Ubuntu 18.04

Post by ponty »

I upgraded to 8.8.15 and had to reapply this fix, as well as the fixes for the log files mentioned earlier in the thread.
ponty wrote:Regarding the zmstat.out messages that are filling up your hard drive, "Use of uninitialized value $line in pattern match (m//) at /opt/zimbra/libexec/zmstat-io line 76" ...

I'm not sure if this will break anything else, as I'm really not an expert. However, after reviewing the output of iostat that's ready by zmstat-io, (/opt/zimbra/libexec/zmstat-io) I noticed that "Device" in the iostat output doesn't contain a ":" as it appears to be looking for in the script (Device:). So here's what I did--it at least stopped the messages from filling up the zmstat.out file that quickly fills up the hard drive:

login as zimbra and stop zmstat: zmstatctl stop
edit /opt/zimbra/libexec/zmstat-io
replace all "Device:" with "Device" (in vi, put ":%s/Device:/Device/g" without quotes) and save.
delete the /opt/zimbra/zmstat/zmstat.log file that is probably huge.
restart zmstat: zmstatctl start
Offending, space-filling messages should be all gone!

I hope this helps. Let me know what you think.

Ponty
oda
Posts: 5
Joined: Mon Aug 06, 2018 8:32 pm

Re: Installing Zimbra 8.8.12_GA_3794 on Ubuntu 18.04

Post by oda »

Hi, thanks for the solution with growing of zmstat.out. But I have another one problem with 8.8.15GA and Ubuntu 18.04.2 LTS amd64 - admin console doesn't see statistics of services running and guess that all of them all down.

zmcontrol status says that almost everything is okey but:

Code: Select all

root@vm-zimbra12:~# su - zimbra
zimbra@vm-zimbra12:~$ zmcontrol restart
Host email.ourdomain.com
        Stopping vmware-ha...Done.
        Stopping zmconfigd...Done.
        Stopping zimlet webapp...Done.
        Stopping zimbraAdmin webapp...Done.
        Stopping zimbra webapp...Done.
        Stopping service webapp...Done.
        Stopping stats...Done.
        Stopping mta...Done.
        Stopping spell...Done.
        Stopping snmp...Done.
        Stopping cbpolicyd...Done.
        Stopping archiving...Done.
        Stopping opendkim...Done.
        Stopping amavis...Done.
        Stopping antivirus...Done.
        Stopping antispam...Done.
        Stopping proxy...Done.
        Stopping memcached...Done.
        Stopping mailbox...Done.
        Stopping convertd...Done.
        Stopping logger...Done.
        Stopping dnscache...Done.
        Stopping ldap...Done.
Host email.ourdomain.com
        Starting ldap...Done.
        Starting zmconfigd...Done.
        Starting logger...Failed.
Starting logswatch...failed.


        Starting convertd...Done.
        Starting mailbox...Done.
        Starting memcached...Done.
        Starting amavis...Done.
        Starting opendkim...Done.
        Starting snmp...Done.
        Starting spell...Done.
        Starting mta...Done.
        Starting stats...Done.
        Starting service webapp...Done.
        Starting zimbra webapp...Done.
        Starting zimbraAdmin webapp...Done.
        Starting zimlet webapp...Done.
zimbra@vm-zimbra12:~$ zmcontrol status
Host email.ourdomain.com
        amavis                  Running
        convertd                Running
        ldap                    Running
        logger                  Stopped
                zmlogswatchctl is not running
        mailbox                 Running
        memcached               Running
        mta                     Running
        opendkim                Running
        service webapp          Running
        snmp                    Running
        spell                   Running
        stats                   Running
        zimbra webapp           Running
        zimbraAdmin webapp      Running
        zimlet webapp           Running
        zmconfigd               Running
UPDATE: I have applied all patches from this thread but in adminConsole I still see no services running although in syslog everything is ok and in /opt/zimbra/logger there are now non-empty files with results of zmlogswatch working.
oda
Posts: 5
Joined: Mon Aug 06, 2018 8:32 pm

Re: Installing Zimbra 8.8.12_GA_3794 on Ubuntu 18.04

Post by oda »

I just needed to wait a bit. Server statistics now works. Thank you guys.
Post Reply