Trying to configure rsyslog server but I am facing challanges

0 votes
Here are the steps which i have tried, however no success.

1: No the server machine installed the rsyslog packages using yum install -y rsyslog
2: opened the vi /etc/rsyslog.conf uncommented 15,16,19,20 line "ModLoad imudp, intcp"
3: Saved the file
4: restarted & enabled the service using the systemctl on the server machine.
5: reloaded the firewall on the server machine using firewall-cmd --permanent --add-port=514/udp
firewall-cmd --reload

Now on the Client machine
1: opened the vi /etc/rsyslog.conf
2: on the last lineadded the server ip
# ### end of the forwarding rule ###
cron.* @192.168.server ip
mail.* @192.168.server ip
*.*    @192.168.server ip

4: restarted & enabled the service using the systemctl on the client machine.

5: However i don't see any info on the server machine.

Dont understand where i am going wrong.
Mar 5 in Linux Administration by anonymous
• 120 points
100 views
Are you managed your client and server name in /etc/hosts file?

Try to ping both the machine.
I can ping both machines.
Which version you are using?

Everything seems ok. Steps are also right.

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Linux Administration

+1 vote
0 answers

I am getting error as undefined reference how to resolve it?

this is the error i got main.c:(.text+0x6c): undefined ...READ MORE

Dec 5, 2019 in Linux Administration by pooja
• 130 points
332 views
0 votes
1 answer

How to configure SSH server in RHEL/CentOS?

Hi@MD, To configure SSH server to your system, ...READ MORE

answered Mar 30 in Linux Administration by akhtar
• 25,570 points
98 views
+1 vote
1 answer

How to configure NFS server in Linux?

Hi@akhtar, To configure NFS server in your system, ...READ MORE

answered May 27 in Linux Administration by MD
• 57,960 points
102 views
0 votes
1 answer

How to configure FTP server in Linux System?

Hi@akhtar, You need to install vsftpd software in ...READ MORE

answered Jul 9 in Linux Administration by MD
• 57,960 points
67 views
0 votes
1 answer
0 votes
1 answer

Error when trying to install a few packages on ubuntu

Try executing the following commands and try ...READ MORE

answered Mar 15, 2019 in Linux Administration by Jobin
344 views
0 votes
1 answer

How do I use a shell script to SSH in to a remote machine to execute commands?

Your first problem can be solved like ...READ MORE

answered Jun 27, 2019 in Linux Administration by ajs3033
• 7,280 points
2,581 views
0 votes
1 answer

How to run GUI program in SSH server from remote desktop?

Hi@akhtar, First you have to configure SSH server ...READ MORE

answered Mar 31 in Linux Administration by MD
• 57,960 points
489 views
0 votes
1 answer

How to install httpd web server in Linux?

Hi@akhtar, To install httpd web server in CentOS/RHEL ...READ MORE

answered Apr 21 in Linux Administration by MD
• 57,960 points
57 views
0 votes
1 answer

How to configure Haproxy load balancer?

Hi@akhtar, Yes you can implement load balancing concept ...READ MORE

answered Apr 22 in Linux Administration by MD
• 57,960 points
49 views