ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » ctrmqm!!

Post new topic  Reply to topic
 ctrmqm!! « View previous topic :: View next topic » 
Author Message
lam
PostPosted: Fri Jan 26, 2007 3:55 am    Post subject: ctrmqm!! Reply with quote

Acolyte

Joined: 09 Nov 2006
Posts: 50

hi,

I already installed WEBSPHERE MQ on my machine and I've create a QUEUE MANAGER and a queue and its run very well
now I try to remake the same procedure so I log in mqm and I put this commande: crtmqm - q queue.manager
I be suprie by a messge which tell me
ksh: crtmqm: cannot execute
I do not know from which come the probléme.!!!!!!!!please help me

thanks
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Jan 26, 2007 3:58 am    Post subject: Re: ctrmqm!! Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

lam wrote:
hi,

I already installed WEBSPHERE MQ on my machine and I've create a QUEUE MANAGER and a queue and its run very well
now I try to remake the same procedure so I log in mqm and I put this commande: crtmqm - q queue.manager
I be suprie by a messge which tell me
ksh: crtmqm: cannot execute
I do not know from which come the probléme.!!!!!!!!please help me

thanks

Is the user you tried to execute this command with a member of the mqm group?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
lam
PostPosted: Fri Jan 26, 2007 4:06 am    Post subject: Reply with quote

Acolyte

Joined: 09 Nov 2006
Posts: 50

yes,
id
uid=126(mqm) gid=104(mqm)
Back to top
View user's profile Send private message
sebastianhirt
PostPosted: Fri Jan 26, 2007 6:05 am    Post subject: Reply with quote

Yatiri

Joined: 07 Jun 2004
Posts: 620
Location: Germany

what does it tell you if you type in

Code:
which crtmqm


it should write something like this

Code:
$ which strmqm
/cygdrive/c/WebSphere/WebSphere MQ/bin/strmqm


but obviously you should have something lile /var/mqm instead of the path in the sample
Back to top
View user's profile Send private message
lam
PostPosted: Fri Jan 26, 2007 6:39 am    Post subject: Reply with quote

Acolyte

Joined: 09 Nov 2006
Posts: 50

I found crtmqm in /opt/mqm/bin but I have a message tell me that I can't exécute commande
so I try to stop the older one withe the order "endmqm" but I had the same message
I can't see where is the problém!!!!!!!!
Back to top
View user's profile Send private message
sebastianhirt
PostPosted: Fri Jan 26, 2007 6:43 am    Post subject: Reply with quote

Yatiri

Joined: 07 Jun 2004
Posts: 620
Location: Germany

lam wrote:
I found crtmqm in /opt/mqm/bin but I have a message tell me that I can't exécute commande
so I try to stop the older one withe the order "endmqm" but I had the same message
I can't see where is the problém!!!!!!!!


What is the exact message?

have you checked the authorities of the files? i.e.

ls -al /opt/mqm/bin/crtmqm
Back to top
View user's profile Send private message
lam
PostPosted: Fri Jan 26, 2007 6:51 am    Post subject: Reply with quote

Acolyte

Joined: 09 Nov 2006
Posts: 50

the exact message is:

$ crtmqm queue.test
ksh: crtmqm: cannot execute

ll -al crtmqm
lrwxr-xr-x 1 root sys 22 Dec 12 14:37 crtmqm -> /opt/mqm/bin/crtmqm_nd

thanks a lot
Back to top
View user's profile Send private message
mvic
PostPosted: Fri Jan 26, 2007 6:52 am    Post subject: Re: ctrmqm!! Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

lam wrote:
ksh: crtmqm: cannot execute

The Korn shell refuses to run 'crtmqm', apparently because the permissions on 'crtmqm' or one of its parent directories do not allow it. If you are running this command as an mqm-group user, then maybe the file permissions got changed on /opt/mqm/bin/crtmqm (/usr/mqm/bin/crtmqm on AIX).

Possible solution : re-install MQ and ensure nothing / no-one changes any file or directory permissions in /opt/mqm (/usr/mqm on AIX) or /var/mqm.

