Page 3 of 3

Re: Zimbra for Ubuntu 18.04 ?

Posted: Wed Apr 03, 2019 9:27 pm
by axslingr
Opened up a case with Zimbra. Will continue posting in this new thread.

viewtopic.php?f=13&t=65930&p=289406#p289406

Re: Zimbra for Ubuntu 18.04 ?

Posted: Thu Apr 11, 2019 7:29 am
by buruguduy
Any update on this? I've tried to setup from scratch but is getting the same syslog error. Has the installer been updated? I've downloaded last April 2.

I've found similar post regarding the same error with perhaps a workaround which I have not tried:
viewtopic.php?f=13&t=65930&start=10

Re: Zimbra for Ubuntu 18.04 ?

Posted: Thu Apr 11, 2019 3:20 pm
by axslingr
No updates that I know of. Guess we just have to wait for the patch. It is a confirmed bug though.

Lance

Re: Zimbra for Ubuntu 18.04 ?

Posted: Thu Apr 11, 2019 5:11 pm
by ppearl
The fix is to escape that opening brace that perl is complaining about.

Code: Select all

diff --git a/src/libexec/zmsyslogsetup b/src/libexec/zmsyslogsetup
index 571063e2..840b644b 100755
--- a/src/libexec/zmsyslogsetup
+++ b/src/libexec/zmsyslogsetup
@@ -187,7 +187,7 @@ sub updateSyslogNG {
       s/(^log.*f_mailwarn)/#$1/;
       s/(^destination mailerr.*)/#$1/;
       s/(^log.*f_mailerr)/#$1/;
-      s|(^destination mail { file\("/var/log/mail"\); };)|#$1|;
+      s|(^destination mail \{ file\("/var/log/mail"\); };)|#$1|;
       s/(^log.*filter\(f_mail\); destination\(mail\); };)/#$1/;
       print;
     }

Re: Zimbra for Ubuntu 18.04 ?

Posted: Fri Apr 12, 2019 6:52 am
by buruguduy
@ppearl, what file would that be? Is it in the installer or the inside /opt/zimbra? When I was installing, the error came up that logger failed so it was not configured.


ppearl wrote:The fix is to escape that opening brace that perl is complaining about.

Code: Select all

diff --git a/src/libexec/zmsyslogsetup b/src/libexec/zmsyslogsetup
index 571063e2..840b644b 100755
--- a/src/libexec/zmsyslogsetup
+++ b/src/libexec/zmsyslogsetup
@@ -187,7 +187,7 @@ sub updateSyslogNG {
       s/(^log.*f_mailwarn)/#$1/;
       s/(^destination mailerr.*)/#$1/;
       s/(^log.*f_mailerr)/#$1/;
-      s|(^destination mail { file\("/var/log/mail"\); };)|#$1|;
+      s|(^destination mail \{ file\("/var/log/mail"\); };)|#$1|;
       s/(^log.*filter\(f_mail\); destination\(mail\); };)/#$1/;
       print;
     }

Re: Zimbra for Ubuntu 18.04 ?

Posted: Fri Apr 12, 2019 3:20 pm
by DualBoot
into /opt/zimbra/libexec/ folder

Re: Zimbra for Ubuntu 18.04 ?

Posted: Mon Apr 15, 2019 12:56 am
by buruguduy
Thanks @DualBoot, will be looking into it.

DualBoot wrote:into /opt/zimbra/libexec/ folder

Re: Zimbra for Ubuntu 18.04 ?

Posted: Mon Apr 15, 2019 12:58 pm
by yakuraku1
Is there a patch for Ubuntu 18.04 LTS incoming for zmstat-io?

On my fresh installed system, /opt/zimbra/zmstat/zmstat.out is spammed with this entries until the disk is full!

Code: Select all

Use of uninitialized value $line in pattern match (m//) at /opt/zimbra/libexec/zmstat-io line 76.


As workaround I have stopped it (zmstatctl stop) but that's not a permanent solution. :/

Re: Zimbra for Ubuntu 18.04 ?

Posted: Fri Aug 16, 2019 11:54 am
by steep_zero
Wrong code:
while ($line !~ /^avg-cpu/ && $line !~ /^Device:/) {


Corrected code:
while ($line !~ /^avg-cpu/ && $line !~ /^Device/) {

Re: Zimbra for Ubuntu 18.04 ?

Posted: Sat Sep 14, 2019 12:08 pm
by pbar
How to configure logger for Ubuntu 18.04 ? Ubuntu 18.04 has not file /etc/sysconfig/rsyslog how to add -r key to the SYSLOGD_OPTIONS setting.