habibzain Just husband, father and enthusiastic men about System Administration. Love to write short article about it. Perhaps can help and be useful for others.

Log Zimbra.log not Show Anything

1 min read

Zimbra is a popular open source server and client software for messaging and collaboration. Zimbra also provides various tools for monitoring and troubleshooting its components, such as log files. One of the most important log files in Zimbra is zimbra.log, which is located in /var/log/zimbra.log. What happen if we can’t see zimbra.log? This article will describe simple way to fix it.

Case Description:
OS: Rocky Linux.
Zimbra Version: 8.8.15

This log file captures data from several ZCS components, such as Postfix, Amavis, ClamAV, mailboxd, zmconfigd, and logger. It also contains information about system status, errors, warnings, and debug messages.

rsyslog Package Not Installed

I assume we have installed zimbra properly. But when I show the log file /var/log/zimbra.log there is nothing log created.

First, check rsyslog package. Is it installed or not. If not yet install, lets install first.

yum install rsyslog

Update Zimbra log with zmsyslogsetup

After install rsyslog, update zimbra log with zmsyslogsetup.

/opt/zimbra/libexec/zmsyslogsetup

Restart Zimbra.

zmcontrol restart

Simple Tips Search Zimbra Log

To show the contents of zimbra.log, you can use the command:

tail -f /var/log/zimbra.log

This command will display the last 10 lines of the log file and keep updating it as new lines are added. You can also specify a number after the -f option to show more or less lines, such as:

To show only the lines that match a certain pattern, you can use the grep command with the tail command, such as:

tail -f /var/log/zimbra.log | grep "error"

This command will show only the lines that contain the word “error”. You can also use regular expressions or multiple patterns with grep, such as:

tail -f /var/log/zimbra.log | grep -E "error|warning"

This command will show only the lines that contain either “error” or “warning”.

See also  Easy Export Import Zimbra Ldap Config and Data

Yeah, that is simple article about show zimbra.log not show in file /var/log. May be usefull.

habibzain Just husband, father and enthusiastic men about System Administration. Love to write short article about it. Perhaps can help and be useful for others.

Zimbra Relay Amazon SES

Zimbra is a widely used collaboration platform that provides robust email services. When it comes to improving email deliverability and ensuring the security of...
habibzain
1 min read

Install Zimbra 10 Ubuntu 20.04 from Scratch

Zimbra 10 may have had specific installation requirements, and there might be updates or changes beyond that point. Here is simple guide how to...
habibzain
4 min read

Zimbra Cannot start TLS: handshake failure

The Zimbra log show error message “Cannot start TLS handshake” typically indicates an issue with establishing a secure TLS (Transport Layer Security) connection. This...
habibzain
1 min read

Leave a Reply

Your email address will not be published. Required fields are marked *

Never miss good article from us, get weekly updates in your inbox