- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Error Received After Entering ORACLE_SID Value
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2001 01:00 PM
тАО09-25-2001 01:00 PM
sh: unlimited: The specified number is not valid for this command
I receive this after I execute:
. oraenv
which I do after logging in as Oracle. I have two instances of Oracle on this box, which is HP-UX 11.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2001 01:11 PM
тАО09-25-2001 01:11 PM
Re: Error Received After Entering ORACLE_SID Value
Sounds like a bad entry in your oraenv file. Maybe you can post it for the local wizards to look at.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2001 01:16 PM
тАО09-25-2001 01:16 PM
Re: Error Received After Entering ORACLE_SID Value
Post the complete error and can you attach the oraenv file for us to look at.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2001 01:21 PM
тАО09-25-2001 01:21 PM
Re: Error Received After Entering ORACLE_SID Value
I suspect that you have a 'ulimit' statement in your 'oraenv' and that your are running as a ksh (Korn) shell.
For 'ksh' the value 4194304 represents 'unlimited'. The POSIX shell (sh) uses the string 'unlimited' instead.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2001 01:36 PM
тАО09-25-2001 01:36 PM
Re: Error Received After Entering ORACLE_SID Value
In the oraenv, a test is done to see if the value returned from ulimit is less than a certain number. Since in the POSIX shell, the return value is unlimited, the test fails. "unlimited" is not a number. If you change to the korn shell, you will not get the error because the value returned from the ulimit command is a number.
The error has no impact, just an eye sore.
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2001 02:10 PM
тАО09-25-2001 02:10 PM
Re: Error Received After Entering ORACLE_SID Value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2001 02:21 PM
тАО09-25-2001 02:21 PM
SolutionJoseph is correct. Change:
if [ $? = 0 -a "$ULIMIT" -lt 2113674 ] ; then
...to be...
if [ $? = 0 -a "$ULIMIT" != "unlimited" ] ; then
if [ "$ULIMIT" -lt 2113674 ] ; then
...and add one terminating 'fi' at the end. In all, this code will look like:
if [ $? = 0 -a "$ULIMIT" != "unlimited" ] ; then
if [ "$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
Regards!
...JRF...