<?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: how to recreate /etc/rc.log file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-etc-rc-log-file/m-p/3099300#M146598</link>
    <description>/etc/rc.log is recreated at boot time.&lt;BR /&gt;If you have lost it, you can' t recreate it until next reboot. &lt;BR /&gt;You can restore from backup if you have one.&lt;BR /&gt;There is probably a previous copy in /etc/rc.log.old, unless you've rm'd that also.&lt;BR /&gt;-- Graham&lt;BR /&gt;</description>
    <pubDate>Wed, 22 Oct 2003 04:23:49 GMT</pubDate>
    <dc:creator>Graham Cameron_1</dc:creator>
    <dc:date>2003-10-22T04:23:49Z</dc:date>
    <item>
      <title>how to recreate /etc/rc.log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-etc-rc-log-file/m-p/3099299#M146597</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;We suppressed, by mistake, the file /etc/rc.log. We don't arrive to recreate it. &lt;BR /&gt;&lt;BR /&gt;Thanks for your help&lt;BR /&gt;&lt;BR /&gt;Claire</description>
      <pubDate>Wed, 22 Oct 2003 04:16:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-etc-rc-log-file/m-p/3099299#M146597</guid>
      <dc:creator>daelman</dc:creator>
      <dc:date>2003-10-22T04:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to recreate /etc/rc.log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-etc-rc-log-file/m-p/3099300#M146598</link>
      <description>/etc/rc.log is recreated at boot time.&lt;BR /&gt;If you have lost it, you can' t recreate it until next reboot. &lt;BR /&gt;You can restore from backup if you have one.&lt;BR /&gt;There is probably a previous copy in /etc/rc.log.old, unless you've rm'd that also.&lt;BR /&gt;-- Graham&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Oct 2003 04:23:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-etc-rc-log-file/m-p/3099300#M146598</guid>
      <dc:creator>Graham Cameron_1</dc:creator>
      <dc:date>2003-10-22T04:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to recreate /etc/rc.log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-etc-rc-log-file/m-p/3099301#M146599</link>
      <description>At systemboot or change of runlevel it will recreate it. To be shure it can write to the file do a "touch /etc/rc.log" as user root.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Oct 2003 04:24:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-etc-rc-log-file/m-p/3099301#M146599</guid>
      <dc:creator>Hoefnix</dc:creator>
      <dc:date>2003-10-22T04:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to recreate /etc/rc.log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-etc-rc-log-file/m-p/3099302#M146600</link>
      <description>I think the machine again while startup should re-create that file for you.&lt;BR /&gt;&lt;BR /&gt;ELse&lt;BR /&gt;&lt;BR /&gt;#cd /etc&lt;BR /&gt;#touch rc.log&lt;BR /&gt;#chown root:root /etc/rc.log&lt;BR /&gt;#chmod 644 /etc/rc.log&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Oct 2003 04:25:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-etc-rc-log-file/m-p/3099302#M146600</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-10-22T04:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to recreate /etc/rc.log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-etc-rc-log-file/m-p/3099303#M146601</link>
      <description>The rc.log creation is controlled by rc.utils in /sbin, which uses for instance /etc/rc.config.d/list_mode&lt;BR /&gt;&lt;BR /&gt;Take a look at those parameters. If LIST_MODE is set to off this could be the case. Otherwise it is possible the rc.log file resides in /tmp.&lt;BR /&gt;&lt;BR /&gt;Hope this solves your issue.</description>
      <pubDate>Wed, 22 Oct 2003 04:26:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-etc-rc-log-file/m-p/3099303#M146601</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2003-10-22T04:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to recreate /etc/rc.log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-etc-rc-log-file/m-p/3099304#M146602</link>
      <description>In fact, we made a copy before suppress it but we don't arrive to copy the file in /etc/rc.log. The problem is that we wanted to make place in /etc. When rc.log has been moved, no space has been liberated. So now, we can't move our original file.</description>
      <pubDate>Wed, 22 Oct 2003 04:29:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-etc-rc-log-file/m-p/3099304#M146602</guid>
      <dc:creator>daelman</dc:creator>
      <dc:date>2003-10-22T04:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to recreate /etc/rc.log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-etc-rc-log-file/m-p/3099305#M146603</link>
      <description>If you're saying that /etc is full then you have bigger problems than a missing rc.log file.&lt;BR /&gt;Can you post the output of:&lt;BR /&gt;&lt;BR /&gt;bdf /etc&lt;BR /&gt;ls -ld /etc/rc*&lt;BR /&gt;ls -l [your rc.log backup]&lt;BR /&gt;&lt;BR /&gt;-- Graham</description>
      <pubDate>Wed, 22 Oct 2003 04:40:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-etc-rc-log-file/m-p/3099305#M146603</guid>
      <dc:creator>Graham Cameron_1</dc:creator>
      <dc:date>2003-10-22T04:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to recreate /etc/rc.log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-etc-rc-log-file/m-p/3099306#M146604</link>
      <description>The problem is that now there is no more rc.log file on /etc but space from rc.log is not liberated&lt;BR /&gt;&lt;BR /&gt;Filesystem&lt;BR /&gt;kbytes    used   avail %&lt;BR /&gt;204800  175088   29560   86% /&lt;BR /&gt;&lt;BR /&gt;ll rc.log&lt;BR /&gt;-rw-rw-rw-   1 root       sys        47715803 Oct 22 10:48 rc.log&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Oct 2003 05:25:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-etc-rc-log-file/m-p/3099306#M146604</guid>
      <dc:creator>daelman</dc:creator>
      <dc:date>2003-10-22T05:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to recreate /etc/rc.log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-etc-rc-log-file/m-p/3099307#M146605</link>
      <description>There is your answer.&lt;BR /&gt;&lt;BR /&gt;On /etc you have only 29Mb free, which is not a huge amount, but possibly enough for normal needs.&lt;BR /&gt;&lt;BR /&gt;However, your rc.log file, at 47Mb, is bigger than the free space on /etc, which is why you can't replace it.&lt;BR /&gt;&lt;BR /&gt;In fact for an rc.log file, it's *HUGE*.&lt;BR /&gt;Here's mine:&lt;BR /&gt;&lt;BR /&gt;-rw-r--r--   1 root       root         36524 Oct  5 16:34 /etc/rc.log&lt;BR /&gt;&lt;BR /&gt;I can only surmise that part of your boot process creates huge amounts of log output, and I suggest this needs to be investigated and addressed. What is in that 47Mb file ??&lt;BR /&gt;&lt;BR /&gt;-- Graham</description>
      <pubDate>Wed, 22 Oct 2003 05:34:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-etc-rc-log-file/m-p/3099307#M146605</guid>
      <dc:creator>Graham Cameron_1</dc:creator>
      <dc:date>2003-10-22T05:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to recreate /etc/rc.log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-etc-rc-log-file/m-p/3099308#M146606</link>
      <description>There is one more thing that is odd and perhaps the cause of your problem: some process is still writing in your rc.log.&lt;BR /&gt;Or have you rebooted this morning ?&lt;BR /&gt;&lt;BR /&gt;Please do a fuser on your rc.log file. I think you will see that one of your processes didn't redirect its output to its own logfile and is still using it.&lt;BR /&gt;You could also look at the bottom lines in the file (tail is a good command for this) to see what is being written to see what needs to be fixed.</description>
      <pubDate>Wed, 22 Oct 2003 06:37:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-etc-rc-log-file/m-p/3099308#M146606</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2003-10-22T06:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to recreate /etc/rc.log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-etc-rc-log-file/m-p/3099309#M146607</link>
      <description>As mentioned, your rc.log file is VERY large and that indicates that something is VERY wrong during bootup. This file is simply a log of the bootup steps found in /sbin/init.d so one (or more) of the scripts in that directory is doing something incorrectly. Most likely, you have a custom startup script in that directory which has a link in /sbin/rc.2 (or perhaps rc.1) or you have a actual script stored in one of the /sbin/rc.* directories. That script is very likely not exiting but continues to write to the /etc/rc.log file which is why removing the file does not free any space.&lt;BR /&gt; &lt;BR /&gt;When a process has a file open, it can be removed from the directory so that it does not show, but no space will be reclaimed until all processes have closed the file. Since this process is probably in your startup script, it will always be running (and making the file massively large. You'll need to move this startup script to /tmp and reboot. Then read over the details about start/stop scripts and how to handle the output from start/stop scripts. Use the 'tail' command to look at the end of the 47meg file to see what is going wrong.</description>
      <pubDate>Wed, 22 Oct 2003 06:50:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-etc-rc-log-file/m-p/3099309#M146607</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-10-22T06:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to recreate /etc/rc.log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-etc-rc-log-file/m-p/3099310#M146608</link>
      <description>There is another process which put his logs on rc.log. This is why rc.log is too big.</description>
      <pubDate>Wed, 22 Oct 2003 07:28:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-etc-rc-log-file/m-p/3099310#M146608</guid>
      <dc:creator>daelman</dc:creator>
      <dc:date>2003-10-22T07:28:15Z</dc:date>
    </item>
  </channel>
</rss>

