MSGS0129E: User not authorized to start Queue Manager, command failed with exit code: 119
 Technote (troubleshooting)
 
Problem(Abstract)
Java™ Message Service (JMS) Server is trying to start from the operating system init tab, but fails to start the JMS Server with the following Exception:

MSGS0129E: User not authorized to start Queue Manager (command failed with exit code: 119
 
Cause
The init process does not recognize the user trying to start the JMS Server .
 
Resolving the problem

In the WebSphere rc.was script

Qualify the user running the JMS Server script as follows:


su - root -c $binDir/$launchScript
(instead of $binDir/$launchScript)

Following is a sample rc.was script

|===========================================================================|
launchScript=start_jmsserver.sh
numRetries=3

binDir=`dirname $0`

# Set the ulimit
LIMIT=`ulimit -n`
if [ "${LIMIT}" != "unlimited" ]
then
if [ $LIMIT -lt 1024 ]
then
ulimit -n 1024
fi
fi

RETRY=0
while [ $RETRY -lt $numRetries ]
do
echo launching server using $launchScript
// $binDir/$launchScript ( incorrect, replace with the following entry )
su - root -c $binDir/$launchScript
rc=$?
echo exit code: $rc
echo exit code: $rc >> /tmp/exitcode.txt
# Increment retry count on anything other than a normal exit code
if [ $rc -gt 0 ]
then
RETRY=`expr $RETRY + 1`
fi

case $rc in
0) break ;;
esac
done

exit 0

|===========================================================================|

 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Java Message Service (JMS)
Operating system(s): Linux
Software version: 5.1.1
Software edition:
Reference #: 1176861
IBM Group: Software Group
Modified date: Aug 12, 2004