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, 2020 in Linux Administration by anonymous
• 120 points
695 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
1,792 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, 2020 in Linux Administration by akhtar
• 38,260 points
1,043 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, 2020 in Linux Administration by MD
• 95,460 points
996 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, 2020 in Linux Administration by MD
• 95,460 points
953 views
0 votes
0 answers

Trying to download from github to linux but their is only zip and gz

trying to download an older version of ...READ MORE

Apr 21, 2022 in Linux Administration by Edureka
• 13,690 points
331 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
1,597 views
0 votes
2 answers

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

Sorry in advance for any formatting. Check out ...READ MORE

answered Feb 7, 2021 in Linux Administration by anonymous
17,307 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, 2020 in Linux Administration by MD
• 95,460 points
4,457 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, 2020 in Linux Administration by MD
• 95,460 points
821 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP