<?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: oracle user error - ulimit in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-user-error-ulimit/m-p/3582735#M230163</link>
    <description>Hi Lisa,&lt;BR /&gt;&lt;BR /&gt;As patti mentioned you may be encountering a problem (Bug 369373) with the oraenv file that comes with Oracle for HP UNIX.&lt;BR /&gt;&lt;BR /&gt;ORAENV checks for the value of 'ulimit' which is a parameter that verifies that there is enough resource available for users.  This parameter should parse and return a numeric value from UNIX to the ORAENV. The bad oraenv file traps a return argument to the ulimit UNIX command of "unlimited" when the script expects a number. &lt;BR /&gt;&lt;BR /&gt;Attached is the steps to modify the oraenv file.&lt;BR /&gt;&lt;BR /&gt;If you receive the following message in UNIX when you start PSUB, thenyou may have a blank line at line 24 of the oraenv file. This line may have some unrecognizable code in it.  If so, you should delete the line and try starting PSUB again.&lt;BR /&gt;&lt;BR /&gt;IA&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 15 Jul 2005 01:51:11 GMT</pubDate>
    <dc:creator>Indira Aramandla</dc:creator>
    <dc:date>2005-07-15T01:51:11Z</dc:date>
    <item>
      <title>oracle user error - ulimit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-user-error-ulimit/m-p/3582727#M230155</link>
      <description>I receive the following error after invoking the oraenv file, (when trying to update the ORACLE_SID) I get the error message:&lt;BR /&gt;ksh: unlimited: bad number&lt;BR /&gt;The oracle_sid is changed but this error message never used to appear before. Is this because oracle doesn't like one of my ulimit parameters?&lt;BR /&gt;&lt;BR /&gt;How do I figure out which parameter it is and can I put something into the oracle user .profile/oraenv to get rid of the message?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;Lisa</description>
      <pubDate>Thu, 14 Jul 2005 08:03:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-user-error-ulimit/m-p/3582727#M230155</guid>
      <dc:creator>Lisa Callison</dc:creator>
      <dc:date>2005-07-14T08:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: oracle user error - ulimit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-user-error-ulimit/m-p/3582728#M230156</link>
      <description>Lisa,&lt;BR /&gt;&lt;BR /&gt;Refer to this link; &lt;A href="http://unix.derkeiler.com/Mailing-Lists/HP-UX-Admin/2003-10/0021.html" target="_blank"&gt;http://unix.derkeiler.com/Mailing-Lists/HP-UX-Admin/2003-10/0021.html&lt;/A&gt;</description>
      <pubDate>Thu, 14 Jul 2005 08:13:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-user-error-ulimit/m-p/3582728#M230156</guid>
      <dc:creator>David Child_1</dc:creator>
      <dc:date>2005-07-14T08:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: oracle user error - ulimit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-user-error-ulimit/m-p/3582729#M230157</link>
      <description>Lisa -- Check out document KBRC00013163&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=KBRC00013163" target="_blank"&gt;http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=KBRC00013163&lt;/A&gt;</description>
      <pubDate>Thu, 14 Jul 2005 08:15:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-user-error-ulimit/m-p/3582729#M230157</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2005-07-14T08:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: oracle user error - ulimit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-user-error-ulimit/m-p/3582730#M230158</link>
      <description>Hi Lisa&lt;BR /&gt;&lt;BR /&gt;best if you can post a copy of the oraenv file on here.  Would suggest the ULIMIT values in there might need changing.&lt;BR /&gt;&lt;BR /&gt;have you also run a ulimit and ulimit -a ??&lt;BR /&gt;&lt;BR /&gt;what is the output of these?&lt;BR /&gt;&lt;BR /&gt;Neil.&lt;BR /&gt;&lt;BR /&gt;PS this might be useful too....&lt;BR /&gt;&lt;A href="http://unix.derkeiler.com/Mailing-Lists/HP-UX-Admin/2003-10/0016.html" target="_blank"&gt;http://unix.derkeiler.com/Mailing-Lists/HP-UX-Admin/2003-10/0016.html&lt;/A&gt;</description>
      <pubDate>Thu, 14 Jul 2005 08:16:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-user-error-ulimit/m-p/3582730#M230158</guid>
      <dc:creator>Neil Wilson_2</dc:creator>
      <dc:date>2005-07-14T08:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: oracle user error - ulimit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-user-error-ulimit/m-p/3582731#M230159</link>
      <description>Check all ulimit commands that oraenv is setting. Some of those ulimts are not being set properly.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Thu, 14 Jul 2005 08:18:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-user-error-ulimit/m-p/3582731#M230159</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-07-14T08:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: oracle user error - ulimit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-user-error-ulimit/m-p/3582732#M230160</link>
      <description>Lisa,&lt;BR /&gt;&lt;BR /&gt;This is an old bug in the oraenv script.  &lt;BR /&gt;Find out where your oraenv script - make a backup copy and change the last section of the scripts.  &lt;BR /&gt;I got this from Metalink note 1023496.6.&lt;BR /&gt;This issue has been part of the Oracle delivered script for versions 7, 8, 9 - so every time you patch or upgrade it comes back.&lt;BR /&gt;&lt;BR /&gt;FROM:         -----              if [ $? = 0 -a "$ULIMIT" -lt 2113674 ] ; then              if [ -f $ORACLE_HOME/bin/osh ] ; then                exec $ORACLE_HOME/bin/osh              else                for D in `echo $PATH | tr : " "`                 do                   if [ -f $D/osh ] ; then                      exec $D/osh                   fi                done               fi             fi             If Not on IBM AIX change to:         ----------------------------             if [ $? = 0 -a "$ULIMIT" != "unlimited" ] ; then                if [ $? = 0 -a "$ULIMIT" -lt 2113674 ] ; then               if [ -f $ORACLE_HOME/bin/osh ] ; then                exec $ORACLE_HOME/bin/osh               else                 for D in `echo $PATH | tr : " "`                  do                    if [ -f $D/osh ] ; then                      exec $D/osh                    fi                done              fi            fi          fi</description>
      <pubDate>Thu, 14 Jul 2005 08:18:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-user-error-ulimit/m-p/3582732#M230160</guid>
      <dc:creator>Patti Johnson</dc:creator>
      <dc:date>2005-07-14T08:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: oracle user error - ulimit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-user-error-ulimit/m-p/3582733#M230161</link>
      <description>Thanks for all the quick replies, I'm going to have a read and check things out and post my findings and points again in the morning.</description>
      <pubDate>Thu, 14 Jul 2005 08:31:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-user-error-ulimit/m-p/3582733#M230161</guid>
      <dc:creator>Lisa Callison</dc:creator>
      <dc:date>2005-07-14T08:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: oracle user error - ulimit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-user-error-ulimit/m-p/3582734#M230162</link>
      <description>Hi all&lt;BR /&gt;&lt;BR /&gt;Well I tested the change to the oraenv file:&lt;BR /&gt;&lt;BR /&gt;# Locate "osh" and exec it if found&lt;BR /&gt;ULIMIT=`(ulimit) 2&amp;gt;/dev/null`&lt;BR /&gt;&lt;BR /&gt;if [ "$ULIMIT" != "ulimited" ]; then&lt;BR /&gt;  if [ $? = 0 -a "$ULIMIT" -lt 2113674 ] ; then&lt;BR /&gt;&lt;BR /&gt;    if [ -f $ORACLE_HOME/bin/osh ] ; then&lt;BR /&gt;        exec $ORACLE_HOME/bin/osh&lt;BR /&gt;    else&lt;BR /&gt;        for D in `echo $PATH | tr : " "`&lt;BR /&gt;        do&lt;BR /&gt;            if [ -f $D/osh ] ; then&lt;BR /&gt;                exec $D/osh&lt;BR /&gt;            fi&lt;BR /&gt;        done&lt;BR /&gt;    fi&lt;BR /&gt;&lt;BR /&gt;  fi&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;(Adding in the first 'if' statement as suggested), however after logging back in as oracle it errors with the same message.&lt;BR /&gt;&lt;BR /&gt;So then I tried the suggested line by Patti which was slightly different, same problem. &lt;BR /&gt;&lt;BR /&gt;Neil - when I run ulimit as oracle user:&lt;BR /&gt;unlimited&lt;BR /&gt;When I run ulimit -a:&lt;BR /&gt;time(seconds)        unlimited&lt;BR /&gt;file(blocks)         unlimited&lt;BR /&gt;data(kbytes)         1048576&lt;BR /&gt;stack(kbytes)        8192&lt;BR /&gt;memory(kbytes)       unlimited&lt;BR /&gt;coredump(blocks)     4194303&lt;BR /&gt;&lt;BR /&gt;Any more ideas would be greatly appreciated....&lt;BR /&gt;&lt;BR /&gt;Thanks Lisa</description>
      <pubDate>Fri, 15 Jul 2005 01:12:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-user-error-ulimit/m-p/3582734#M230162</guid>
      <dc:creator>Lisa Callison</dc:creator>
      <dc:date>2005-07-15T01:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: oracle user error - ulimit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-user-error-ulimit/m-p/3582735#M230163</link>
      <description>Hi Lisa,&lt;BR /&gt;&lt;BR /&gt;As patti mentioned you may be encountering a problem (Bug 369373) with the oraenv file that comes with Oracle for HP UNIX.&lt;BR /&gt;&lt;BR /&gt;ORAENV checks for the value of 'ulimit' which is a parameter that verifies that there is enough resource available for users.  This parameter should parse and return a numeric value from UNIX to the ORAENV. The bad oraenv file traps a return argument to the ulimit UNIX command of "unlimited" when the script expects a number. &lt;BR /&gt;&lt;BR /&gt;Attached is the steps to modify the oraenv file.&lt;BR /&gt;&lt;BR /&gt;If you receive the following message in UNIX when you start PSUB, thenyou may have a blank line at line 24 of the oraenv file. This line may have some unrecognizable code in it.  If so, you should delete the line and try starting PSUB again.&lt;BR /&gt;&lt;BR /&gt;IA&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Jul 2005 01:51:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-user-error-ulimit/m-p/3582735#M230163</guid>
      <dc:creator>Indira Aramandla</dc:creator>
      <dc:date>2005-07-15T01:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: oracle user error - ulimit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-user-error-ulimit/m-p/3582736#M230164</link>
      <description>Indira&lt;BR /&gt;&lt;BR /&gt;I already tried Patti's suggestion, however I still have the same problem, when checking line 24 of the oraenv file, it is the "T)"line.... which as far as I can see is fine.&lt;BR /&gt;&lt;BR /&gt;case ${ORACLE_TRACE:-""} in&lt;BR /&gt;    T)  set -x ;;&lt;BR /&gt;esac&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Lisa</description>
      <pubDate>Fri, 15 Jul 2005 02:10:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-user-error-ulimit/m-p/3582736#M230164</guid>
      <dc:creator>Lisa Callison</dc:creator>
      <dc:date>2005-07-15T02:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: oracle user error - ulimit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-user-error-ulimit/m-p/3582737#M230165</link>
      <description>Lisa,&lt;BR /&gt;&lt;BR /&gt;Do a 'which oraenv'  &lt;BR /&gt;Oracle installation may put a copy is /etc or /usr/local/bin - so changing the oraenv in $ORACLE_HOME/bin may not help.&lt;BR /&gt;&lt;BR /&gt;Patti</description>
      <pubDate>Mon, 25 Jul 2005 10:04:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-user-error-ulimit/m-p/3582737#M230165</guid>
      <dc:creator>Patti Johnson</dc:creator>
      <dc:date>2005-07-25T10:04:47Z</dc:date>
    </item>
  </channel>
</rss>

