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 » MQ installation on Fedora problem

Post new topic  Reply to topic Goto page 1, 2  Next
 MQ installation on Fedora problem « View previous topic :: View next topic » 
Author Message
keniav
PostPosted: Wed Jul 19, 2006 5:54 am    Post subject: MQ installation on Fedora problem Reply with quote

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
View user's profile Send private message
dgolding
PostPosted: Wed Jul 19, 2006 6:01 am    Post subject: Reply with quote

Yatiri

Joined: 16 May 2001
Posts: 668
Location: Switzerland

Quote:

thx


Don't mention it.

Did you have a question?
Back to top
View user's profile Send private message Visit poster's website
keniav
PostPosted: Wed Jul 19, 2006 6:29 am    Post subject: question Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Wed Jul 19, 2006 6:35 am    Post subject: Re: question Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Wed Jul 19, 2006 6:38 am    Post subject: Re: question Reply with quote

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
View user's profile Send private message
keniav
PostPosted: Wed Jul 19, 2006 6:38 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Wed Jul 19, 2006 6:42 am    Post subject: Reply with quote

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
View user's profile Send private message
bbburson
PostPosted: Wed Jul 19, 2006 6:42 am    Post subject: Reply with quote

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
View user's profile Send private message
keniav
PostPosted: Wed Jul 19, 2006 6:45 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Wed Jul 19, 2006 7:02 am    Post subject: Reply with quote

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
View user's profile Send private message
dgolding
PostPosted: Wed Jul 19, 2006 7:03 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Vitor
PostPosted: Wed Jul 19, 2006 7:14 am    Post subject: Reply with quote

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:

Code:
rm -r *.*


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
View user's profile Send private message
dgolding
PostPosted: Wed Jul 19, 2006 7:24 am    Post subject: Reply with quote

Yatiri

Joined: 16 May 2001
Posts: 668
Location: Switzerland

Actually, this is better:

Code:
rm -fr *



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
View user's profile Send private message Visit poster's website
wschutz
PostPosted: Wed Jul 19, 2006 7:35 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
Philip Morten
PostPosted: Wed Jul 19, 2006 7:53 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » MQ installation on Fedora problem
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.