Author |
Message
|
puvvada |
Posted: Thu Jun 26, 2003 12:12 pm Post subject: AMQ8101: Unexpected error (893) in HP-UX 11 |
|
|
Apprentice
Joined: 01 Apr 2002 Posts: 27
|
Hi,
I am trying to create a Queue Manager on HP-UX11 using MQ Series V 5.2 CSD06. I am using the below command(user-id is mqm)
crtmqm -lc -lf 16384 -lp 3 -ls 2 -u SYSTEM.DEAD.LETTER.QUEUE CRMDV01.QM
crtmqm: Setuid execution not allowed
AMQ8101: Unexpected error (893).
I looked at the previous posting in this form for similar error. and I checked the crtmqm_nd under /opt/mqm/bin
-r-sr-s--- 1 root mqm 352256 Dec 11 2002 crtmqm_nd
mqm user is a member of mqm group.
When I tried to create by logging in as root I was able to create the Queue manager, but I was getting
crtmqm: Setuid execution not allowed
So, definitely it is a permissions or privileges issue.
I can post the FDC, if needed.
Any help is appreciated.
-Deven |
|
Back to top |
|
 |
mrlinux |
Posted: Thu Jun 26, 2003 12:34 pm Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
Is root in the mqm group ???? It Should be _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
puvvada |
Posted: Thu Jun 26, 2003 1:14 pm Post subject: Re:AMQ8101: Unexpected error (893) in HP-UX 11 |
|
|
Apprentice
Joined: 01 Apr 2002 Posts: 27
|
Hi,
Yes, root is a member of mqm. |
|
Back to top |
|
 |
EddieA |
Posted: Thu Jun 26, 2003 2:51 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
I'm not that familiar with the HP version, but shouldn't the executables have an owner of 'mqm' as well as group 'mqm'.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
rwa |
Posted: Fri Jun 27, 2003 12:23 am Post subject: |
|
|
Voyager
Joined: 22 Jan 2002 Posts: 76 Location: Duesseldorf/Germany
|
The permission mode, userid and groupid of crtmqm_nd is correct. Also the errormessage is pointing to a operating system error and not to an WSMQ error.
This is what happens:
1) A user starts crtmqm.
2) The user is member of group mqm.
3) crtmqm starts with userid root and groupid mqm (r-sr-s--).
4) crtmqm tries to setuid to another userid and failes.
From your call as mqm stage 3 could have failed and setuid works only if the calling process has the userid root, or stage 4 could have failed because setuid is not allowed on your system.
Your second try proof that stage 3 is not the problem because you run crtmqm as root.
setuid can be disallowed with the mount options of the filesystem where WSMQ is installed.
Ask your system admin if setuid is allowed on the WSMQ filesystem or view /etc/mnttab for the word nosuid on the WSMQ filesystem. |
|
Back to top |
|
 |
puvvada |
Posted: Fri Jun 27, 2003 5:29 am Post subject: AMQ8101: Unexpected error (893) in HP-UX 11 |
|
|
Apprentice
Joined: 01 Apr 2002 Posts: 27
|
Hi rwa,
The system Admin removed nosuid word from /etc/mnttab file and it worked.
Thank you so much for the help.
-Deven |
|
Back to top |
|
 |
|