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 » General Discussion » how to get started on AIX

Post new topic  Reply to topic
 how to get started on AIX « View previous topic :: View next topic » 
Author Message
ankurlodhi
PostPosted: Thu Dec 19, 2013 5:04 am    Post subject: how to get started on AIX Reply with quote

Master

Joined: 19 Oct 2010
Posts: 266

i have been given access on a LAB server of AIX on which MQ is installed but
when i try to

su - mqm

user mqm does not exist.
i am not able to use it how to get started...
and ya this is my first time on an AIX Server .... help pleaseeeeeeeeeeeeeee

daahhhhhhhhhhhh
Back to top
View user's profile Send private message
smdavies99
PostPosted: Thu Dec 19, 2013 5:08 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Why are you trying to su to 'mqm'?
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
ankurlodhi
PostPosted: Thu Dec 19, 2013 5:14 am    Post subject: Reply with quote

Master

Joined: 19 Oct 2010
Posts: 266

cause my id has not been added to MQM group by the administrator.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Thu Dec 19, 2013 5:48 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

ankurlodhi wrote:
cause my id has not been added to MQM group by the administrator.


That is your solution plus 'mqm' is a group not a user.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Dec 19, 2013 6:14 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

smdavies99 wrote:
ankurlodhi wrote:
cause my id has not been added to MQM group by the administrator.


That is your solution plus 'mqm' is a group not a user.


On unix, mqm is both a user and a group.

Windows doesn't allow this, so the user is MUSR_MQADMIN.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Thu Dec 19, 2013 6:58 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

mqjeff wrote:


On unix, mqm is both a user and a group.

Windows doesn't allow this, so the user is MUSR_MQADMIN.


Ok, but how did the OP get the 'user does not exist' message?
Is the 'mqm' user on AIX greated with 'nologon' attribute?
(I've never used AIX so I can't say here)

On Linux (RHEL) it looks like
Code:

mqm:x:496:501::/var/mqm:/bin/bash

_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Dec 19, 2013 7:03 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The mq installation process doesn't create users/groups on Unix.

Presumably the systems admin forgot to do something.

Back to top
View user's profile Send private message
gbaddeley
PostPosted: Thu Dec 19, 2013 2:17 pm    Post subject: Reply with quote

Jedi

Joined: 25 Mar 2003
Posts: 2495
Location: Melbourne, Australia

I don't think you can install MQ on UNIX without the mqm userid and mqm group being present.

On AIX, the "id mqm" command will confirm if the userid exists, and show its primary group and secondary groups.

"su - mqm" or "sudo su - mqm" is a common enterprise technique to allow you to log on with your personal userid, and then switch over to mqm to do heavy duty MQ admin work. "sudo" is preferable as it can be controlled to be only usuable by certain users and not require the mqm password (hooray).
_________________
Glenn
Back to top
View user's profile Send private message
ankurlodhi
PostPosted: Mon Dec 23, 2013 3:47 am    Post subject: Reply with quote

Master

Joined: 19 Oct 2010
Posts: 266

what i can on the box is that MQ is installed there and the complete file system of MQ is present there as well and group MQM is also there but user mqm does not exist
may be someone has deleted the user mqm .
Back to top
View user's profile Send private message
ankurlodhi
PostPosted: Mon Dec 23, 2013 3:50 am    Post subject: Reply with quote

Master

Joined: 19 Oct 2010
Posts: 266

gbaddeley wrote:
I don't think you can install MQ on UNIX without the mqm userid and mqm group being present.



on unix or any other platform we can install MQ with the user mqm and installation is always done with root, when installed MQ creates the Group and User mqm on it's own.
Back to top
View user's profile Send private message
SAFraser
PostPosted: Mon Dec 30, 2013 10:19 am    Post subject: Reply with quote

Shaman

Joined: 22 Oct 2003
Posts: 742
Location: Austin, Texas, USA

The user ID and group are not created by the MQ installation package. This is easily confirmed in any of the Unix Quick Beginnings manuals.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Mon Dec 30, 2013 11:00 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7717

Although the manuals do say the id and group are created for you on Linux, and some people consider Linux to be a Unix.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
SAFraser
PostPosted: Mon Dec 30, 2013 12:27 pm    Post subject: Reply with quote

Shaman

Joined: 22 Oct 2003
Posts: 742
Location: Austin, Texas, USA

Point taken. Thanks, Peter!
Back to top
View user's profile Send private message
zpat
PostPosted: Tue Dec 31, 2013 1:43 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

You still might want to request the set up of the mqm group and user, even on Linux - to ensure the groupid number matches the other systems for example (which unix admins tend to prefer).

Certainly most large installations will probably want to manage the creation of users and groups, rather than have it done by the installation program.
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
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 » General Discussion » how to get started on AIX
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.