<?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: sh[2]: spu0.log: Cannot create the specified file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-2-spu0-log-cannot-create-the-specified-file/m-p/5568649#M478738</link>
    <description>&lt;P&gt;&amp;gt;thanks for great answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are happy, please click on the kudos star for each post that was helpful.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Feb 2012 19:32:59 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2012-02-29T19:32:59Z</dc:date>
    <item>
      <title>sh[2]: spu0.log: Cannot create the specified file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-2-spu0-log-cannot-create-the-specified-file/m-p/5566181#M478696</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My /var filsysem is 95%&lt;/P&gt;&lt;P&gt;when i clear /var/.audit logs&lt;/P&gt;&lt;P&gt;some logs clear and some&amp;nbsp; latest logs not clear.Its generated message.&lt;/P&gt;&lt;P&gt;For example:-----&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;&lt;P&gt;prodata1#pwd&lt;BR /&gt;/var/.audit/audtrail.20111230_0118&lt;BR /&gt;prodata1#&lt;BR /&gt;prodata1#ll&lt;BR /&gt;total 25352208&lt;BR /&gt;-rw-------&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12979435896 Feb 28 15:03 spu0.log&lt;BR /&gt;prodata1#&lt;BR /&gt;prodata1#&amp;gt; spu0.log&lt;BR /&gt;sh[2]: spu0.log: Cannot create the specified file.&lt;BR /&gt;prodata1#&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please suggest me .how can clear the message&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;aaamir&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2012 09:27:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-2-spu0-log-cannot-create-the-specified-file/m-p/5566181#M478696</guid>
      <dc:creator>aamir4u</dc:creator>
      <dc:date>2012-02-28T09:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: sh[2]: spu0.log: Cannot create the specified file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-2-spu0-log-cannot-create-the-specified-file/m-p/5566213#M478697</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;a) What does this command show currently:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# getacl spu0.log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like the audit trail is locked and does not allow other process to remove the record in it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;b) Also, how does the auditing look:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# audsys&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you can afford it, you can alwsy stop ther auditing for a second and remove/move the file then.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;VK2COT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2012 09:49:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-2-spu0-log-cannot-create-the-specified-file/m-p/5566213#M478697</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2012-02-28T09:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: sh[2]: spu0.log: Cannot create the specified file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-2-spu0-log-cannot-create-the-specified-file/m-p/5566935#M478708</link>
      <description>&lt;P&gt;&amp;gt;spu0.log: Cannot create the specified file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I assume you are root?&amp;nbsp; And /var/.audit/audtrail.20111230_0118/ isn't over NFS?&lt;/P&gt;&lt;P&gt;What does "bdf /var/.audit/audtrail.20111230_0118" show?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2012 20:30:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-2-spu0-log-cannot-create-the-specified-file/m-p/5566935#M478708</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-02-28T20:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: sh[2]: spu0.log: Cannot create the specified file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-2-spu0-log-cannot-create-the-specified-file/m-p/5567493#M478715</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;prodata1#bdf /var/.audit/audtrail.20111230_0118&lt;BR /&gt;Filesystem&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; kbytes&amp;nbsp;&amp;nbsp;&amp;nbsp; used&amp;nbsp;&amp;nbsp; avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol8&amp;nbsp;&amp;nbsp;&amp;nbsp; 41943040 41150720&amp;nbsp; 792008&amp;nbsp;&amp;nbsp; 98% /var&lt;BR /&gt;&lt;BR /&gt;One another question is my server /var/.ayudit has many directories&lt;/P&gt;&lt;P&gt;and i want do clear or delete logs under that directories or sub-directories&lt;/P&gt;&lt;P&gt;is any command to clears logs under .audit directory any sub-directory&lt;/P&gt;&lt;P&gt;(because .audits directory have 3000 thousand directory.On that directory have spu0.log file.and&lt;/P&gt;&lt;P&gt;i clear logs one by one .its take lot of time)&lt;/P&gt;&lt;P&gt;Please suggest me any shortcuts.to clear all logs.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Feb 2012 07:17:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-2-spu0-log-cannot-create-the-specified-file/m-p/5567493#M478715</guid>
      <dc:creator>aamir4u</dc:creator>
      <dc:date>2012-02-29T07:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: sh[2]: spu0.log: Cannot create the specified file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-2-spu0-log-cannot-create-the-specified-file/m-p/5567545#M478717</link>
      <description>&lt;P&gt;&amp;gt;Please suggest me any shortcuts to clear all logs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can always do rm -rf.&lt;/P&gt;&lt;P&gt;And if too many, you can script it with find.&lt;/P&gt;&lt;P&gt;How many do you want to keep.&amp;nbsp; How many to delete?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Feb 2012 08:20:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-2-spu0-log-cannot-create-the-specified-file/m-p/5567545#M478717</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-02-29T08:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: sh[2]: spu0.log: Cannot create the specified file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-2-spu0-log-cannot-create-the-specified-file/m-p/5567595#M478719</link>
      <description>&lt;P&gt;Thanks for advice.&lt;/P&gt;&lt;P&gt;I want to delete 2000 directories.&lt;/P&gt;&lt;P&gt;But one thing&lt;/P&gt;&lt;P&gt;when we clear logs&lt;/P&gt;&lt;P&gt;Example:---------&lt;/P&gt;&lt;P&gt;&amp;gt; /var/.audit/audtrail.20111230_0118/spu0.log&lt;/P&gt;&lt;P&gt;its clears the file content not delete the file or dir.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is any shortcut process to clear the 2000 files content unde /var/.audit/sub-dir-name/spu0.log (not one by one)&lt;/P&gt;&lt;P&gt;if any process to tell me.otherwise,&lt;/P&gt;&lt;P&gt;tell me rm -rf delete process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for advanced.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Feb 2012 08:50:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-2-spu0-log-cannot-create-the-specified-file/m-p/5567595#M478719</guid>
      <dc:creator>aamir4u</dc:creator>
      <dc:date>2012-02-29T08:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: sh[2]: spu0.log: Cannot create the specified file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-2-spu0-log-cannot-create-the-specified-file/m-p/5567607#M478720</link>
      <description>&lt;P&gt;&amp;gt;Is any shortcut process to clear the 2000 files content under /var/.audit/sub-dir-name/spu0.log (not one by one)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sure, you write a script:&lt;/P&gt;&lt;P&gt;for log in /var/.audit/*/spu0.log; do&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;gt; $log&lt;/P&gt;&lt;P&gt;done&lt;/P&gt;</description>
      <pubDate>Wed, 29 Feb 2012 08:55:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-2-spu0-log-cannot-create-the-specified-file/m-p/5567607#M478720</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-02-29T08:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: sh[2]: spu0.log: Cannot create the specified file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-2-spu0-log-cannot-create-the-specified-file/m-p/5568021#M478725</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thaks for great answer.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Feb 2012 12:42:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-2-spu0-log-cannot-create-the-specified-file/m-p/5568021#M478725</guid>
      <dc:creator>aamir4u</dc:creator>
      <dc:date>2012-02-29T12:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: sh[2]: spu0.log: Cannot create the specified file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-2-spu0-log-cannot-create-the-specified-file/m-p/5568649#M478738</link>
      <description>&lt;P&gt;&amp;gt;thanks for great answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are happy, please click on the kudos star for each post that was helpful.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Feb 2012 19:32:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-2-spu0-log-cannot-create-the-specified-file/m-p/5568649#M478738</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-02-29T19:32:59Z</dc:date>
    </item>
  </channel>
</rss>

