Zimbra for Ubuntu 18.04 ?

Ask questions about your setup or get help installing ZCS server (ZD section below).
User avatar
axslingr
Outstanding Member
Outstanding Member
Posts: 256
Joined: Sat Sep 13, 2014 2:20 am
ZCS/ZD Version: 8.8.15.GA.3869.UBUNTU18.64 UBUNTU18

Re: Zimbra for Ubuntu 18.04 ?

Post by axslingr »

Opened up a case with Zimbra. Will continue posting in this new thread.

viewtopic.php?f=13&t=65930&p=289406#p289406
buruguduy
Posts: 46
Joined: Sat Oct 22, 2016 1:20 pm

Re: Zimbra for Ubuntu 18.04 ?

Post 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
User avatar
axslingr
Outstanding Member
Outstanding Member
Posts: 256
Joined: Sat Sep 13, 2014 2:20 am
ZCS/ZD Version: 8.8.15.GA.3869.UBUNTU18.64 UBUNTU18

Re: Zimbra for Ubuntu 18.04 ?

Post by axslingr »

No updates that I know of. Guess we just have to wait for the patch. It is a confirmed bug though.

Lance
User avatar
ppearl
Advanced member
Advanced member
Posts: 114
Joined: Thu May 15, 2014 7:36 am

Re: Zimbra for Ubuntu 18.04 ?

Post 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;
     }
buruguduy
Posts: 46
Joined: Sat Oct 22, 2016 1:20 pm

Re: Zimbra for Ubuntu 18.04 ?

Post 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;
     }
User avatar
DualBoot
Elite member
Elite member
Posts: 1326
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: Zimbra for Ubuntu 18.04 ?

Post by DualBoot »

into /opt/zimbra/libexec/ folder
buruguduy
Posts: 46
Joined: Sat Oct 22, 2016 1:20 pm

Re: Zimbra for Ubuntu 18.04 ?

Post by buruguduy »

Thanks @DualBoot, will be looking into it.
DualBoot wrote:into /opt/zimbra/libexec/ folder
yakuraku1
Posts: 7
Joined: Fri Mar 30, 2018 11:43 am

Re: Zimbra for Ubuntu 18.04 ?

Post 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. :/
steep_zero
Posts: 1
Joined: Fri Aug 16, 2019 11:51 am

Re: Zimbra for Ubuntu 18.04 ?

Post by steep_zero »

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


Corrected code:
while ($line !~ /^avg-cpu/ && $line !~ /^Device/) {
pbar
Posts: 2
Joined: Sat Sep 14, 2019 11:57 am

Re: Zimbra for Ubuntu 18.04 ?

Post 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.
Post Reply