Author |
Message
|
preetipadma |
Posted: Fri Apr 21, 2006 2:46 am Post subject: WBI 6.0 Installation on Linux |
|
|
Novice
Joined: 05 Apr 2006 Posts: 22
|
I am trying to install WBI 6.0 in Linux Env. After installation I was trying the following command to create Configuration Manager. And the command is hanging without any reponse.
mqsicreateconfigmgr <configmgr_name> -i <userid> -a <passwd> -q <Queue_manager>. userid belongs to group mqbrkrs and mqm. The Queue_manager is up and running.
Using IBM version of Java IBMjava2-141.
thanks,
Sandip |
|
Back to top |
|
 |
fazz |
Posted: Fri Apr 21, 2006 2:59 am Post subject: |
|
|
 Centurion
Joined: 20 Feb 2004 Posts: 144 Location: England
|
Have you created the Config Manager database?
You will need to supply the database details in the command using the -n option, and supply the user name password if different. |
|
Back to top |
|
 |
wschutz |
Posted: Fri Apr 21, 2006 3:08 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
In V6, you do not create a database. The '-n' flag is only for migrating from a pervious version of the configmgr.
Does the command give ANY output at all? _________________ -wayne |
|
Back to top |
|
 |
preetipadma |
Posted: Fri Apr 21, 2006 3:18 am Post subject: |
|
|
Novice
Joined: 05 Apr 2006 Posts: 22
|
there is no output at all.
Inside /var/mqsi/components and /var/mqsi/registry there are two directories created by the name if config manager. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Apr 21, 2006 3:20 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
What is "WBI 6.0"? I guess you mean WMB 6.0?
You should double-check the permissions necessary for running mqsicreateconfigmgr on linux.
I think if you run it as a non-root user, then you don't need to specify -i and -a.
Also make sure you have sourced mqsiprofile first. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
preetipadma |
Posted: Fri Apr 21, 2006 3:51 am Post subject: |
|
|
Novice
Joined: 05 Apr 2006 Posts: 22
|
Yes of course I mean WMB6.0.
I am running as a root user. I have the permissions to run that command. Before running the command I had run mqsiprofile. When I ran the same command in Windows it is running perfectly ok. I am not sure what is happening in Linux.
In fact this is a new feature as far as WMB 6.0 is concerned. Previous version Configuration manager can be installed in Windows only and from this version onwards this can be installed in Linux and AIX also. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Apr 21, 2006 3:57 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I wasn't being sarcastic with my question about WBI - we get some *very* confused posters here and so we can never quite be sure sometimes.
Yes, I know that using configmgr on Linux is new - it's one of the good things about v6.
Have you already created the queue manager for the configmgr or do you want the mqsicreateconfigmgr to do that for you?
Are there errors in /var/mqm/errors or /var/mqm/qmgrs/errors?
What version of Linux? What version of MQ - v6?
Does crtmqm work from the same shell environment?
What does mqsilist show, after you've killed the mqsicreateconfigmgr command? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
preetipadma |
Posted: Fri Apr 21, 2006 4:13 am Post subject: |
|
|
Novice
Joined: 05 Apr 2006 Posts: 22
|
queue manager is already created.
Linux version 2.4.21 and it is i686 GNU/Linux.
MQ instaled and version is V6.
crtmqm doesnot work from this shell env.
Is it crtmqm should work from this shell env.
Even after I kill that process, mqsilist displays the following
BIP8099I: ConfigMgr: AUS_CM01 - AUS_WBIQM. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Apr 21, 2006 4:23 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
If crtmqm doens't work, some of the other commands might not work too - like runmqsc and setmqaut.
I don't actually know how mqsicreateconfigmgr talks to the existing qmgr and modifies it to add objects - but if crtmqm and runmqsc and setmqaut don't work from your shell it may be that whatever mechanism mqsicreateconfigmgr uses doesn't either.
So it's a good idea to adjust your path and classpath and etc so that you can run these commands from your shell before trying mqsicreateconfigmgr.
I'd thought that mqsiprofile would do this for you, but maybe not... or maybe it's not properly sourced. Just running the file won't source the variables, you have to use the "." to include it in your runtime environment. So ".<space><installation_dir>/bin/mqsiprofile".
Again, check and see if there are FDC files or other errors thrown in /var/mqm/errors or /var/mqm/qmgrs/AUS_WBIQM/errors (it might be AUS!WBIQM, I'm not going to double-check how name manglement occurs for the _, but I think it's left alone). _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
preetipadma |
Posted: Fri Apr 21, 2006 4:45 am Post subject: |
|
|
Novice
Joined: 05 Apr 2006 Posts: 22
|
there are no FDC in those directories.
Now I tried with a different user who can execute all those commands (runmqsc, setmqaut and crtmqm) and I sourced that mqsiprofile using . only. but again it hanged. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Apr 21, 2006 4:46 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Do you get any output from mqsicreateconfigmgr? Or none at all?
That is, at what point does it just hang?
Did it ever *not* hang - or did it error out the first time you ran it and now it just hangs? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
smdavies99 |
Posted: Fri Apr 21, 2006 5:28 am Post subject: It could be... |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
That you are experincing the tame issue as I reported earlier this week
http://www.mqseries.net/phpBB2/viewtopic.php?t=28857
I backed out V6 to V5.0.7 as I encountered lots of problems with V6.0.0.1 _________________ 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 |
|
 |
jefflowrey |
Posted: Fri Apr 21, 2006 5:39 am Post subject: Re: It could be... |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
smdavies99 wrote: |
I backed out V6 to V5.0.7 as I encountered lots of problems with V6.0.0.1 |
You probably should have opened a PMR instead.
Preetipadma - again, do you see any output from mqsicreateconfigmgr? or none? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
wschutz |
Posted: Fri Apr 21, 2006 5:39 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
So Sandip...you say crtmqm doesn't work? What happens when you try to create a qmgr? And if it doesn't work, how did you create the qmgr in the first place?
Also, is root in the mqm and mqbrkrs groups? _________________ -wayne |
|
Back to top |
|
 |
_dave_ |
Posted: Tue May 02, 2006 11:57 pm Post subject: |
|
|
Apprentice
Joined: 08 Apr 2005 Posts: 33 Location: IBM Hursley
|
First thing I would check is to see if there is excessive CPU activity when the command hangs - this might be indicative of a Java issue starting the JVM.
In linux type 'top' from a different terminal whilst the mqsicreateconfigmgr command is hanging.
Do you see the command mqsicreateconfigmgr at the top continually burning 90+% CPU?
--
As already mentioned I'd also try making sure you have access to the MQ bin directory in your PATH variable when running the mqsicreateconfigmgr command.
--
The other thing to try is service trace.
We are getting to the point here where you should really be talking to IBM support for a speedy resolution through the PMR process. |
|
Back to top |
|
 |
|