<?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: /var getting full in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/var-getting-full/m-p/5284287#M474763</link>
    <description>Hi:&lt;BR /&gt;&lt;BR /&gt;By definition, '/var/tmp' is intended for use by non-root users for creating temporary files.  As such, you are free to 'rm' files from this directory.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Wed, 08 Jun 2011 14:06:20 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2011-06-08T14:06:20Z</dc:date>
    <item>
      <title>/var getting full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-getting-full/m-p/5284286#M474762</link>
      <description>Dear Experts,&lt;BR /&gt;&lt;BR /&gt;Suddenly i have got sendmail[820]: NOQUEUE: low on space (have 91, SMTP-DAEMON needs 101 in ....) messages in my console. bdf output shows that /var is 100%. then i have followed below steps:&lt;BR /&gt;&lt;BR /&gt;Step 1: Trim below logs&lt;BR /&gt;=======&lt;BR /&gt;&lt;BR /&gt;&amp;gt; /var/adm/btmp (note use of &amp;gt;, not rm)&lt;BR /&gt;&amp;gt; /var/adm/cron/OLDlog&lt;BR /&gt;&amp;gt; /var/adm/cron/log&lt;BR /&gt;&amp;gt; /var/adm/lp/log&lt;BR /&gt;&amp;gt; /var/adm/sulog&lt;BR /&gt;&amp;gt; /var/adm/syslog/mail.log&lt;BR /&gt;&amp;gt; /var/adm/syslog/OLDsyslog.log&lt;BR /&gt;&amp;gt; /var/adm/syslog/syslog.log (check for error messages before nulling syslog)&lt;BR /&gt;&amp;gt; /var/adm/wtmp&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Step 2:&lt;BR /&gt;=======&lt;BR /&gt;&lt;BR /&gt;Run below command:&lt;BR /&gt;&lt;BR /&gt;Check if you have superseded patches installed.&lt;BR /&gt;&lt;BR /&gt;# cleanup -p -c1&lt;BR /&gt;&lt;BR /&gt;# cleanup -c1 ---&amp;gt;This command will clean up superced patch files from&lt;BR /&gt;                  "/var/adm/sw/save" locatio&lt;BR /&gt;&lt;BR /&gt;Step 3: &lt;BR /&gt;=====&lt;BR /&gt;# rm /var/spool/mqueue/*&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;But i have also found some other files under "/var/tmp/" directory like "/var/tmp/hp/newpatch" &amp;amp; there are many files. My query is can i delete all files &amp;amp; folders under  "/var/tmp/hp/", "/var/tmp/hp/newpatch", "/var/tmp/hp/depot" directory using "rm" commands ??&lt;BR /&gt;&lt;BR /&gt;BR&lt;BR /&gt;Minhaz&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jun 2011 13:56:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-getting-full/m-p/5284286#M474762</guid>
      <dc:creator>Md. Minhaz Khan</dc:creator>
      <dc:date>2011-06-08T13:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: /var getting full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-getting-full/m-p/5284287#M474763</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;By definition, '/var/tmp' is intended for use by non-root users for creating temporary files.  As such, you are free to 'rm' files from this directory.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 08 Jun 2011 14:06:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-getting-full/m-p/5284287#M474763</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2011-06-08T14:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: /var getting full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-getting-full/m-p/5284288#M474764</link>
      <description>Find out where your space is actually used by running this command:&lt;BR /&gt; &lt;BR /&gt;du -kx /var | sort -rn | head -30&lt;BR /&gt; &lt;BR /&gt;These arfe the biggest directories. It's always better to search for big directories first. You may find a massive amount of space used by the diagnostic logs due to a problems with the hardware, or you might find a disabled printer that has dozens or jobs queued.&lt;BR /&gt; &lt;BR /&gt;Post the results and we can provide better choices for cleaning up /var. NOTE: /var and /tmp require regular maintenance (cleaning out junki files, etc). &lt;BR /&gt; &lt;BR /&gt;The /var/tmp/hp directory was created by a sysadmin and is probably not needed anymore. Check with the sysadmin to see if these depots have already been installed and are not used by other HP-UX systems.</description>
      <pubDate>Wed, 08 Jun 2011 17:26:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-getting-full/m-p/5284288#M474764</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2011-06-08T17:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: /var getting full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-getting-full/m-p/5284289#M474765</link>
      <description>Thanks a lot&lt;BR /&gt;&lt;BR /&gt;BR&lt;BR /&gt;Minhaz</description>
      <pubDate>Thu, 09 Jun 2011 05:49:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-getting-full/m-p/5284289#M474765</guid>
      <dc:creator>Md. Minhaz Khan</dc:creator>
      <dc:date>2011-06-09T05:49:43Z</dc:date>
    </item>
  </channel>
</rss>