To check the permissions, type:
Code:
ls -ld /opt
ls -ld /opt/mqm
ls -ld /opt/mqm/bin
ls -l /opt/mqm/bin/crtmqm


Replace /opt with /usr if typing on AIX. What OS are you on, by the way?

Hope this helps
Back to top
View user's profile Send private message
lam
PostPosted: Fri Jan 26, 2007 7:00 am    Post subject: Reply with quote

Acolyte

Joined: 09 Nov 2006
Posts: 50

I use HP-UX

$ ls -ld /opt
dr-xr-xr-x 66 bin bin 2048 Dec 12 14:31 /opt

$ ls -ld /opt/mqm
dr-xr-xr-x 12 mqm mqm 1024 Dec 12 14:32 /opt/mqm

$ ls -ld /opt/mqm/bin
dr-xr-xr-x 2 mqm mqm 3072 Dec 12 14:39 /opt/mqm/bin

$ ls -l /opt/mqm/bin crtmqm
lrwxr-xr-x 1 root sys 22 Dec 12 14:37 crtmqm -> /opt/mqm/bin/crtmqm_nd
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Jan 26, 2007 7:03 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

you shouldn't be trying to run /opt/mqm/bin/crtmqm directly.

There should be a symlink in /usr/bin or some such. That's the one you should be trying to run.

There are different permissions on the symlink.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
lam
PostPosted: Fri Jan 26, 2007 7:08 am    Post subject: Reply with quote

Acolyte

Joined: 09 Nov 2006
Posts: 50

I tried to run crtmqm from /usr/bin and I have the same message
Back to top
View user's profile Send private message
mvic
PostPosted: Fri Jan 26, 2007 7:09 am    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

OK with Jeff's comment taken into account, try

Code:
ls -l /opt/mqm/bin/crtmqm_nd
ls -l /usr/bin/crtmqm
Back to top
View user's profile Send private message
lam
PostPosted: Fri Jan 26, 2007 7:23 am    Post subject: Reply with quote

Acolyte

Joined: 09 Nov 2006
Posts: 50

$ ls -l /opt/mqm/bin/crtmqm_nd
-r-xr-x--- 1 aziza host 557056 Jan 15 2003 /opt/mqm/bin/crtmqm_nd

ls -l /usr/bin/crtmqm
lrwxr-xr-x 1 root sys 19 Dec 12 14:37 /usr/bin/crtmqm -> /opt/mqm/bin/crtmqm

I tried to change rights and it's run but I HAVE THIS ERROR/

crtmqm queue.teste
/usr/lib/dld.sl: Call to mmap() failed - TEXT /opt/mqm/lib/amqzfu
/usr/lib/dld.sl: Permission denied
AMQ6188: The system could not dynamically load the shared library
'/opt/mqm/lib/amqzfu' due to a problem with the library. The errno was 13 and
the error message was 'Permission denied'. The queue manager will continue
without this library.
The system could not load the module '/opt/mqm/lib/amqzfu' for the installable
service 'AuthorizationService' component 'MQSeries.UNIX.auth.service'. The
system return code was 536895880. The Queue Manager is continuing without this
component.
AMQ6109: An internal WebSphere MQ error has occurred.

THANKS A LOT
Back to top
View user's profile Send private message
Philip Morten
PostPosted: Fri Jan 26, 2007 7:48 am    Post subject: Reply with quote

Master

Joined: 07 Mar 2002
Posts: 230
Location: Hursley Park

lam wrote:
$ ls -l /opt/mqm/bin/crtmqm_nd
-r-xr-x--- 1 aziza host 557056 Jan 15 2003 /opt/mqm/bin/crtmqm_nd



Is this 5.3 or 6.0 ? Either way that is wrong - that should be owned by user 'mqm' and group 'mqm' - output should start "-r-sr-s--- 1 mqm mqm ". It looks like you installation is corrupted.
_________________
Philip Morten

The postings on this site are my own and do not necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
lam
PostPosted: Fri Jan 26, 2007 9:17 am    Post subject: Reply with quote

Acolyte

Joined: 09 Nov 2006
Posts: 50

all is ok now
it's was a probléme of permitions
thanks you a lot
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » ctrmqm!!
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.