8.8.15 Patch 10 and 9.0.0 Patch 3 Released

Ask questions about your setup or get help installing ZCS server (ZD section below).
Andy
Posts: 13
Joined: Mon Jun 08, 2020 2:09 pm

Re: 8.8.15 Patch 10 and 9.0.0 Patch 3 Released

Postby Andy » Mon Jun 08, 2020 3:10 pm

L. Mark Stone wrote:
Andy wrote:Release 8.8.15_GA_3829.RHEL6_64_20190718141144 RHEL6_64 FOSS edition, Patch 8.8.15_P10.

Problem with status in Admin Console - all RED but working ok - zmcontrol status all up
Is't the same problem like in:
Known Issues

Zimbra Collaboration on RHEL 8 (beta), Monitor -> Server Status shows all the services as stopped even when the services are running on the server.

Can I repair this?


Hi Andy and welcome to the forums!

This sounds like the same problem I had. To fix, I ran (as root) /opt/zimbra/libexec/zmsyslogsetup on the logger host, and then restarted the syslog service.

Hope that helps,
Mark



nope :(

permissions of /var/spool/cron/zimbra file it should be owned by zimbra or root?

Andy


User avatar
L. Mark Stone
Elite member
Elite member
Posts: 2198
Joined: Wed Oct 09, 2013 11:35 am
Location: Portland, Maine, US
ZCS/ZD Version: 8.8.15 Network Edition
Contact:

Re: 8.8.15 Patch 10 and 9.0.0 Patch 3 Released

Postby L. Mark Stone » Mon Jun 08, 2020 3:15 pm

Andy wrote:
L. Mark Stone wrote:
Andy wrote:Release 8.8.15_GA_3829.RHEL6_64_20190718141144 RHEL6_64 FOSS edition, Patch 8.8.15_P10.

Problem with status in Admin Console - all RED but working ok - zmcontrol status all up
Is't the same problem like in:
Known Issues

Zimbra Collaboration on RHEL 8 (beta), Monitor -> Server Status shows all the services as stopped even when the services are running on the server.

Can I repair this?


Hi Andy and welcome to the forums!

This sounds like the same problem I had. To fix, I ran (as root) /opt/zimbra/libexec/zmsyslogsetup on the logger host, and then restarted the syslog service.

Hope that helps,
Mark



nope :(

permissions of /var/spool/cron/zimbra file it should be owned by zimbra or root?

Andy


I have no such file:

Code: Select all

root@mail2:~# ls -alh /var/spool/cron/
total 20K
drwxr-xr-x 5 root   root    4.0K Oct  2  2019 .
drwxr-xr-x 4 root   root    4.0K Oct  2  2019 ..
drwxrwx--T 2 daemon daemon  4.0K Oct  2  2019 atjobs
drwxrwx--T 2 daemon daemon  4.0K Feb 20  2018 atspool
drwx-wx--T 2 root   crontab 4.0K May 25 18:00 crontabs
root@mail2:~#


Are you getting entries populated in /var/log/zimbra.log? Single or multi-server?

Mark
___________________________________
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
Zeta Alliance http://www.zetalliance.org/
Andy
Posts: 13
Joined: Mon Jun 08, 2020 2:09 pm

Re: 8.8.15 Patch 10 and 9.0.0 Patch 3 Released

Postby Andy » Mon Jun 08, 2020 3:25 pm

L. Mark Stone wrote:
Andy wrote:
L. Mark Stone wrote:
Hi Andy and welcome to the forums!

This sounds like the same problem I had. To fix, I ran (as root) /opt/zimbra/libexec/zmsyslogsetup on the logger host, and then restarted the syslog service.

Hope that helps,
Mark



nope :(

permissions of /var/spool/cron/zimbra file it should be owned by zimbra or root?

Andy


I have no such file:

Code: Select all

root@mail2:~# ls -alh /var/spool/cron/
total 20K
drwxr-xr-x 5 root   root    4.0K Oct  2  2019 .
drwxr-xr-x 4 root   root    4.0K Oct  2  2019 ..
drwxrwx--T 2 daemon daemon  4.0K Oct  2  2019 atjobs
drwxrwx--T 2 daemon daemon  4.0K Feb 20  2018 atspool
drwx-wx--T 2 root   crontab 4.0K May 25 18:00 crontabs
root@mail2:~#


Are you getting entries populated in /var/log/zimbra.log? Single or multi-server?

Mark


yes, I getting entries in /var/log/zimbra and it's single instalation

Andy
Andy
Posts: 13
Joined: Mon Jun 08, 2020 2:09 pm

Re: 8.8.15 Patch 10 and 9.0.0 Patch 3 Released

Postby Andy » Mon Jun 08, 2020 3:55 pm

Andy wrote:
L. Mark Stone wrote:
Andy wrote:

nope :(

permissions of /var/spool/cron/zimbra file it should be owned by zimbra or root?

Andy


I have no such file:

Code: Select all

root@mail2:~# ls -alh /var/spool/cron/
total 20K
drwxr-xr-x 5 root   root    4.0K Oct  2  2019 .
drwxr-xr-x 4 root   root    4.0K Oct  2  2019 ..
drwxrwx--T 2 daemon daemon  4.0K Oct  2  2019 atjobs
drwxrwx--T 2 daemon daemon  4.0K Feb 20  2018 atspool
drwx-wx--T 2 root   crontab 4.0K May 25 18:00 crontabs
root@mail2:~#


Are you getting entries populated in /var/log/zimbra.log? Single or multi-server?

Mark


yes, I getting entries in /var/log/zimbra and it's single instalation

Andy


In addition, I do not receive messages about the change of service status, e.g. after a system restart. However, I get the daily mail report. What's happening? I did a commercial certificate update but everything went well. All services work correctly only in the administrative console, the service status is bad.
User avatar
L. Mark Stone
Elite member
Elite member
Posts: 2198
Joined: Wed Oct 09, 2013 11:35 am
Location: Portland, Maine, US
ZCS/ZD Version: 8.8.15 Network Edition
Contact:

Re: 8.8.15 Patch 10 and 9.0.0 Patch 3 Released

Postby L. Mark Stone » Mon Jun 08, 2020 5:43 pm

Andy wrote:
Andy wrote:
L. Mark Stone wrote:
I have no such file:

Code: Select all

root@mail2:~# ls -alh /var/spool/cron/
total 20K
drwxr-xr-x 5 root   root    4.0K Oct  2  2019 .
drwxr-xr-x 4 root   root    4.0K Oct  2  2019 ..
drwxrwx--T 2 daemon daemon  4.0K Oct  2  2019 atjobs
drwxrwx--T 2 daemon daemon  4.0K Feb 20  2018 atspool
drwx-wx--T 2 root   crontab 4.0K May 25 18:00 crontabs
root@mail2:~#


Are you getting entries populated in /var/log/zimbra.log? Single or multi-server?

Mark


yes, I getting entries in /var/log/zimbra and it's single instalation

Andy


In addition, I do not receive messages about the change of service status, e.g. after a system restart. However, I get the daily mail report. What's happening? I did a commercial certificate update but everything went well. All services work correctly only in the administrative console, the service status is bad.


Hi Andy,

If you have red X's in the Admin Console on the Monitor > Server Status page, but zmcontrol status says everything is running, /var/log/zimbra.log gets populated and the system responds to user inputs normally, then in my experience this is almost always a syslog setup issue, except in those cases where the admin has been a little too creative in making system configuration changes.

Here's what I would do: First, check that the zimbra user's crontab is intact:

Code: Select all

zimbra@mail2:~$ crontab -l | grep logprocess
00,10,20,30,40,50 * * * * /opt/zimbra/libexec/zmlogprocess > /tmp/logprocess.out 2>&1
zimbra@mail2:~$


Ensure the file /tmp/logprocess.out contains no errors (it should be empty if things are going well).

Next, as root, check that the zimbra syslog config file is in place (it should be if you are getting entries in /var/log/zimbra.log):

Code: Select all

root@mail2:~# cat /etc/rsyslog.d/60-zimbra.conf
local0.*                -/var/log/zimbra.log
local1.*                -/var/log/zimbra-stats.log
auth.*                  -/var/log/zimbra.log
mail.*                -/var/log/zimbra.log
root@mail2:~#


The file 60-zimbra.conf is created by, and the file 50-default-conf is modified by, the running of zmsyslogsetup. So, both files should have the same timestamp:

Code: Select all

root@mail2:~# ls -alh /etc/rsyslog.d/ | grep "50\|60"
-rw-r--r--   1 root root 1.2K Jun  6 01:30 50-default.conf
-rw-r--r--   1 root root  184 Jun  6 01:30 60-zimbra.conf
root@mail2:~#


If they don't have the same timestamp, then I would run (as root) /opt/zimbra/libexec/zmsyslogsetup, followed by restarting the rsyslog service. Wait ten minutes, refresh the page in the Admin Console, and you should have the green check marks back.

Keep us posted?

Hope that helps,
Mark
___________________________________
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
Zeta Alliance http://www.zetalliance.org/
Andy
Posts: 13
Joined: Mon Jun 08, 2020 2:09 pm

Re: 8.8.15 Patch 10 and 9.0.0 Patch 3 Released

Postby Andy » Mon Jun 08, 2020 7:05 pm

L. Mark Stone wrote:
Andy wrote:
Andy wrote:
yes, I getting entries in /var/log/zimbra and it's single instalation

Andy


In addition, I do not receive messages about the change of service status, e.g. after a system restart. However, I get the daily mail report. What's happening? I did a commercial certificate update but everything went well. All services work correctly only in the administrative console, the service status is bad.


Hi Andy,

If you have red X's in the Admin Console on the Monitor > Server Status page, but zmcontrol status says everything is running, /var/log/zimbra.log gets populated and the system responds to user inputs normally, then in my experience this is almost always a syslog setup issue, except in those cases where the admin has been a little too creative in making system configuration changes.

Here's what I would do: First, check that the zimbra user's crontab is intact:

Code: Select all

zimbra@mail2:~$ crontab -l | grep logprocess
00,10,20,30,40,50 * * * * /opt/zimbra/libexec/zmlogprocess > /tmp/logprocess.out 2>&1
zimbra@mail2:~$


Checked - it's the same in my system


Ensure the file /tmp/logprocess.out contains no errors (it should be empty if things are going well).

Checked - it's empty

Next, as root, check that the zimbra syslog config file is in place (it should be if you are getting entries in /var/log/zimbra.log):

Code: Select all

root@mail2:~# cat /etc/rsyslog.d/60-zimbra.conf
local0.*                -/var/log/zimbra.log
local1.*                -/var/log/zimbra-stats.log
auth.*                  -/var/log/zimbra.log
mail.*                -/var/log/zimbra.log
root@mail2:~#


The file 60-zimbra.conf is created by, and the file 50-default-conf is modified by, the running of zmsyslogsetup. So, both files should have the same timestamp:

Code: Select all

root@mail2:~# ls -alh /etc/rsyslog.d/ | grep "50\|60"
-rw-r--r--   1 root root 1.2K Jun  6 01:30 50-default.conf
-rw-r--r--   1 root root  184 Jun  6 01:30 60-zimbra.conf
root@mail2:~#


If they don't have the same timestamp, then I would run (as root) /opt/zimbra/libexec/zmsyslogsetup, followed by restarting the rsyslog service. Wait ten minutes, refresh the page in the Admin Console, and you should have the green check marks back.

I don't have alternative configurations for rsyslog in /etc/rsyslog.d but my rsyslog.conf contains lines:
local0. * - / var / log / zimbra.log
local1. * - / var / log / zimbra-stats.log
auth. * - / var / log / zimbra.log
mail. * - / var / log / zimbra.log

I did the test. Restore the system from the P9 version backup - status in the administrative console is correct - green. I did update the ssl certificate - status green. So the reason for the red status is the last P10 update. Maybe it's a matter of some file or service permissions. In addition, the system works correctly. I have no idea what might be wrong.

Andy





Keep us posted?

Hope that helps,
Mark
User avatar
L. Mark Stone
Elite member
Elite member
Posts: 2198
Joined: Wed Oct 09, 2013 11:35 am
Location: Portland, Maine, US
ZCS/ZD Version: 8.8.15 Network Edition
Contact:

Re: 8.8.15 Patch 10 and 9.0.0 Patch 3 Released

Postby L. Mark Stone » Mon Jun 08, 2020 7:44 pm

Hi Andy,

What do you mean "you don't have alternate configurations in rsyslog.d"?

All the best,
Mark
___________________________________
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
Zeta Alliance http://www.zetalliance.org/
Andy
Posts: 13
Joined: Mon Jun 08, 2020 2:09 pm

Re: 8.8.15 Patch 10 and 9.0.0 Patch 3 Released

Postby Andy » Mon Jun 08, 2020 7:52 pm

L. Mark Stone wrote:Hi Andy,

What do you mean "you don't have alternate configurations in rsyslog.d"?

All the best,
Mark



Empty catalog /etc/rsyslog.d/. Everything is in one configuration file /etc/rsyslog.conf

Andy
Andy
Posts: 13
Joined: Mon Jun 08, 2020 2:09 pm

Re: 8.8.15 Patch 10 and 9.0.0 Patch 3 Released

Postby Andy » Tue Jun 09, 2020 7:28 am

Andy wrote:
L. Mark Stone wrote:Hi Andy,

What do you mean "you don't have alternate configurations in rsyslog.d"?

All the best,
Mark



Empty catalog /etc/rsyslog.d/. Everything is in one configuration file /etc/rsyslog.conf

Andy


Hello again,

This is definitely not a problem with rsyslog. /opt/zimbra/libexec/zmsyslogsetup only completes entries in the configuration file and checks whether the system logs events locally or remotely. Apart from the status in the administrative panel, everything works correctly so I think that this is a problem with the latest P10 update. Adding accounts, deleting accounts, and other administrative tasks work correctly. /opt/zimbra/libexec/zmfixperms did not help.
Any suggestions what else could be?
The system recovered from the backup (P9) has identical settings in the rsyslogs.conf file and the status of services in the administration panel is green. Certainly P10 broke something but what?

Andy
User avatar
gabrieles
Advanced member
Advanced member
Posts: 148
Joined: Tue Feb 14, 2017 9:40 am

Re: 8.8.15 Patch 10 and 9.0.0 Patch 3 Released

Postby gabrieles » Tue Jun 09, 2020 1:29 pm

Andy wrote:permissions of /var/spool/cron/zimbra file it should be owned by zimbra or root?

The group is different based on your distribution, but user's crontab are always owned by the user.

L. Mark Stone wrote:I have no such file

That's because you're on ubuntu:


[root@centos77 ~]# ll /var/spool/cron/zimbra
-rw------- 1 zimbra zimbra 2350 Nov 19 2019 /var/spool/cron/zimbra

root@ubuntu16:~# ll /var/spool/cron/crontabs/zimbra
-rw------- 1 zimbra crontab 3569 Apr 16 17:30 /var/spool/cron/crontabs/zimbra

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 11 guests