<?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: syslogd not behaving as expected in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/syslogd-not-behaving-as-expected/m-p/3414364#M203072</link>
    <description>Hi,&lt;BR /&gt;When I send the message usinbg logger then it shows up in the /var/opt/SIU_01/log/sysloglocal.log&lt;BR /&gt;</description>
    <pubDate>Wed, 03 Nov 2004 17:07:52 GMT</pubDate>
    <dc:creator>Saurabh Kapoor_2</dc:creator>
    <dc:date>2004-11-03T17:07:52Z</dc:date>
    <item>
      <title>syslogd not behaving as expected</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslogd-not-behaving-as-expected/m-p/3414351#M203059</link>
      <description>Hi all,&lt;BR /&gt;I have an application which is integrated for logging to use syslogd.&lt;BR /&gt;In the /etc/syslog.conf file when I use the facility as USER then it logs it to the right file as specified in the /etc/syslog.conf but when I use the facility local0 then it does not. Is there any limitation on using the local0-7 facilities.&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Nov 2004 14:53:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslogd-not-behaving-as-expected/m-p/3414351#M203059</guid>
      <dc:creator>Saurabh Kapoor_2</dc:creator>
      <dc:date>2004-11-03T14:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: syslogd not behaving as expected</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslogd-not-behaving-as-expected/m-p/3414352#M203060</link>
      <description>Hi Saurabh,&lt;BR /&gt;&lt;BR /&gt;  I am not aware of such limitation. I do believe local0 is used by IPFilter to log the messages. But I dont think it exclusively locks the local0 facility.&lt;BR /&gt;&lt;BR /&gt;  I would suggest posting the contents of the /etc/syslog.conf file.&lt;BR /&gt;&lt;BR /&gt;- Sundar</description>
      <pubDate>Wed, 03 Nov 2004 14:59:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslogd-not-behaving-as-expected/m-p/3414352#M203060</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-11-03T14:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: syslogd not behaving as expected</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslogd-not-behaving-as-expected/m-p/3414353#M203061</link>
      <description>Do you have local0.* pointing to your the right file?&lt;BR /&gt;&lt;BR /&gt;local0.*    /var/logs/local0.log&lt;BR /&gt;&lt;BR /&gt;for example?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Nov 2004 15:02:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslogd-not-behaving-as-expected/m-p/3414353#M203061</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2004-11-03T15:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: syslogd not behaving as expected</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslogd-not-behaving-as-expected/m-p/3414354#M203062</link>
      <description># @(#)B.11.11_LR&lt;BR /&gt;#&lt;BR /&gt;# syslogd configuration file.&lt;BR /&gt;#&lt;BR /&gt;# See syslogd(1M) for information about the format of this file.&lt;BR /&gt;#&lt;BR /&gt;mail.debug              /var/adm/syslog/mail.log&lt;BR /&gt;*.info;mail.none;local0.none    /var/adm/syslog/syslog.log&lt;BR /&gt;local0.debug    /var/opt/SIU_01/log/sysloglocal.log&lt;BR /&gt;#*.info;mail.none;local0.none   /var/adm/syslog/syslog.log&lt;BR /&gt;*.alert                 /dev/console&lt;BR /&gt;*.alert                 root&lt;BR /&gt;*.emerg                 *</description>
      <pubDate>Wed, 03 Nov 2004 15:04:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslogd-not-behaving-as-expected/m-p/3414354#M203062</guid>
      <dc:creator>Saurabh Kapoor_2</dc:creator>
      <dc:date>2004-11-03T15:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: syslogd not behaving as expected</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslogd-not-behaving-as-expected/m-p/3414355#M203063</link>
      <description>Move local0.debug /var/opt/SIU_01/log/sysloglocal.log &lt;BR /&gt;ahead of syslog - then restart syslogd&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Wed, 03 Nov 2004 15:16:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslogd-not-behaving-as-expected/m-p/3414355#M203063</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-11-03T15:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: syslogd not behaving as expected</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslogd-not-behaving-as-expected/m-p/3414356#M203064</link>
      <description>Hi Geoff,&lt;BR /&gt;I tried your suggestion, but still the same problem. I ran the syslogd in debug mode also and could see clearly that when I use the facility as USER then it says Logging to the coorect file and when I use local0 then it just ignores the filename specified in syslog.conf and starts logging to syslog.&lt;BR /&gt;any more suggestions...</description>
      <pubDate>Wed, 03 Nov 2004 15:31:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslogd-not-behaving-as-expected/m-p/3414356#M203064</guid>
      <dc:creator>Saurabh Kapoor_2</dc:creator>
      <dc:date>2004-11-03T15:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: syslogd not behaving as expected</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslogd-not-behaving-as-expected/m-p/3414357#M203065</link>
      <description>What about moving the location of the log file?  may be a permission thing...&lt;BR /&gt;&lt;BR /&gt;Instead of:&lt;BR /&gt;&lt;BR /&gt;local0.debug /var/opt/SIU_01/log/sysloglocal.log &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Make it:&lt;BR /&gt;&lt;BR /&gt;local0.debug /var/adm/syslog/sysloglocal.log &lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Wed, 03 Nov 2004 15:58:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslogd-not-behaving-as-expected/m-p/3414357#M203065</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-11-03T15:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: syslogd not behaving as expected</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslogd-not-behaving-as-expected/m-p/3414358#M203066</link>
      <description>Hi Geoff,&lt;BR /&gt;Tried it. Does not help.&lt;BR /&gt;I am getting to a point to think perhaps that the application I am configuring to divert its logs to a different location has some kind of a hard coding for the facility.&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Nov 2004 16:06:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslogd-not-behaving-as-expected/m-p/3414358#M203066</guid>
      <dc:creator>Saurabh Kapoor_2</dc:creator>
      <dc:date>2004-11-03T16:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: syslogd not behaving as expected</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslogd-not-behaving-as-expected/m-p/3414359#M203067</link>
      <description>Let us try this before giving up.&lt;BR /&gt;&lt;BR /&gt;syslog is particularly sensitive about the spacing between the two fields.&lt;BR /&gt;&lt;BR /&gt;# sed '/^local0.debug/d' syslog.conf &amp;gt; /etc/syslog.copy&lt;BR /&gt;&lt;BR /&gt;# echo "local0.debug\t/var/opt/SIU_01/log/sysloglocal.log" &amp;gt;&amp;gt; /etc/syslog.copy&lt;BR /&gt;&lt;BR /&gt;# mv /etc/syslog.copy /etc/syslog.conf&lt;BR /&gt;&lt;BR /&gt;# kill -1 `cat /var/run/syslog.pid`&lt;BR /&gt;&lt;BR /&gt;syslogd expects a &lt;TAB&gt; after the facility. See if this helps and let us know.&lt;BR /&gt;&lt;BR /&gt;&lt;/TAB&gt;</description>
      <pubDate>Wed, 03 Nov 2004 16:11:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslogd-not-behaving-as-expected/m-p/3414359#M203067</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-11-03T16:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: syslogd not behaving as expected</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslogd-not-behaving-as-expected/m-p/3414360#M203068</link>
      <description>Good catch Sundar..&lt;BR /&gt;&lt;BR /&gt;I thought I posted the same findings about the TAB a few days ago..!&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Nov 2004 16:30:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslogd-not-behaving-as-expected/m-p/3414360#M203068</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2004-11-03T16:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: syslogd not behaving as expected</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslogd-not-behaving-as-expected/m-p/3414361#M203069</link>
      <description>I knew this for sometime now Nelson ! :-)&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=723241" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=723241&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Nov 2004 16:39:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslogd-not-behaving-as-expected/m-p/3414361#M203069</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-11-03T16:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: syslogd not behaving as expected</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslogd-not-behaving-as-expected/m-p/3414362#M203070</link>
      <description>Thanks for the information but it did not help in solving the problem still...</description>
      <pubDate>Wed, 03 Nov 2004 16:55:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslogd-not-behaving-as-expected/m-p/3414362#M203070</guid>
      <dc:creator>Saurabh Kapoor_2</dc:creator>
      <dc:date>2004-11-03T16:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: syslogd not behaving as expected</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslogd-not-behaving-as-expected/m-p/3414363#M203071</link>
      <description>If you are suspecting the application then let us try from the command line&lt;BR /&gt;&lt;BR /&gt;1) make sure you have the above entries for local0.notice&lt;BR /&gt;&lt;BR /&gt;2) Issue the following command&lt;BR /&gt;&lt;BR /&gt;  # logger -p local0.notice "Hey this is a test"&lt;BR /&gt;&lt;BR /&gt;  # cat /var/opt/SIU_01/log/sysloglocal.log&lt;BR /&gt;&lt;BR /&gt;  Do you see anything in there ?- do you see atleast an empty file getting created automatically ? - did u send the HUP signal to syslogd ?&lt;BR /&gt;&lt;BR /&gt;- Sundar</description>
      <pubDate>Wed, 03 Nov 2004 16:58:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslogd-not-behaving-as-expected/m-p/3414363#M203071</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-11-03T16:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: syslogd not behaving as expected</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslogd-not-behaving-as-expected/m-p/3414364#M203072</link>
      <description>Hi,&lt;BR /&gt;When I send the message usinbg logger then it shows up in the /var/opt/SIU_01/log/sysloglocal.log&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Nov 2004 17:07:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslogd-not-behaving-as-expected/m-p/3414364#M203072</guid>
      <dc:creator>Saurabh Kapoor_2</dc:creator>
      <dc:date>2004-11-03T17:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: syslogd not behaving as expected</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslogd-not-behaving-as-expected/m-p/3414365#M203073</link>
      <description>OK now you have it confirmed that syslogd is properly configured to redirect the facility. The problem is with the application only. Would be a good idea to double-check the log facility name and level it uses.</description>
      <pubDate>Wed, 03 Nov 2004 17:13:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslogd-not-behaving-as-expected/m-p/3414365#M203073</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-11-03T17:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: syslogd not behaving as expected</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslogd-not-behaving-as-expected/m-p/3414366#M203074</link>
      <description>logger is definitely the first tool to test logging. Note that syslog.conf is processed one line at a time, so if you don't want local# entries in certain logs, you'll need to use the NONE priority.&lt;BR /&gt; &lt;BR /&gt;Another nifty feature is the -v option which will show you exactly what the program used to signal syslog (facility and level). Change syslogd to add -v in /etc/inetd.conf, then signal inetd to re-read the file with inetd -c. Now, there will be a codenumber that tells the facility and level. I've attached a script which will read a syslog file and decode these numbers into readable values. Note that it scans the entire log looking for a -v code. If not enabled, syslogdecoder reports that -v logging was not found. For a long syslog, this will take a while. It's a good idea to start a new syslog file if you change syslogd options.</description>
      <pubDate>Wed, 03 Nov 2004 22:09:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslogd-not-behaving-as-expected/m-p/3414366#M203074</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-11-03T22:09:28Z</dc:date>
    </item>
  </channel>
</rss>

