<?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: cntl.log in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cntl-log/m-p/3164645#M705306</link>
    <description>Thanks Jeff and Ashwani.  From your suggestion, I think the best way to reduce the size, is to trim it manually or by writing some scripts.&lt;BR /&gt;&lt;BR /&gt;Thanks again.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Mani&lt;BR /&gt;</description>
    <pubDate>Wed, 14 Jan 2004 15:13:04 GMT</pubDate>
    <dc:creator>Mani_5</dc:creator>
    <dc:date>2004-01-14T15:13:04Z</dc:date>
    <item>
      <title>cntl.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cntl-log/m-p/3164639#M705300</link>
      <description>When is the file &lt;SOMTHING&gt;.cntl.log is generated? what is the purpose and can we disable it?&lt;/SOMTHING&gt;</description>
      <pubDate>Wed, 14 Jan 2004 14:00:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cntl-log/m-p/3164639#M705300</guid>
      <dc:creator>Mani_5</dc:creator>
      <dc:date>2004-01-14T14:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: cntl.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cntl-log/m-p/3164640#M705301</link>
      <description>Hi Mani,&lt;BR /&gt;&lt;BR /&gt;This sounds like a Service Guard package log.&lt;BR /&gt;Do you have Service Guard running on this system?&lt;BR /&gt;Is this file being created in&lt;BR /&gt;/etc/cmcluster/&lt;SOMTHING&gt;?&lt;BR /&gt;&lt;BR /&gt;If yes to both above it's logging the package's stdout &amp;amp; stderr &amp;amp; it SHOULD NOT be disabled.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff&lt;/SOMTHING&gt;</description>
      <pubDate>Wed, 14 Jan 2004 14:08:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cntl-log/m-p/3164640#M705301</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-01-14T14:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: cntl.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cntl-log/m-p/3164641#M705302</link>
      <description>Hi Jeff,&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply. You are correct. the file is in /etc/cmcluster folder. to be precise it is /etc/cmcluster/sp01p19/sp01p19.cntl.log. The problem is, this file logging java exceptions that are thrown in our java application, and gets bigger and bigger.. sometimes as big as 52 MB. We are trying to figure out best way to stop it from logging.  Strangely, last time I found a similar file sp01p19.cntl.log in /tmp folder, which again had the same problem.  Can you tell me why this file is logging the stderr of our java application running on iPlanet server in HPUX &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Mani&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Jan 2004 14:43:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cntl-log/m-p/3164641#M705302</guid>
      <dc:creator>Mani_5</dc:creator>
      <dc:date>2004-01-14T14:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: cntl.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cntl-log/m-p/3164642#M705303</link>
      <description>This is package control script log file and only gets updated when the package starts up or shuts down .&lt;BR /&gt;&lt;BR /&gt;If your java application configured as package then this is a normal behaviour and should not be stopped . You can trim the file or remove it . Service guard will recreate it on the next package startup or shutdown .&lt;BR /&gt;&lt;BR /&gt;THe messages are only logged during startup or shutdown unless somebody/somethin redirects the java logs to this file . Check the time stamps on the file to ensure that only the startups and shutdons are logged .</description>
      <pubDate>Wed, 14 Jan 2004 14:48:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cntl-log/m-p/3164642#M705303</guid>
      <dc:creator>Ashwani Kashyap</dc:creator>
      <dc:date>2004-01-14T14:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: cntl.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cntl-log/m-p/3164643#M705304</link>
      <description>Hi (again) Mani,&lt;BR /&gt;&lt;BR /&gt;By default any SW started by the package will have it's stdout &amp;amp; stderr captured &amp;amp; written to the pkg log. This is usually a good thing - you *want* to see any error the pkg's SW is kicking out.&lt;BR /&gt;So as I see it you have three options:&lt;BR /&gt;&lt;BR /&gt;1) Trim the log periodically - You can use SAM for this   sam -&amp;gt; Routine Tasks -&amp;gt; System Log Files -&amp;gt; Actions -&amp;gt; Add to List   &lt;BR /&gt;Then define this file &amp;amp; it's trim levels &amp;amp; trim type. Or just manually trim it from time to time.&lt;BR /&gt;&lt;BR /&gt;2) Edit the startup command inside the package control script for this SW &amp;amp; redirect stderr on the command line to another file or /dev/null if you want.&lt;BR /&gt;&lt;BR /&gt;3) The one I'd recommend - HAVE THE DEVELOPERS FIX THE CODE SO IT WON'T THROW SO MANY EXCEPTIONS. You know developers - You can't live with them &amp;amp; you can't shoot them ;~))&lt;BR /&gt;But they really should look at the code &amp;amp; determine why it's doing this &amp;amp; solve it - that's the real solution.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Wed, 14 Jan 2004 15:05:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cntl-log/m-p/3164643#M705304</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-01-14T15:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: cntl.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cntl-log/m-p/3164644#M705305</link>
      <description>I'm making some assumptions here, but this should be correct...&lt;BR /&gt;&lt;BR /&gt;In the file /etc/cmcluster/sp01p19/sp01p19.cntl&lt;BR /&gt;&lt;BR /&gt;There will be a function called customer_defined_run_cmds and within here will be the command(s) to start your application - I have no idea what these will be, but if you redirect stdout and stderr of these commands either to another log file elsewhere, or to /dev/null you shouldn't have this problem, e.g.:&lt;BR /&gt;&lt;BR /&gt;start_my_app&lt;BR /&gt;&lt;BR /&gt;-becomes-&lt;BR /&gt;&lt;BR /&gt;start_my_app &amp;gt;/big_file_system/my_app.log 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;-or-&lt;BR /&gt;&lt;BR /&gt;start_my_app &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Jan 2004 15:13:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cntl-log/m-p/3164644#M705305</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2004-01-14T15:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: cntl.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cntl-log/m-p/3164645#M705306</link>
      <description>Thanks Jeff and Ashwani.  From your suggestion, I think the best way to reduce the size, is to trim it manually or by writing some scripts.&lt;BR /&gt;&lt;BR /&gt;Thanks again.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Mani&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Jan 2004 15:13:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cntl-log/m-p/3164645#M705306</guid>
      <dc:creator>Mani_5</dc:creator>
      <dc:date>2004-01-14T15:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: cntl.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cntl-log/m-p/3164646#M705307</link>
      <description>Hi Duncan,&lt;BR /&gt;&lt;BR /&gt;Thanks for your suggestion. I'll try to figure out how the application is getting started form the package.&lt;BR /&gt;&lt;BR /&gt;Thanks again.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Mani</description>
      <pubDate>Wed, 14 Jan 2004 15:21:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cntl-log/m-p/3164646#M705307</guid>
      <dc:creator>Mani_5</dc:creator>
      <dc:date>2004-01-14T15:21:43Z</dc:date>
    </item>
  </channel>
</rss>

