<?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: ERROR IN .PROFILE in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-profile/m-p/2775791#M75915</link>
    <description>Robert,&lt;BR /&gt;&lt;BR /&gt;I tried ulimit as root in sh and csh shells which returned different output.&lt;BR /&gt;&lt;BR /&gt;In sh shell&lt;BR /&gt;# ulimit&lt;BR /&gt;4194303&lt;BR /&gt;&lt;BR /&gt;And in csh shell:&lt;BR /&gt;# ulimit&lt;BR /&gt;unlimited&lt;BR /&gt;&lt;BR /&gt;Therefore, ulimit may not always return a number as you expected it to.  You may want to add another flag to check whether ULIMIT is a number before comparing it in your if statement.&lt;BR /&gt;&lt;BR /&gt;Hai</description>
    <pubDate>Tue, 30 Jul 2002 16:27:50 GMT</pubDate>
    <dc:creator>Hai Nguyen_1</dc:creator>
    <dc:date>2002-07-30T16:27:50Z</dc:date>
    <item>
      <title>ERROR IN .PROFILE</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-profile/m-p/2775789#M75913</link>
      <description>When I su to oracle I get the following error. The dba's want it fixed, I've tried but cant figure it out. &lt;BR /&gt;Here is the error: &lt;BR /&gt;&lt;BR /&gt;.profile[63]: unlimited: The specified number is not valid for this command. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here is the line of code in the .profile that calls oraenv. &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 [ $? = 0 -a "$ULIMIT" -lt 2113674 ] ; then &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any ideas, I am lost. This same code works on my other systems without the error.  &lt;BR /&gt;   &lt;BR /&gt; &lt;BR /&gt;   &lt;BR /&gt;</description>
      <pubDate>Tue, 30 Jul 2002 16:13:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-profile/m-p/2775789#M75913</guid>
      <dc:creator>Nobody's Hero</dc:creator>
      <dc:date>2002-07-30T16:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR IN .PROFILE</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-profile/m-p/2775790#M75914</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;vi the file , type :63, and show that line.  It looks as though it is complaining about you setting of unlimited.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Tue, 30 Jul 2002 16:20:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-profile/m-p/2775790#M75914</guid>
      <dc:creator>Christopher McCray_1</dc:creator>
      <dc:date>2002-07-30T16:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR IN .PROFILE</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-profile/m-p/2775791#M75915</link>
      <description>Robert,&lt;BR /&gt;&lt;BR /&gt;I tried ulimit as root in sh and csh shells which returned different output.&lt;BR /&gt;&lt;BR /&gt;In sh shell&lt;BR /&gt;# ulimit&lt;BR /&gt;4194303&lt;BR /&gt;&lt;BR /&gt;And in csh shell:&lt;BR /&gt;# ulimit&lt;BR /&gt;unlimited&lt;BR /&gt;&lt;BR /&gt;Therefore, ulimit may not always return a number as you expected it to.  You may want to add another flag to check whether ULIMIT is a number before comparing it in your if statement.&lt;BR /&gt;&lt;BR /&gt;Hai</description>
      <pubDate>Tue, 30 Jul 2002 16:27:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-profile/m-p/2775791#M75915</guid>
      <dc:creator>Hai Nguyen_1</dc:creator>
      <dc:date>2002-07-30T16:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR IN .PROFILE</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-profile/m-p/2775792#M75916</link>
      <description>&amp;gt;&amp;gt; profile[63]: unlimited: The specified number is not valid for this command. &amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;If you are going to set the ulimit to unlimited, it needs to be in quotes:&lt;BR /&gt;&lt;BR /&gt;ulimit "unlimited"&lt;BR /&gt;&lt;BR /&gt;This, however, is a horrible thing to do and you risk filling-up file systems doing this.  Bad things happen if you fill /tmp or /var/tmp with a core file.  This also posses a security threat, as unencrypted passwords may be in the core file.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;mark</description>
      <pubDate>Tue, 30 Jul 2002 16:31:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-profile/m-p/2775792#M75916</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2002-07-30T16:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR IN .PROFILE</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-profile/m-p/2775793#M75917</link>
      <description>Hi Robert,&lt;BR /&gt;&lt;BR /&gt; Another thing to consider is that "normal" users cannot increase their ulimit.&lt;BR /&gt;No idea what follows then, but if you're trying to increase ulimit as the Oracle user it will fail to do so.&lt;BR /&gt;Only root has that ability &amp;amp; it's ulimit is unlimited by default anyway....&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Tue, 30 Jul 2002 16:59:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-profile/m-p/2775793#M75917</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-07-30T16:59:39Z</dc:date>
    </item>
  </channel>
</rss>

