Operating System - HP-UX
1827262 Members
2411 Online
109717 Solutions
New Discussion

oracle user log in error : unlimited : bad Number

 
Shumi Begum
Advisor

oracle user log in error : unlimited : bad Number

Hi, Last week I have upgraded our HPK380 server from 10.20 to version 11.0 using cold installation. Oracle 8.0.6 is then upgraded to 8.1.7. after the upgrade when we log into the system as oracle user, .profile gives error "unlimited, bad number". This is the same profile we used before the upgrade. It executes "oraenv" file under /usr/local/bin directory. Oracle user set up with Ksh under /etc/passwd file. We have patch PHCO_27418 installed in the system already. "oraenv" file has some command related to ulimit. It is looking for some condition such as if [ $? = 0 -a "$ULIMIT" -lt 2113674 ], and then executes $ORACLE_HOME/bin/osh file else it runs some other osh file. "ulimit -a" shows time, file and memory to be unlimited, data 966852, stack 81612, coredump 4194303, and nofiles 2048.

Could any one please help me?
Thanks. Shumi
1 REPLY 1
Steven E. Protter
Exalted Contributor

Re: oracle user log in error : unlimited : bad Number

You have identified the problem.

Oracle has delivered a $ORACLE_HOME/bin/osh file that is not in compliance with operating systems guidelines.

unlimited is not a number so the oracle script coughs and dies.

There is no impact other than an error message.

My policy is to modify $ORACLE_HOME/bin/osh to exit the logic loop in the script one line above the statement if [ $? = 0 -a "$ULIMIT" -lt 2113674 ],

Oracle has consistently refused to correct this problem.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com