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
65 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
90 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 5 days ago in Linux Administration by akhtar
• 4,500 points
13 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
149 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
177 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 4 days ago in Linux Administration by MD
• 8,870 points
13 views
0 votes
1 answer

How to display a simple list of all disks, like this /dev/sda /dev/sdb ?

You can list all the disk in ...READ MORE

answered Jul 12, 2018 in Linux Administration by DearestOne
• 200 points
215 views
0 votes
2 answers

How do I find all files containing specific text on Linux?

grep -rnw 'text to find recursively inside ...READ MORE

answered May 20, 2019 in Linux Administration by Ritesh Singh
8,760 views
0 votes
1 answer

How to increase Swap Memory in CentOS 7?

Follow the below steps and procedures: Prerequisites Must have ...READ MORE

answered Oct 5, 2018 in Linux Administration by Frankie
• 9,810 points
2,928 views
0 votes
1 answer