APAR status
Closed as program error.
Error description
When customer starts websphere using ./startServer.sh,
sees following error written to the screen:
./startServer.sh: ulimit: bad ulimit
...
After reviewing the startup scripts, it is determined
that there is a line in the setupCmdLine.sh that
will not work for non-root users, unless they
inherit an increased ulimit from root.
...
Base installation inserts "ulimit -n 32000" into the
setupCmdLine for Unix Systems. This generates errors on
Unix systems when starting WebSphere as non-root.
The problem has been corrected for the next release, but there
is no code to change this entry to a valid setting, like
"ulimit -n 1024"
Local fix
There are two options:
- Change line to "ulimit -n 1024"
- Start WebSphere using an "su - <userID> -c "script to start
websphere" after setting "ulimit -n 32000" as root
- Since ulimit is already set to 32000, then when the "su -"
is invoked, the new ulimit setting is inherited, so no
error is thrown
Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server 5.0, 5.0.1 and *
* 5.0.2 users on a Unix operating system. *
****************************************************************
* PROBLEM DESCRIPTION: When starting WebSphere using the *
* startServer.sh script file, the *
* terminal window will output a *
* "./startServer.sh: ulimit: bad ulimit" *
* error. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
After reviewing the startup scripts, it is determined that there
is a line in setupCmdLine.sh file that will not work for
non-root users, unless the user inherits an increased ulimit
from root. The " ulimit -n 32000 " entry generates errors on
Unix operating systems when starting WebSphere as a non-root
user.
Problem conclusion
The code was modified to set the ulimit to 1024. Now the entry
in the setupCmdLine.sh file will show " ulimit -n 1024 " which
is a valid setting.
Temporary fix Comments
APAR information |
APAR number |
PQ77817 |
Reported component name |
WAS BASE 5.0 |
Reported component ID |
5630A3600 |
Reported release |
00S |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2003-08-25 |
Closed date |
2003-09-17 |
Last modified date |
2003-09-17 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
Publications Referenced
Applicable component levels |
R00A PSY |
UP |
R00H PSY |
UP |
R00I PSY |
UP |
R00P PSY |
UP |
R00S PSY |
UP |
|