<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Rsyslog remote logging via tcp not working - plz help in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/rsyslog-remote-logging-via-tcp-not-working-plz-help/m-p/6102093#M54345</link>
    <description>&lt;P&gt;Thanks Matti_Kurkella for pointing the SELinux part, which I really didn't notice till reading your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didnt try audit2allow command yet.. I'll try it after a while, but I simply disabled the selinux, and logs started receiving on "central log server" via tcp ;-)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks once again.&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jun 2013 10:22:27 GMT</pubDate>
    <dc:creator>likeguru</dc:creator>
    <dc:date>2013-06-14T10:22:27Z</dc:date>
    <item>
      <title>Rsyslog remote logging via tcp not working - plz help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsyslog-remote-logging-via-tcp-not-working-plz-help/m-p/6098229#M54337</link>
      <description>&lt;P&gt;I have a "central syslog server" that listens on udp 1514 and tcp 1468&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All SUSE Linux Servers are sending their logs to "central syslog server"&amp;nbsp; via tcp(1468). SUSE servers uses&lt;/P&gt;&lt;P&gt;'syslog-ng', with following configuration&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;destination LOGHOST { tcp("IP.OF.Syslog.Server" port(1468)); };&lt;BR /&gt;log { source(src); destination(LOGHOST); };&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But none of the rhel boxes are sending their logs over tcp 1468.&amp;nbsp; rhel6.4 boxes are configured as:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*.info&amp;nbsp;&amp;nbsp; @@IP.OF.Syslog.Server:1468&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it works when I configured the rhel boxes to send the logs over udp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*.info&amp;nbsp;&amp;nbsp; @IP.OF.Syslog.Server:1514&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2013 06:19:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsyslog-remote-logging-via-tcp-not-working-plz-help/m-p/6098229#M54337</guid>
      <dc:creator>likeguru</dc:creator>
      <dc:date>2013-06-11T06:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Rsyslog remote logging via tcp not working - plz help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsyslog-remote-logging-via-tcp-not-working-plz-help/m-p/6098779#M54339</link>
      <description>&lt;P&gt;quite strange if I configure the box to send logs via tcp, merely running "/etc/init.d/rsyslog start" does not work for me. But&amp;nbsp; running rsyslog in foreground and debug mode via following command works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;rsyslogd -d -n&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also running rsyslog in foreground and with debugging mode, has its own issue, i.e rhel box is only sending following logs to "central syslog server"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;Message: run-parts(/etc/cron.hourly)[4210 finished 0anacron&lt;BR /&gt;Message: (root) CMD (/etc/init.d/sshd restart)&lt;/LI-SPOILER&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;while if I configure the rsyslog to send logs over udp it works properly i,e no need to run the rsyslog daemon in foreground and debug mode, also then rhel send all/every log to "central syslog server"&lt;BR /&gt;&lt;BR /&gt;I think rsyslog(rhel6.4) works properly with udp only&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2013 15:33:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsyslog-remote-logging-via-tcp-not-working-plz-help/m-p/6098779#M54339</guid>
      <dc:creator>likeguru</dc:creator>
      <dc:date>2013-06-11T15:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Rsyslog remote logging via tcp not working - plz help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsyslog-remote-logging-via-tcp-not-working-plz-help/m-p/6100701#M54341</link>
      <description>&lt;P&gt;Do you have SELinux in enforcing mode (as is the default) in your RHEL 6.4 environment?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The SELinux policy might be stopping a normally-started rsyslog daemon from using TCP, but running it in foreground and debug mode might be bypassing the restriction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check /var/log/audit/audit.log. If it indicates that rsyslog's TCP connections are being denied, it indicates that SELinux is causing your problem. In that case, you might have to add customized SELinux rules for custom rsyslog configurations like yours. The "audit2allow" command might be very helpful here: feed it the audit.log lines caused by the rsyslog TCP connection attempt, and it will produce the necessary SELinux rules to allow it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2013 06:05:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsyslog-remote-logging-via-tcp-not-working-plz-help/m-p/6100701#M54341</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2013-06-13T06:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Rsyslog remote logging via tcp not working - plz help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsyslog-remote-logging-via-tcp-not-working-plz-help/m-p/6102093#M54345</link>
      <description>&lt;P&gt;Thanks Matti_Kurkella for pointing the SELinux part, which I really didn't notice till reading your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didnt try audit2allow command yet.. I'll try it after a while, but I simply disabled the selinux, and logs started receiving on "central log server" via tcp ;-)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks once again.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2013 10:22:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsyslog-remote-logging-via-tcp-not-working-plz-help/m-p/6102093#M54345</guid>
      <dc:creator>likeguru</dc:creator>
      <dc:date>2013-06-14T10:22:27Z</dc:date>
    </item>
  </channel>
</rss>

