<?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: syslog port issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-port-issue/m-p/5902617#M482691</link>
    <description>&lt;P&gt;Hi Patrick,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THanks for the response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;Syslog server is not discovering hpux systems as cleints&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Syslog server(Linux) not able to communicate with hpux server.So that logs from hpux&amp;nbsp; not forawarding to syslog server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actual issue was udp port is not&amp;nbsp;communicating&amp;nbsp;with 514 port.When i&amp;nbsp;modified the SYSLOGD_OPTS="-D -N"&amp;nbsp;in &amp;nbsp;/etc/rc.config.d/syslogd file,&amp;nbsp;UDP started listening to 514. Actually i removed -N parameter.It was blocking the system&lt;/P&gt;&lt;P&gt;with listening UDP to 514 port.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#netstat -an|grep 514&lt;BR /&gt;udp&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp; *.514&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *.*&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it necessary to configure syslog-ng in hpux 11.31 client , to forward logs to syslog server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;himacs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Dec 2012 08:44:54 GMT</pubDate>
    <dc:creator>himacs</dc:creator>
    <dc:date>2012-12-18T08:44:54Z</dc:date>
    <item>
      <title>syslog port issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-port-issue/m-p/5900873#M482680</link>
      <description>&lt;P&gt;Hi Admins,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;HPUX 11.31&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Syslog server is not discovering hpux systems as cleints. When checked in hpux servers found below comment.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;#cat /etc/services|grep 514&lt;BR /&gt;shell&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 514/tcp&amp;nbsp; cmd&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # remote command, no passwd used&lt;BR /&gt;syslog&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 514/udp&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # remote system logging#&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;#netstat -an|grep 514&lt;BR /&gt;tcp&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp; *.514&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *.*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LISTEN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/etc/services shows port 514 for syslog is UDP and same port is used for shell by TCP.&lt;BR /&gt;And netstat shows TCP is the listening the port 514.&lt;BR /&gt;Because of this syslog server not able to communicate with client.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think we can disable (remshd) service, so TCP stops using 514 and UDP can use it.My second option is to map different port to syslog.&lt;/P&gt;&lt;P&gt;Please guide me to how to make UDP to listen the port 514 instead TCP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;himacs&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2012 09:02:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-port-issue/m-p/5900873#M482680</guid>
      <dc:creator>himacs</dc:creator>
      <dc:date>2012-12-17T09:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: syslog port issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-port-issue/m-p/5900999#M482681</link>
      <description>&lt;P&gt;I tried with stoopin shell service and commented in /etc/services also.But still syslogd not using the port.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2012 11:22:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-port-issue/m-p/5900999#M482681</guid>
      <dc:creator>himacs</dc:creator>
      <dc:date>2012-12-17T11:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: syslog port issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-port-issue/m-p/5901377#M482682</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;Syslog server is not discovering hpux systems as cleints&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure what you&amp;nbsp; mean by this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Typically a syslog server &lt;EM&gt;&lt;STRONG&gt;receives&lt;/STRONG&gt; &lt;/EM&gt;information from other servers and really does nothing else.&amp;nbsp; Basically all of your HP-UX servers must have syslog configured so that&amp;nbsp; it sends it syslog messages to your syslog server.&amp;nbsp; This is done via the /etc/syslogd.conf file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to send emergency level and higher messages to a remote server (IP 1.2.3.4 for example), you must put the following in your syslog.conf file:&lt;/P&gt;&lt;PRE&gt;*.emerg		@1.2.3.4&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;NOTE: The syslog.conf file can only have TAB between fields, NOT spaces.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are numerous threads in the forums regarding syslog configuration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, as far as TCP vs. UDP ports go they are &lt;STRONG&gt;completely separate&lt;/STRONG&gt; ports.&amp;nbsp; You can have port 514 running on both TCP and UDP at the same time without any problems whatsoever.&amp;nbsp; While it is a good idea to disable the shell service, it is not required in order for remote syslog to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2012 17:56:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-port-issue/m-p/5901377#M482682</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2012-12-17T17:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: syslog port issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-port-issue/m-p/5902617#M482691</link>
      <description>&lt;P&gt;Hi Patrick,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THanks for the response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;Syslog server is not discovering hpux systems as cleints&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Syslog server(Linux) not able to communicate with hpux server.So that logs from hpux&amp;nbsp; not forawarding to syslog server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actual issue was udp port is not&amp;nbsp;communicating&amp;nbsp;with 514 port.When i&amp;nbsp;modified the SYSLOGD_OPTS="-D -N"&amp;nbsp;in &amp;nbsp;/etc/rc.config.d/syslogd file,&amp;nbsp;UDP started listening to 514. Actually i removed -N parameter.It was blocking the system&lt;/P&gt;&lt;P&gt;with listening UDP to 514 port.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#netstat -an|grep 514&lt;BR /&gt;udp&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp; *.514&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *.*&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it necessary to configure syslog-ng in hpux 11.31 client , to forward logs to syslog server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;himacs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2012 08:44:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-port-issue/m-p/5902617#M482691</guid>
      <dc:creator>himacs</dc:creator>
      <dc:date>2012-12-18T08:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: syslog port issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-port-issue/m-p/5902703#M482697</link>
      <description>&lt;P&gt;It is not necessary for the HP-UX system to listen on UDP port 514 in order to send logs to the remote syslog server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you removed the -N parameter, you effectively made the HP-UX system into *another* syslog server. But if there are no syslog clients configured to send logs to the HP-UX, then the HP-UX will receive no logs from any remote clients.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The syslog protocol does not include any mechanism for the syslog server to actively "discover" clients nor to "pull" logs from the syslog clients - the server can only passively wait &amp;amp; accept what is "pushed" to it by the clients.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you need the HP-UX to send logs to a syslog server in another host, you must configure /etc/syslog.conf on the HP-UX host as described by Patrick.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;When a remote syslog server is listed in /etc/syslog.conf in HP-UX, the syslog daemon will "push" the logs to the remote server if the facility/severity of the log message is included in the selector specification on the /etc/syslog.conf line. The syslog daemon will not hold a port open constantly for sending - whenever it needs to send a log message, it will instantly open an UDP port, send the message, and then close it. This will happen so fast that you're unlikely to catch it in a "netstat" listing unless you configure your system to send a very large number of log messages. (Remember that UDP ports do not have _WAIT states like TCP ports have.)&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2012 09:54:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-port-issue/m-p/5902703#M482697</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2012-12-18T09:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: syslog port issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-port-issue/m-p/5902861#M482703</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks MK and Patrick for solving my doubts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was thinking due to -N option, in hpux server,UDP is not able to communicate with port 514.its not pushing logs to syslog server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now i have reconfigured the syslog.conf and it worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think Issue was with space used in syslog.conf file instead of tab(not sure).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Old conf file :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;mail.debug&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /var/adm/syslog/mail.log&lt;BR /&gt;*.info;mail.none&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /var/adm/syslog/syslog.log&lt;BR /&gt;*.alert&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /dev/console&lt;BR /&gt;*.alert&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; root&lt;BR /&gt;*.emerg&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;BR /&gt;*.alert;*.info;*.emerg;mail.none&amp;nbsp; @1.2.3.4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;New conf file :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;mail.debug&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /var/adm/syslog/mail.log&lt;BR /&gt;*.info;mail.none&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /var/adm/syslog/syslog.log&lt;BR /&gt;*.alert /dev/console&lt;BR /&gt;*.alert root&lt;BR /&gt;*.emerg *&lt;BR /&gt;*.notice;*.info&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @1.2.3.4&lt;/P&gt;&lt;P&gt;*.debug&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @1.2.3.4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any mismatch in old conf file..other than space issue...?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;himacs&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2012 12:09:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-port-issue/m-p/5902861#M482703</guid>
      <dc:creator>himacs</dc:creator>
      <dc:date>2012-12-18T12:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: syslog port issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-port-issue/m-p/5903033#M482705</link>
      <description>&lt;P&gt;Your new configuration looks workable, but remember that all the priority specifier automatically include the higher priorities as well. If you specify *.info, there will be no point to specify *.notice too, as *.info will automatically include *.notice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And *.debug will include absolutely everything, since "debug" is the lowest priority specifier.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, if you want to forward everything to the syslog server, the "*.debug&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @1.2.3.4" line does that. If you use that line, you don't need the previous "*.notice;*.info&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @1.2.3.4" line at all.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2012 14:52:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-port-issue/m-p/5903033#M482705</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2012-12-18T14:52:26Z</dc:date>
    </item>
  </channel>
</rss>

