LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-12-2020, 06:17 PM   #1
DennyY
Member
 
Registered: May 2018
Location: San Francisco, CA
Distribution: CentOS 7
Posts: 78

Rep: Reputation: 1
rsyslog error code 2027


Hi All,

Just configured rsyslog on both of Centos8 server/client. But the client still "cannot connect to 192.168.1.2:514: Connection timed out". The error code is 2027.

Here is what I did on the server side:

Code:
$template RemoteLogs,"/var/log/%HOSTNAME%/%PROGRAMNAME%.log"
*.* ?RemoteLogs & ~_
I also uncomment
Code:
module(load="imtcp") # needs to be done just once
input(type="imtcp" port="514")
On the client side I added:
Code:
*.* @@192.168.1.2:514

I tried to look up that error code 2027, but no luck.

Thank you for your help ~
 
Old 07-12-2020, 11:32 PM   #2
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: A few
Posts: 4,989

Rep: Reputation: 1488Reputation: 1488Reputation: 1488Reputation: 1488Reputation: 1488Reputation: 1488Reputation: 1488Reputation: 1488Reputation: 1488Reputation: 1488
By default, Centos closes all network ports to incoming traffic. The usual command to open 514 on the server:
Code:
firewall-cmd --add-port 514/tcp
 
Old 07-20-2020, 06:36 PM   #3
DennyY
Member
 
Registered: May 2018
Location: San Francisco, CA
Distribution: CentOS 7
Posts: 78

Original Poster
Rep: Reputation: 1
rsyslog error code 2027

Thank you for your help.

Just found out that I can't ping my laptop and desktop from one another. I think this is a network issue. That's why I couldn't exercise rsyslog, or scp.

Quote:
Originally Posted by berndbausch View Post
By default, Centos closes all network ports to incoming traffic. The usual command to open 514 on the server:
Code:
firewall-cmd --add-port 514/tcp
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[rsyslog] how to get the original IP address in rsyslog relay chain wolf4666 Linux - Software 4 10-18-2018 09:17 AM
[SOLVED] Every two minutes rsyslog outputs - rsyslogd: action 'action 3' resumed (module 'builtin:omfile') [v8.32.0 try http://www.rsyslog.com/e/2359 Toadman Linux - Software 9 09-01-2018 12:41 PM
LXer: AV1 and the Video Wars of 2027 LXer Syndicated Linux News 0 08-21-2018 02:12 AM
Help with certtool (gnutls) "info on invalid cert" error for rsyslog abefroman Linux - Software 0 06-18-2008 03:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration