<?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: Remote syslog in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-syslog/m-p/5220533#M466705</link>
    <description>&amp;gt;&amp;gt;Matti&amp;lt;&amp;lt; Is correct " Common mistake while editing the syslog.conf by using "SPACE KEY" in stud of "TAB"</description>
    <pubDate>Thu, 21 Jan 2010 02:07:58 GMT</pubDate>
    <dc:creator>Johnson Punniyalingam</dc:creator>
    <dc:date>2010-01-21T02:07:58Z</dc:date>
    <item>
      <title>Remote syslog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-syslog/m-p/5220530#M466702</link>
      <description>Dear,&lt;BR /&gt;&lt;BR /&gt;i have a syslog-ng server on Debian Lenny. Some other servers on debian already sent there logs to the syslog server. &lt;BR /&gt;&lt;BR /&gt;Now, i need to sent logs from my HP11.11 to the syslog server.&lt;BR /&gt;&lt;BR /&gt;this is my configuration on hpuux server /etc/syslog.conf :&lt;BR /&gt;mail.debug              /var/adm/syslog/mail.log&lt;BR /&gt;*.info;mail.none        /var/adm/syslog/syslog.log&lt;BR /&gt;*.alert                 /dev/console&lt;BR /&gt;*.alert                 root&lt;BR /&gt;*.emerg                 *&lt;BR /&gt;*.* @syslog.entreprise.fr&lt;BR /&gt;&lt;BR /&gt;ping to syslog.entreprise.fr works from HPUX (i also tried with an ip).&lt;BR /&gt;&lt;BR /&gt;My syslog-ng configuration : &lt;BR /&gt;&lt;BR /&gt;source S_DNS {&lt;BR /&gt;        tcp(ip("0.0.0.0") port(997)) ;&lt;BR /&gt;        udp(ip("0.0.0.0") port(514)) ;&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;destination D_DNS_log {&lt;BR /&gt;        file ("/LOG/$DAY.out" perm(0644));&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;log {&lt;BR /&gt;        source(S_DNS);&lt;BR /&gt;        destination(D_DNS_log);&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;I test on HP-UX with the command "logger -i -t logtest -- "my test". I get nothing on my syslog-ng server. This command works fine with other server on debian.&lt;BR /&gt;&lt;BR /&gt;The process syslogd run :&lt;BR /&gt;hpux1st-&amp;gt;ps -ef |grep syslog&lt;BR /&gt;    root 27237     1  0 16:27:19 ?         0:00 /usr/sbin/syslogd -D&lt;BR /&gt;&lt;BR /&gt;Any idea ? thanks</description>
      <pubDate>Wed, 20 Jan 2010 15:58:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remote-syslog/m-p/5220530#M466702</guid>
      <dc:creator>2xyo</dc:creator>
      <dc:date>2010-01-20T15:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Remote syslog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-syslog/m-p/5220531#M466703</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;On the Linux server:&lt;BR /&gt;&lt;BR /&gt;iptables -L&lt;BR /&gt;&lt;BR /&gt;Make sure port 514 is open.&lt;BR /&gt;&lt;BR /&gt;Have you taken into account that the syslog file in HP-UX is /var/adm/syslog/syslog.log&lt;BR /&gt;&lt;BR /&gt;The log might not land in the expected location on the Linux server.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1211962" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1211962&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The above thread might contain further information and insights.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 20 Jan 2010 16:39:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remote-syslog/m-p/5220531#M466703</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-01-20T16:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Remote syslog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-syslog/m-p/5220532#M466704</link>
      <description>&amp;gt; *.* @syslog.entreprise.fr&lt;BR /&gt;&lt;BR /&gt;All syslog.conf entries must have at least one TAB character between the selector ("*.*" here) and the destination ("@syslog.entreprise.fr"). &lt;BR /&gt;&lt;BR /&gt;A very common mistake is to use space characters instead of TABs.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Wed, 20 Jan 2010 19:26:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remote-syslog/m-p/5220532#M466704</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-01-20T19:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Remote syslog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-syslog/m-p/5220533#M466705</link>
      <description>&amp;gt;&amp;gt;Matti&amp;lt;&amp;lt; Is correct " Common mistake while editing the syslog.conf by using "SPACE KEY" in stud of "TAB"</description>
      <pubDate>Thu, 21 Jan 2010 02:07:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remote-syslog/m-p/5220533#M466705</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2010-01-21T02:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Remote syslog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-syslog/m-p/5220534#M466706</link>
      <description>Thanks for your reply &lt;BR /&gt;&lt;BR /&gt;It's test server that's why my iptable is empty :&lt;BR /&gt;deb2nd:/LOG# iptables -L&lt;BR /&gt;Chain INPUT (policy ACCEPT)&lt;BR /&gt;target     prot opt source               destination&lt;BR /&gt;&lt;BR /&gt;Chain FORWARD (policy ACCEPT)&lt;BR /&gt;target     prot opt source               destination&lt;BR /&gt;&lt;BR /&gt;Chain OUTPUT (policy ACCEPT)&lt;BR /&gt;target     prot opt source               destination&lt;BR /&gt;There is no firewall between servers.&lt;BR /&gt;&lt;BR /&gt;This is my  /var/adm/syslog/syslog.log after a ssh login and a test with logger :&lt;BR /&gt;Jan 21 09:54:11 hpux1st sshd[14344]: error: PAM: Authentication failed for root from xxx.xxx.xxx.xxx&lt;BR /&gt;Jan 21 09:54:12 hpux1st sshd[14344]: Accepted keyboard-interactive/pam for root from xxx.xxx.xxx.xxx port 1337 ssh2&lt;BR /&gt;Jan 21 08:54:25 hpux1st cimserverd[1570]: cimserver[1116] not running, attempting restart&lt;BR /&gt;Jan 21 08:54:25 hpux1st cimserver[14371]: starting&lt;BR /&gt;Jan 21 08:54:25 hpux1st cimserver[14374]: failed to exec /opt/wbem/lbin/cimservermain&lt;BR /&gt;Jan 21 08:54:25 hpux1st cimserver[14374]: exited with status of 1&lt;BR /&gt;Jan 21 08:54:25 hpux1st cimserver[14373]: exited normally&lt;BR /&gt;Jan 21 09:54:35 hpux1st logtest[14377]: my test&lt;BR /&gt;&lt;BR /&gt;I had a space instead of a TAB.I replace space by TAB and i restart syslogd. But it doesn't works anyway...&lt;BR /&gt;&lt;BR /&gt;Now, since i modify my syslog.conf to put TAB, i have nothing in /var/adm/syslog/syslog.log (syslogd run..)&lt;BR /&gt;That's why i do this :&lt;BR /&gt;&lt;BR /&gt;rm /etc/syslog.conf&lt;BR /&gt;echo "mail.debug\t/var/adm/syslog/mail.log" &amp;gt;/etc/syslog.conf&lt;BR /&gt;echo "*.info;mail.none\t/var/adm/syslog/syslog.log" &amp;gt;&amp;gt;/etc/syslog.conf&lt;BR /&gt;echo "*.alert\t/dev/console" &amp;gt;&amp;gt;/etc/syslog.conf&lt;BR /&gt;echo "*.alert\troot" &amp;gt;&amp;gt;/etc/syslog.conf&lt;BR /&gt;echo "*.emerg\t*" &amp;gt;&amp;gt;/etc/syslog.conf&lt;BR /&gt;echo "*.*\t@syslog.entreprise.fr" &amp;gt;&amp;gt;/etc/syslog.conf&lt;BR /&gt;cat /etc/syslog.conf&lt;BR /&gt;/sbin/init.d/syslogd stop&lt;BR /&gt;/sbin/init.d/syslogd start&lt;BR /&gt;logger -i -t logtest -- "my test"&lt;BR /&gt;tail -f /var/adm/syslog/syslog.log&lt;BR /&gt;And it's works locally ONLY...&lt;BR /&gt;&lt;BR /&gt;Now i have to understand how works nettl to capture outgoing trafic.&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Jan 2010 09:44:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remote-syslog/m-p/5220534#M466706</guid>
      <dc:creator>2xyo</dc:creator>
      <dc:date>2010-01-21T09:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: Remote syslog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-syslog/m-p/5220535#M466707</link>
      <description>Check the below Thread.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1219056" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1219056&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Jan 2010 09:56:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remote-syslog/m-p/5220535#M466707</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2010-01-21T09:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Remote syslog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-syslog/m-p/5220536#M466708</link>
      <description>&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1000109" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1000109&lt;/A&gt;</description>
      <pubDate>Thu, 21 Jan 2010 09:58:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remote-syslog/m-p/5220536#M466708</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2010-01-21T09:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Remote syslog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-syslog/m-p/5220537#M466709</link>
      <description>My configuration on syslog server :&lt;BR /&gt;source S_DNS {&lt;BR /&gt;tcp(ip("0.0.0.0") port(997)) ;&lt;BR /&gt;udp(ip("0.0.0.0") port(514)) ;&lt;BR /&gt;};&lt;BR /&gt;Then i use a perl script to send syslog. But it doesn't works also. I do a capture with nettl et i find that syslog are send in UDP:997 ! &lt;BR /&gt;&lt;BR /&gt;Problem solved...&lt;BR /&gt;&lt;BR /&gt;Thank you !</description>
      <pubDate>Thu, 21 Jan 2010 10:08:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remote-syslog/m-p/5220537#M466709</guid>
      <dc:creator>2xyo</dc:creator>
      <dc:date>2010-01-21T10:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Remote syslog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-syslog/m-p/5220538#M466710</link>
      <description>Finally, i find : &lt;BR /&gt;It's impossible to use a joker * for the type of message. You need use *.info or *.debug but not *.*</description>
      <pubDate>Thu, 21 Jan 2010 10:13:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remote-syslog/m-p/5220538#M466710</guid>
      <dc:creator>2xyo</dc:creator>
      <dc:date>2010-01-21T10:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Remote syslog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-syslog/m-p/5220539#M466711</link>
      <description>see above</description>
      <pubDate>Thu, 04 Feb 2010 10:12:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remote-syslog/m-p/5220539#M466711</guid>
      <dc:creator>2xyo</dc:creator>
      <dc:date>2010-02-04T10:12:12Z</dc:date>
    </item>
  </channel>
</rss>

