How to fix the problem “System logs on Plesk server are not population”?

How to fix the problem “System logs on Plesk server are not population”?

Are you getting tired of sorting out all the problems in Plesk? Here’s one more fix pending!

You were getting a problem with system logs which is not population now. The system logs such as /var/log/messages, /var/log/secure and /var/log/maillog are not populating and empty.

Usually, you will be activating “Fail2Ban” in the section “Tools & Settings”. By tapping on the option “IP Address Banning (Fail2Ban)” and then select “Settings”.

You get an error message:

Code:
service fail2ban status
…
ERROR Failed during configuration: Have not found any log file for ssh jai
Check whether rsyslog is installed on the server or not. If not, you will get this error in CentOS and Debian.

RHEL-based CentOS distribution:

Code:
#rpm -qa | grep rsyslog
Ubuntu-based Debian distribution:

Code:
#dpkg -l | grep rsyslog
Let’s start fixing this problem:

Step 1:
Use SSH for connecting the server.

Step 2: Do install the package rsyslog:

RHEL-based CentOS distribution:

Code:
yum install rsyslog
Try by using the command dnf

Code:
dnf install rsyslog
Ubuntu-based Debian distribution:

Code:
apt install rsyslog
Step 3: Start the service rsyslog using the below-mentioned command:

Code:
systemctl start rsyslog
Hereby, it is an easy command execution. You will not get the error “System logs on a Plesk server is not population”!
Author
kumkumsharma
Views
571
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from kumkumsharma

Top