Author |
Message
|
keniav |
Posted: Wed Jul 19, 2006 5:54 am Post subject: MQ installation on Fedora problem |
|
|
 Novice
Joined: 26 May 2006 Posts: 24
|
[root@localhost temp]# rpm -i MQSeriesRuntime-5.3.0-2.i386.rpm
Failed to add 'mqm' group:
groupadd: group mqm exists
error: %pre(MQSeriesRuntime-5.3.0-2.i386) scriptlet failed, exit status 9
error: install: %pre scriptlet failed (2), skipping MQSeriesRuntime-5
thx |
|
Back to top |
|
 |
dgolding |
Posted: Wed Jul 19, 2006 6:01 am Post subject: |
|
|
 Yatiri
Joined: 16 May 2001 Posts: 668 Location: Switzerland
|
Don't mention it.
Did you have a question? |
|
Back to top |
|
 |
keniav |
Posted: Wed Jul 19, 2006 6:29 am Post subject: question |
|
|
 Novice
Joined: 26 May 2006 Posts: 24
|
I am trying to install MQ client and Server on Fedora distro.
Intially it give error to obtain ligcc.so libg++.so. Which I installed.
Later it is giving error
can not add mqm
group mqm exists |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jul 19, 2006 6:35 am Post subject: Re: question |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
keniav wrote: |
I am trying to install MQ client and Server on Fedora distro.
Intially it give error to obtain ligcc.so libg++.so. Which I installed.
Later it is giving error
can not add mqm
group mqm exists |
Well congratulations!
Still wondering about the question? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jul 19, 2006 6:38 am Post subject: Re: question |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
keniav wrote: |
Later it is giving error
can not add mqm
group mqm exists |
Assuming you're asking what's causing this, I'd go out on a limb and say it can't add the mqm group because the mqm group exists. You might consider removing the mqm group and giving it another spin.
Or are you saying that the error is spurious and the mqm group does not in fact exist?
A bit more information and context would assist, along with what you're actually asking....  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
keniav |
Posted: Wed Jul 19, 2006 6:38 am Post subject: |
|
|
 Novice
Joined: 26 May 2006 Posts: 24
|
I have followed these steps
1) login as root
2) rpm -i MQSeriesR....
The system gives error
can not add mqm
group mqm exists
How to remove this error and again start installation.
userdel -r mqm
does not work? |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jul 19, 2006 6:42 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
keniav wrote: |
userdel -r mqm
does not work? |
Does it not work because the group doesn't exist? Or because that command deletes the user mqm and not the group (and there's no indication that the mqm user's been added at this point in your installation). _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bbburson |
Posted: Wed Jul 19, 2006 6:42 am Post subject: |
|
|
Partisan
Joined: 06 Jan 2004 Posts: 378 Location: Nowhere near a queue manager
|
keniav wrote: |
group mqm exists |
keniav wrote: |
userdel -r mqm |
Disclaimer: I know nothing about linux, but my question to you would be: is there a "groupdel" (or equivalent) command? |
|
Back to top |
|
 |
keniav |
Posted: Wed Jul 19, 2006 6:45 am Post subject: |
|
|
 Novice
Joined: 26 May 2006 Posts: 24
|
I am also new to linux
eventhough I am logged as root. I execute
usrdel
groupdel
the system does not find the command. Do I need to change to any other directory. Also during installation is it created by MQ. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jul 19, 2006 7:02 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
keniav wrote: |
I am also new to linux
eventhough I am logged as root. I execute
usrdel
groupdel
the system does not find the command. Do I need to change to any other directory. Also during installation is it created by MQ. |
What you need is "Linux for Beginners" - I'm with bbburson on this, my Linux is sufficiently uncertain that I would not presume to corrupt you with my guesswork.
I'd also point you in the direction of the "Quick Beginnings" MQ manual for your platform, which may be of some assistance. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
dgolding |
Posted: Wed Jul 19, 2006 7:03 am Post subject: |
|
|
 Yatiri
Joined: 16 May 2001 Posts: 668 Location: Switzerland
|
http://linuxcommand.org/man_pages/groupdel8.html
Although, when I did my installation of MQ on Suse Linux 10, I'm pretty sure I had to add the mqm group and user ID first....
Are you sure your PATH is set up correctly? It's a little bit dangerous if you don't know Linux, and you've got root access......  |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jul 19, 2006 7:14 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
dgolding wrote: |
It's a little bit dangerous if you don't know Linux, and you've got root access......  |
Thank you - I was going to say that, but wondered if it was a bit paranoid / unfair / disencouraging (is that a word? )
keniav - is there an admin you can refer to? While I don't know Linux, I know that most Unix systems will allow root to perform actions in the face of all sense and reason. More importantly they do exactly what you type:
will clean out the file structure without so much as an "Are you certain" and is particluarlly funny if you're not starting from the point you think you are
(I use this as an illustration of my point and advise you in the strongest possible terms not to try it). _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
dgolding |
Posted: Wed Jul 19, 2006 7:24 am Post subject: |
|
|
 Yatiri
Joined: 16 May 2001 Posts: 668 Location: Switzerland
|
Actually, this is better:
Don't try it keniav I'm only joking
Anyway, I just had a quick look at the Linux Quick Beginnings manual, and yes you do have to set up the ID and group before hand - so I'm confused.... as vitor states, try and get some help from someone who knows administration on that box - or read Linux for Beginners |
|
Back to top |
|
 |
wschutz |
Posted: Wed Jul 19, 2006 7:35 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
keniav wrote: |
I am also new to linux
eventhough I am logged as root. I execute
usrdel
groupdel
the system does not find the command. Do I need to change to any other directory. Also during installation is it created by MQ. |
those commands are in /usr/sbin... so, you can enter:
/usr/sbin/userdel or /usr/sbin/groupdel ... or when you "su" to root, do a "su -" instead which should setup your path properly.... _________________ -wayne |
|
Back to top |
|
 |
Philip Morten |
Posted: Wed Jul 19, 2006 7:53 am Post subject: |
|
|
Master
Joined: 07 Mar 2002 Posts: 230 Location: Hursley Park
|
Can you add the option "-v" to your rpm command, this will trace the pre scriptlet and we can see what is going on. _________________ Philip Morten
The postings on this site are my own and do not necessarily represent IBM's positions, strategies or opinions. |
|
Back to top |
|
 |
|