<?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: memory fault in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-fault/m-p/4072242#M307752</link>
    <description>Somehow I thought this was the result of running that famous, trouble-free, absolutely wonderful shell.</description>
    <pubDate>Tue, 18 Sep 2007 19:51:28 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2007-09-18T19:51:28Z</dc:date>
    <item>
      <title>memory fault</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-fault/m-p/4072235#M307745</link>
      <description>Is there a known bug in 11.23 when trying to su commands in boot scripts?&lt;BR /&gt;&lt;BR /&gt;we have an oracle.rc script that runs during boot up and works just fine on our 11.11 boxes.  But on 11.23 boxes, it creates a memory fault.&lt;BR /&gt;&lt;BR /&gt;/sbin/rc4.d/S400oracle.rc[130]: 7862 Memory fault&lt;BR /&gt;&lt;BR /&gt;that line of code is the following:&lt;BR /&gt;&lt;BR /&gt;su "${ORAUSER}" -c "${ORACLE_HOME}/bin/orastart&lt;BR /&gt;&lt;BR /&gt;as I test I put in another simple su command which also produced a memory fault.&lt;BR /&gt;&lt;BR /&gt;TIA&lt;BR /&gt;&lt;BR /&gt;CRS&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Sep 2007 14:14:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-fault/m-p/4072235#M307745</guid>
      <dc:creator>C R S</dc:creator>
      <dc:date>2007-09-18T14:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: memory fault</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-fault/m-p/4072236#M307746</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;I've always hard coded the username but I know of know bug in this functionality.&lt;BR /&gt;&lt;BR /&gt;Put a set -x in the oracle startup script, the one that S400oracle.rc points to and put the output in a file. You will likely find the line number that is giving you trouble. Put a set -x in orastart as well.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 18 Sep 2007 15:08:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-fault/m-p/4072236#M307746</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-09-18T15:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: memory fault</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-fault/m-p/4072237#M307747</link>
      <description>Note that you are missing a " at the end. I assume that ${ORAUSER} and ${ORACLE_HOME} are defined and that you are not depending upon the .profile entries for those values.</description>
      <pubDate>Tue, 18 Sep 2007 15:29:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-fault/m-p/4072237#M307747</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-09-18T15:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: memory fault</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-fault/m-p/4072238#M307748</link>
      <description>Hi,&lt;BR /&gt;  the missing " was a copy/paste error in this thread.&lt;BR /&gt;&lt;BR /&gt;I just want to note that once the system comes up, if I log in as root and run /sbin/rc4.d/S400oracle.rc start that it runs successfully and our oracle instance and listener start without issue.&lt;BR /&gt;&lt;BR /&gt;I have vreifies that the orastart script never gets run which is why I have determined that is is a problem with the "su" command.</description>
      <pubDate>Tue, 18 Sep 2007 15:36:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-fault/m-p/4072238#M307748</guid>
      <dc:creator>C R S</dc:creator>
      <dc:date>2007-09-18T15:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: memory fault</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-fault/m-p/4072239#M307749</link>
      <description>But that actually makes perfect sense. Unless your rc'ed command explicitly sets and exports ${ORAUSER} and ${ORACLE_HOME} then these values are undefined. &lt;BR /&gt;&lt;BR /&gt;You might try putting a set -x in your rc script so that you can see the arguments.&lt;BR /&gt;&lt;BR /&gt;On my 11.23 box, even su "" -c "" doesn't dump core so I don't think that the problem is directly related to su. By any chance, are you running something other than the POSIX shell?</description>
      <pubDate>Tue, 18 Sep 2007 16:04:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-fault/m-p/4072239#M307749</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-09-18T16:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: memory fault</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-fault/m-p/4072240#M307750</link>
      <description>Please don't get caught up on ORACLE_HOME and ORAUSER, those definitely get set.&lt;BR /&gt;&lt;BR /&gt;here is the output with the set -x&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-CRS</description>
      <pubDate>Tue, 18 Sep 2007 19:24:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-fault/m-p/4072240#M307750</guid>
      <dc:creator>C R S</dc:creator>
      <dc:date>2007-09-18T19:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: memory fault</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-fault/m-p/4072241#M307751</link>
      <description>this is very interesting.  the Oracle user is set up to use the bash shell.  When I changed the oracle user to use posix, it worked like a charm.&lt;BR /&gt;&lt;BR /&gt;However, this exact script works on 11.11 where the oracle user is setup to use bash.  so I wonder what the difference is, or maybe its an issue with the version of bash 11.23 is using.&lt;BR /&gt;&lt;BR /&gt;The problem is I need to get around this problem without changing the default shell for the oracle user.  &lt;BR /&gt;&lt;BR /&gt;any ideas?&lt;BR /&gt;&lt;BR /&gt;-CRS</description>
      <pubDate>Tue, 18 Sep 2007 19:34:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-fault/m-p/4072241#M307751</guid>
      <dc:creator>C R S</dc:creator>
      <dc:date>2007-09-18T19:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: memory fault</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-fault/m-p/4072242#M307752</link>
      <description>Somehow I thought this was the result of running that famous, trouble-free, absolutely wonderful shell.</description>
      <pubDate>Tue, 18 Sep 2007 19:51:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-fault/m-p/4072242#M307752</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-09-18T19:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: memory fault</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-fault/m-p/4072243#M307753</link>
      <description>If you had a core file, it would point right at the executable.  As it is, it is either su(1) or a shell (bash).</description>
      <pubDate>Tue, 18 Sep 2007 20:36:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-fault/m-p/4072243#M307753</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-09-18T20:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: memory fault</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-fault/m-p/4072244#M307754</link>
      <description>well, I never said a core was created.  I don't think one was produced.  I did find and did not see any core files.</description>
      <pubDate>Tue, 18 Sep 2007 21:43:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-fault/m-p/4072244#M307754</guid>
      <dc:creator>C R S</dc:creator>
      <dc:date>2007-09-18T21:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: memory fault</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-fault/m-p/4072245#M307755</link>
      <description>&amp;gt;did not see any core files.&lt;BR /&gt;&lt;BR /&gt;Is there a core directory in ~${ORAUSER}?&lt;BR /&gt;Or ulimit -c in .profile there?</description>
      <pubDate>Tue, 18 Sep 2007 21:52:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-fault/m-p/4072245#M307755</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-09-18T21:52:32Z</dc:date>
    </item>
  </channel>
</rss>

