<?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: Random files made size zero in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/random-files-made-size-zero/m-p/3204493#M167274</link>
    <description>The filesystem is full.&lt;BR /&gt;&lt;BR /&gt;When HP-UX filesystems, especially root on 11.00 get 100% full, files randomly get reset to zero bytes.  On root, thats usually /etc/passwd or /etc/group&lt;BR /&gt;&lt;BR /&gt;Clear space and it will stop happening.&lt;BR /&gt;&lt;BR /&gt;If the machine is exposed to hackers, this is a known deffect and they may be trying to do this intentionally.&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;#&lt;BR /&gt;# disk.hogs Created 10/16/2002&lt;BR /&gt;# Steven E. Protter&lt;BR /&gt;#&lt;BR /&gt;# Find disk piggies..........................&lt;BR /&gt;#&lt;BR /&gt;# #!/bin/ksh&lt;BR /&gt;&lt;BR /&gt;# disk_hogs.ksh&lt;BR /&gt;&lt;BR /&gt;# This script will list the top 10 disk hog users in the /home/oradev&lt;BR /&gt;# directory, and also will list the 15 largest files in there.&lt;BR /&gt;du -kx / | sort -rn | more&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
    <pubDate>Fri, 27 Feb 2004 11:45:36 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2004-02-27T11:45:36Z</dc:date>
    <item>
      <title>Random files made size zero</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/random-files-made-size-zero/m-p/3204487#M167268</link>
      <description>I have just found out that I have files randomly spread out on my HP-UX 11.0 box that are now of size zero.  These are real files that we have been using that are now suddenly at size zero.  Does anyone have any idea how this could happen other than someone gaining access and doing it deliberately?&lt;BR /&gt;Thanks&lt;BR /&gt;Damon</description>
      <pubDate>Fri, 27 Feb 2004 10:44:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/random-files-made-size-zero/m-p/3204487#M167268</guid>
      <dc:creator>Cara Tock</dc:creator>
      <dc:date>2004-02-27T10:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Random files made size zero</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/random-files-made-size-zero/m-p/3204488#M167269</link>
      <description>Hi Damon,&lt;BR /&gt;&lt;BR /&gt;Note the time stamps of these files. Run 'last -R' and find out the logins that match these time stamps and that have permissions to alter these files. Ofcourse, one could use 'touch' to alter the time stamps.&lt;BR /&gt;&lt;BR /&gt;If you don't find any, then check your all cronjobs for jobs that run during that time. You may want to view those cronjobs and see anything suspecious.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Fri, 27 Feb 2004 10:48:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/random-files-made-size-zero/m-p/3204488#M167269</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-02-27T10:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: Random files made size zero</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/random-files-made-size-zero/m-p/3204489#M167270</link>
      <description>Damon,&lt;BR /&gt;&lt;BR /&gt;Could you give us a few examples of those files ( PATH and file names ) ?&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Fri, 27 Feb 2004 10:50:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/random-files-made-size-zero/m-p/3204489#M167270</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2004-02-27T10:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Random files made size zero</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/random-files-made-size-zero/m-p/3204490#M167271</link>
      <description>Hi Damon,&lt;BR /&gt;&lt;BR /&gt;Like the others have mentioned check cron and server access. Did those file change onwnership or mode?  (users umask) Check passwd file for strange things failed sulogs stange ip-adresses that have connected?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Gideon&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 27 Feb 2004 10:56:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/random-files-made-size-zero/m-p/3204490#M167271</guid>
      <dc:creator>G. Vrijhoeven</dc:creator>
      <dc:date>2004-02-27T10:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Random files made size zero</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/random-files-made-size-zero/m-p/3204491#M167272</link>
      <description>All of the time stamps are the same which indicates to me that a process did this.  I looked at crontab and I don't see anything. The files are spread out and I noticed it when I tried to restart named. I typed in /usr/sbin/sig_named restart and nothing happened.  I found out that the file this is linked to was of size zero. The file is /usr/contrib/bind/usr/sbin/sig_named. I found almost all of the files in /opt/dce/bin to be of size zero.  I also had 2 files out of hundreds in a directory that holds all of the executables for our application to be of size zero.</description>
      <pubDate>Fri, 27 Feb 2004 11:02:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/random-files-made-size-zero/m-p/3204491#M167272</guid>
      <dc:creator>Cara Tock</dc:creator>
      <dc:date>2004-02-27T11:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: Random files made size zero</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/random-files-made-size-zero/m-p/3204492#M167273</link>
      <description>The files didn't have the ownership changed or the mode.  They looked exactly like they should except for two things, timestamp and size.</description>
      <pubDate>Fri, 27 Feb 2004 11:06:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/random-files-made-size-zero/m-p/3204492#M167273</guid>
      <dc:creator>Cara Tock</dc:creator>
      <dc:date>2004-02-27T11:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Random files made size zero</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/random-files-made-size-zero/m-p/3204493#M167274</link>
      <description>The filesystem is full.&lt;BR /&gt;&lt;BR /&gt;When HP-UX filesystems, especially root on 11.00 get 100% full, files randomly get reset to zero bytes.  On root, thats usually /etc/passwd or /etc/group&lt;BR /&gt;&lt;BR /&gt;Clear space and it will stop happening.&lt;BR /&gt;&lt;BR /&gt;If the machine is exposed to hackers, this is a known deffect and they may be trying to do this intentionally.&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;#&lt;BR /&gt;# disk.hogs Created 10/16/2002&lt;BR /&gt;# Steven E. Protter&lt;BR /&gt;#&lt;BR /&gt;# Find disk piggies..........................&lt;BR /&gt;#&lt;BR /&gt;# #!/bin/ksh&lt;BR /&gt;&lt;BR /&gt;# disk_hogs.ksh&lt;BR /&gt;&lt;BR /&gt;# This script will list the top 10 disk hog users in the /home/oradev&lt;BR /&gt;# directory, and also will list the 15 largest files in there.&lt;BR /&gt;du -kx / | sort -rn | more&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
      <pubDate>Fri, 27 Feb 2004 11:45:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/random-files-made-size-zero/m-p/3204493#M167274</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-02-27T11:45:36Z</dc:date>
    </item>
  </channel>
</rss>

