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).
packetdog
Posts: 4
Joined: Thu Apr 04, 2019 5:10 pm

Re: Installing Zimbra 8.8.12_GA_3794 on Ubuntu 18.04

Postby packetdog » Sat Apr 06, 2019 11:35 am

I thought I would add, literally changing the line:

Code: Select all

      s|(^destination mail [b]{[/b] file\("/var/log/mail"\); };)|#$1|;

to:

Code: Select all

      s|(^destination mail [b]\{[/b] file\("/var/log/mail"\); };)|#$1|;
...corrected this for me. This is line 190 in the file /opt/zimbra/libexec/zmsyslogsetup. It seems like it's due to more restrictive Perl code than anything in Zimbra.


axslingr
Advanced member
Advanced member
Posts: 175
Joined: Sat Sep 13, 2014 2:20 am
ZCS/ZD Version: Release 8.8.11.GA.3737.UBUNTU16.64

Re: Installing Zimbra 8.8.12_GA_3794 on Ubuntu 18.04

Postby axslingr » Sat Apr 06, 2019 1:49 pm

Kind of makes you wonder how that got past QC.

Lance
nowrap
Posts: 6
Joined: Sat Sep 13, 2014 12:21 am

Re: Installing Zimbra 8.8.12_GA_3794 on Ubuntu 18.04

Postby nowrap » Sat Apr 06, 2019 4:39 pm

zmstat-io is running on high cpu and io wa loads.

It's logging this many times a second:
Use of uninitialized value $line in pattern match (m//) at /opt/zimbra/libexec/zmstat-io line 76
maxim_al
Posts: 4
Joined: Mon Apr 08, 2019 5:34 am

Re: Installing Zimbra 8.8.12_GA_3794 on Ubuntu 18.04

Postby maxim_al » Mon Apr 08, 2019 5:40 am

nowrap wrote:zmstat-io is running on high cpu and io wa loads.

It's logging this many times a second:
Use of uninitialized value $line in pattern match (m//) at /opt/zimbra/libexec/zmstat-io line 76


I have this problem also.
How is it fix?
phoenix
Ambassador
Ambassador
Posts: 26345
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Installing Zimbra 8.8.12_GA_3794 on Ubuntu 18.04

Postby phoenix » Mon Apr 08, 2019 6:24 am

maxim_al wrote:
nowrap wrote:zmstat-io is running on high cpu and io wa loads.

It's logging this many times a second:
Use of uninitialized value $line in pattern match (m//) at /opt/zimbra/libexec/zmstat-io line 76


I have this problem also.
How is it fix?
Did you not see the fix for this problem at the top of the page (two posts above yours)?
Regards

Bill

Rspamd: A high performance spamassassin replacement

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
maxim_al
Posts: 4
Joined: Mon Apr 08, 2019 5:34 am

Re: Installing Zimbra 8.8.12_GA_3794 on Ubuntu 18.04

Postby maxim_al » Mon Apr 08, 2019 6:43 am

phoenix wrote:Did you not see the fix for this problem at the top of the page (two posts above yours)?

I'm sorry, but I don't understand, what is message that fix my problem?
nowrap
Posts: 6
Joined: Sat Sep 13, 2014 12:21 am

Re: Installing Zimbra 8.8.12_GA_3794 on Ubuntu 18.04

Postby nowrap » Mon Apr 08, 2019 8:22 am

The provided regex fix is for the syslog install error not for the zmstat-io error.
Right now i just stopped the zmstat as zimbra user.
maxim_al
Posts: 4
Joined: Mon Apr 08, 2019 5:34 am

Re: Installing Zimbra 8.8.12_GA_3794 on Ubuntu 18.04

Postby maxim_al » Mon Apr 08, 2019 10:25 pm

nowrap wrote:Right now i just stopped the zmstat as zimbra user.

How you do it?

Updated:
I'm find it, sorry

PS I cannot delete my post...
ponty
Posts: 3
Joined: Tue Jan 08, 2019 9:29 pm

Re: Installing Zimbra 8.8.12_GA_3794 on Ubuntu 18.04

Postby ponty » Fri Apr 12, 2019 5:11 am

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
Last edited by ponty on Fri Jul 26, 2019 6:09 pm, edited 1 time in total.
nowrap
Posts: 6
Joined: Sat Sep 13, 2014 12:21 am

Re: Installing Zimbra 8.8.12_GA_3794 on Ubuntu 18.04

Postby nowrap » Mon Apr 22, 2019 2:21 pm

Wanted to try the zmstat-io changes today, but:

Updating the ssl/tls cert seems not to work as before anymore:

Code: Select all

su - zimbra -c '/opt/zimbra/bin/zmcertmgr deploycrt comm ssl/letsencrypt/cert.pem ssl/letsencrypt/chain_x3.pem'
** Verifying 'ssl/letsencrypt/cert.pem' against '/opt/zimbra/ssl/zimbra/commercial/commercial.key'
Certificate 'ssl/letsencrypt/cert.pem' and private key '/opt/zimbra/ssl/zimbra/commercial/commercial.key' match.
** Verifying 'ssl/letsencrypt/cert.pem' against 'ssl/letsencrypt/chain_x3.pem'
Valid certificate chain: ssl/letsencrypt/cert.pem: OK
** Copying 'ssl/letsencrypt/cert.pem' to '/opt/zimbra/ssl/zimbra/commercial/commercial.crt'
** Copying 'ssl/letsencrypt/chain_x3.pem' to '/opt/zimbra/ssl/zimbra/commercial/commercial_ca.crt'
** Appending ca chain 'ssl/letsencrypt/chain_x3.pem' to '/opt/zimbra/ssl/zimbra/commercial/commercial.crt'
** Importing cert '/opt/zimbra/ssl/zimbra/commercial/commercial_ca.crt' as 'zcs-user-commercial_ca' into cacerts '/opt/zimbra/common/lib/jvm/java/lib/security/cacerts'
ERROR: cacerts keytool(-delete -alias zcs-user-commercial_ca) returned non-zero(1):
Warning: use -cacerts option to access cacerts keystore
keytool error: java.io.EOFException: Detect premature EOF
ERROR: cacerts keytool(-import -alias zcs-user-commercial_ca -noprompt -file /opt/zimbra/ssl/zimbra/commercial/commercial_ca.crt) returned non-zero(1):
Warning: use -cacerts option to access cacerts keystore
keytool error: java.io.EOFException: Detect premature EOF

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 5 guests