- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: oracle user error - ulimit
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
Forums
Discussions
Discussions
Discussions
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
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
07-14-2005 01:03 AM
07-14-2005 01:03 AM
oracle user error - ulimit
ksh: unlimited: bad number
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?
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?
Thanks in advance
Lisa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2005 01:13 AM
07-14-2005 01:13 AM
Re: oracle user error - ulimit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2005 01:15 AM
07-14-2005 01:15 AM
Re: oracle user error - ulimit
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=KBRC00013163
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2005 01:16 AM
07-14-2005 01:16 AM
Re: oracle user error - ulimit
best if you can post a copy of the oraenv file on here. Would suggest the ULIMIT values in there might need changing.
have you also run a ulimit and ulimit -a ??
what is the output of these?
Neil.
PS this might be useful too....
http://unix.derkeiler.com/Mailing-Lists/HP-UX-Admin/2003-10/0016.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2005 01:18 AM
07-14-2005 01:18 AM
Re: oracle user error - ulimit
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2005 01:18 AM
07-14-2005 01:18 AM
Re: oracle user error - ulimit
This is an old bug in the oraenv script.
Find out where your oraenv script - make a backup copy and change the last section of the scripts.
I got this from Metalink note 1023496.6.
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.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2005 01:31 AM
07-14-2005 01:31 AM
Re: oracle user error - ulimit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2005 06:12 PM
07-14-2005 06:12 PM
Re: oracle user error - ulimit
Well I tested the change to the oraenv file:
# Locate "osh" and exec it if found
ULIMIT=`(ulimit) 2>/dev/null`
if [ "$ULIMIT" != "ulimited" ]; 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
(Adding in the first 'if' statement as suggested), however after logging back in as oracle it errors with the same message.
So then I tried the suggested line by Patti which was slightly different, same problem.
Neil - when I run ulimit as oracle user:
unlimited
When I run ulimit -a:
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 4194303
Any more ideas would be greatly appreciated....
Thanks Lisa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2005 06:51 PM
07-14-2005 06:51 PM
Re: oracle user error - ulimit
As patti mentioned you may be encountering a problem (Bug 369373) with the oraenv file that comes with Oracle for HP UNIX.
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.
Attached is the steps to modify the oraenv file.
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.
IA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2005 07:10 PM
07-14-2005 07:10 PM
Re: oracle user error - ulimit
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.
case ${ORACLE_TRACE:-""} in
T) set -x ;;
esac
Thanks
Lisa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2005 03:04 AM
07-25-2005 03:04 AM
Re: oracle user error - ulimit
Do a 'which oraenv'
Oracle installation may put a copy is /etc or /usr/local/bin - so changing the oraenv in $ORACLE_HOME/bin may not help.
Patti