<?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: cannot execute lvol's in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-execute-lvol-s/m-p/5238997#M469486</link>
    <description>What's on line 75 of /sbin/rc?&lt;BR /&gt;This is likely rc.config(4) which sources all files in /etc/rc.config.d/.  And you have left a junk file there, which contains a list of your LVs.</description>
    <pubDate>Sun, 09 May 2010 00:35:34 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2010-05-09T00:35:34Z</dc:date>
    <item>
      <title>cannot execute lvol's</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-execute-lvol-s/m-p/5238995#M469484</link>
      <description>Hi,&lt;BR /&gt;I am getting the below errors when trying to boot the server:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/sbin/rc[75]: /dev/vg00/lvol8: cannot execute&lt;BR /&gt;/sbin/rc[75]: /dev/vg00/lvol10: cannot execute&lt;BR /&gt;/sbin/rc[75]: /dev/vg00/lvol9: cannot execute&lt;BR /&gt;/sbin/rc[75]: /dev/vg00/lvol7: cannot execute&lt;BR /&gt;/sbin/rc[75]: /dev/vg00/lvol6: cannot execute&lt;BR /&gt;/sbin/rc[75]: /dev/vg00/lvol5: cannot execute&lt;BR /&gt;/sbin/rc[75]: /dev/vg00/lvol4: cannot execute&lt;BR /&gt;&lt;BR /&gt;But if i boot into single user mode, i am able to mount these lv's. Please suggest.&lt;BR /&gt;Thanks,&lt;BR /&gt;sagar.</description>
      <pubDate>Sat, 08 May 2010 12:56:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-execute-lvol-s/m-p/5238995#M469484</guid>
      <dc:creator>sagi_1</dc:creator>
      <dc:date>2010-05-08T12:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: cannot execute lvol's</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-execute-lvol-s/m-p/5238996#M469485</link>
      <description>&amp;gt;I am getting the below errors when trying to boot the server:&lt;BR /&gt;&lt;BR /&gt;- Seems to be there is some corruption , and the last shutdown was not proper.&lt;BR /&gt;- What happened before you got this message. Was it an unexpected shutdown.&lt;BR /&gt;- Can you mount all these lvs in single user mode. If yes, after mount , use # vgchange -a y vg00  , then  init 3 ( for multiuser mode).&lt;BR /&gt;&lt;BR /&gt;- else , go with fsck: Seems lvol3 is good, that is root. &lt;BR /&gt;- run in single user mode, run fsck to all the lvs [ 4,5,6,7,8,9,10 ] and shutdown and try again the boot process.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hth,&lt;BR /&gt;Raj.</description>
      <pubDate>Sat, 08 May 2010 13:20:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-execute-lvol-s/m-p/5238996#M469485</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2010-05-08T13:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: cannot execute lvol's</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-execute-lvol-s/m-p/5238997#M469486</link>
      <description>What's on line 75 of /sbin/rc?&lt;BR /&gt;This is likely rc.config(4) which sources all files in /etc/rc.config.d/.  And you have left a junk file there, which contains a list of your LVs.</description>
      <pubDate>Sun, 09 May 2010 00:35:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-execute-lvol-s/m-p/5238997#M469486</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-05-09T00:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: cannot execute lvol's</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-execute-lvol-s/m-p/5238998#M469487</link>
      <description>&amp;gt;  in /etc/rc.config.d/. And you have left a junk file there, which contains a list of your LVs.&lt;BR /&gt;&lt;BR /&gt;The rule is: Never create temporary files or other junk in the directory:/etc/rc.config.d If you must keep an old copy of a file, create a directory such as /etc/rc.config.d/old and put old copies of files there. You may have cd'ed into/etc/rc.config.d, then performed some sort of lvol listing and stored the result. This is another reason NOT to cd into a drirectory, especially a system directory, and run various commands.&lt;BR /&gt; &lt;BR /&gt;To find the bad file(s), use this command:&lt;BR /&gt; &lt;BR /&gt;ls -lrt /etc/rc.config.d&lt;BR /&gt; &lt;BR /&gt;The files at the end of this list are new and most likely junk that does not belong in /etc/rc.config.d&lt;BR /&gt;&lt;BR /&gt;&amp;gt; in /etc/rc.config.d/. And you have left a junk file there, which contains a list of your LVs.&lt;BR /&gt;&lt;BR /&gt;That's because the files in /etc/rc.config.d are not executed (sourced) for single user mode.</description>
      <pubDate>Sun, 09 May 2010 19:22:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-execute-lvol-s/m-p/5238998#M469487</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-05-09T19:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: cannot execute lvol's</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-execute-lvol-s/m-p/5238999#M469488</link>
      <description>Hi Sagar:&lt;BR /&gt;&lt;BR /&gt;One approach to finding problems like this is to do::&lt;BR /&gt;&lt;BR /&gt;# sh -vx /etc/rc.config 2&amp;gt;&amp;amp;1|more&lt;BR /&gt;&lt;BR /&gt;The sourcing of the '/etc/rc.config.d' directory's files will stops at the first culprit, enabling you to isolate the problem.&lt;BR /&gt;&lt;BR /&gt;With regard to how the '/etc/rc.config.d' directory is processed, it is true that any file therein is a candidate for processing with the *exception* that you *can* have backup copies of files that are *not* processed.&lt;BR /&gt;&lt;BR /&gt;When '/sbin/rc' runs, the '/etc/rc.config.d' directory is examined by the script '/etc/rc.config'. This script skips any file whose basename contains an "extension" that begins with the characters [.,~#].&lt;BR /&gt;&lt;BR /&gt;Thus, it is permissible to have 'netconf' and 'netconf.old'. The '.old' backup will *not* be processed.&lt;BR /&gt;&lt;BR /&gt;If, however, you had kept an old version of your 'netconf' file named as, 'oldnetconf', then *both* 'netconf' and 'oldnetconf' would be sourced. Since the letter "o" follows "n", the result would be undesirable insofar as the last variable declarations seen would be from the wrong file. &lt;BR /&gt;&lt;BR /&gt;However, caveat emptor!&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 09 May 2010 19:56:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-execute-lvol-s/m-p/5238999#M469488</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-05-09T19:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: cannot execute lvol's</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-execute-lvol-s/m-p/5239000#M469489</link>
      <description>netconf file was empty. the cause is unknown.&lt;BR /&gt;Recreated the file and made teh required entries.</description>
      <pubDate>Mon, 10 May 2010 14:42:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-execute-lvol-s/m-p/5239000#M469489</guid>
      <dc:creator>sagi_1</dc:creator>
      <dc:date>2010-05-10T14:42:14Z</dc:date>
    </item>
  </channel>
</rss>

