Author |
Message
|
ankurlodhi |
Posted: Thu Dec 19, 2013 5:04 am Post subject: how to get started on AIX |
|
|
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 |
|
 |
smdavies99 |
Posted: Thu Dec 19, 2013 5:08 am Post subject: |
|
|
 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 |
|
 |
ankurlodhi |
Posted: Thu Dec 19, 2013 5:14 am Post subject: |
|
|
Master
Joined: 19 Oct 2010 Posts: 266
|
cause my id has not been added to MQM group by the administrator. |
|
Back to top |
|
 |
smdavies99 |
Posted: Thu Dec 19, 2013 5:48 am Post subject: |
|
|
 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 |
|
 |
mqjeff |
Posted: Thu Dec 19, 2013 6:14 am Post subject: |
|
|
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 |
|
 |
smdavies99 |
Posted: Thu Dec 19, 2013 6:58 am Post subject: |
|
|
 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 |
|
 |
mqjeff |
Posted: Thu Dec 19, 2013 7:03 am Post subject: |
|
|
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 |
|
 |
gbaddeley |
Posted: Thu Dec 19, 2013 2:17 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 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 |
|
 |
ankurlodhi |
Posted: Mon Dec 23, 2013 3:47 am Post subject: |
|
|
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 |
|
 |
ankurlodhi |
Posted: Mon Dec 23, 2013 3:50 am Post subject: |
|
|
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 |
|
 |
SAFraser |
Posted: Mon Dec 30, 2013 10:19 am Post subject: |
|
|
 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 |
|
 |
PeterPotkay |
Posted: Mon Dec 30, 2013 11:00 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
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 |
|
 |
SAFraser |
Posted: Mon Dec 30, 2013 12:27 pm Post subject: |
|
|
 Shaman
Joined: 22 Oct 2003 Posts: 742 Location: Austin, Texas, USA
|
Point taken. Thanks, Peter! |
|
Back to top |
|
 |
zpat |
Posted: Tue Dec 31, 2013 1:43 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 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 |
|
 |
|