Zimbra for Ubuntu 18.04 ?
- axslingr
- 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 ?
Opened up a case with Zimbra. Will continue posting in this new thread.
viewtopic.php?f=13&t=65930&p=289406#p289406
viewtopic.php?f=13&t=65930&p=289406#p289406
Re: Zimbra for Ubuntu 18.04 ?
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
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
- axslingr
- 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 ?
No updates that I know of. Guess we just have to wait for the patch. It is a confirmed bug though.
Lance
Lance
Re: Zimbra for Ubuntu 18.04 ?
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 ?
@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; }
- DualBoot
- 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 ?
into /opt/zimbra/libexec/ folder
Re: Zimbra for Ubuntu 18.04 ?
Thanks @DualBoot, will be looking into it.
DualBoot wrote:into /opt/zimbra/libexec/ folder
Re: Zimbra for Ubuntu 18.04 ?
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!
As workaround I have stopped it (zmstatctl stop) but that's not a permanent solution. :/
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.
-
- Posts: 1
- Joined: Fri Aug 16, 2019 11:51 am
Re: Zimbra for Ubuntu 18.04 ?
Wrong code:
while ($line !~ /^avg-cpu/ && $line !~ /^Device:/) {
Corrected code:
while ($line !~ /^avg-cpu/ && $line !~ /^Device/) {
while ($line !~ /^avg-cpu/ && $line !~ /^Device:/) {
Corrected code:
while ($line !~ /^avg-cpu/ && $line !~ /^Device/) {
Re: Zimbra for Ubuntu 18.04 ?
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.