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 » WebSphere Message Broker (ACE) Support » Install issue

Post new topic  Reply to topic
 Install issue « View previous topic :: View next topic » 
Author Message
Gideon
PostPosted: Wed Mar 16, 2011 1:39 pm    Post subject: Install issue Reply with quote

Chevalier

Joined: 18 Aug 2009
Posts: 403

I installed WMB 7 on RHEL 6 and get the following 'warning':

Code:
Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1] 1

Installing IBM WebSphere Message Broker 7.0. Please wait...


|-----------|-----------|-----------|------------|
0%         25%         50%         75%        100%
|||||||||||||||||||||||||||||||||||||||||||||||||

Creating WorkPath...
Warning: UNIXProcess.forkAndExec native error: No such file or directory

Please wait...

-------------------------------------------------------------------------------
The InstallShield Wizard has successfully installed IBM WebSphere Message
Broker 7.0. Choose Finish to exit the wizard.

Press 3 to Finish or 4 to Redisplay [3]


Is this significant. What is actually happening ?

Thanks
Back to top
View user's profile Send private message Send e-mail
Gideon
PostPosted: Wed Mar 16, 2011 2:15 pm    Post subject: Reply with quote

Chevalier

Joined: 18 Aug 2009
Posts: 403

I tried to create a broker, and got the following error:

Code:
bash-4.1$ pwd
/opt/ibm/mqsi/7.0/bin
bash-4.1$ whoami
mqm
bash-4.1$ . ./mqsiprofile

MQSI 7.0.0.1
/opt/ibm/mqsi/7.0

bash-4.1$ ./mqsicreatebroker LINUXQM -q LINUXQM
(LINUXQM.mqsicreatebroker)[1]BIP2229W: Warning: abend file directory (/var/mqsi/common/errors) open failed: errno 2. Using directory /tmp 0
Failed to open file /var/mqsi/common/log/LINUXQM.mqsicreatebroker.trace.bin.0 with error No such file or directory
Failed to open file /var/mqsi/common/log/LINUXQM.mqsicreatebroker.userTrace.bin.0 with error No such file or directory
BIP8011E: Unable to create the components configuration data.
The command is unable to store the component's configuration data.
Ensure that the userid that is running this command has adequate authority to update the configuration or registry files. Without this authority the registry or configuration files cannot be updated.  Also check that the broker name does not contain invalid characters or is too long.


I have adequite privilege (su mqm), but the directory is not there

Code:
bash-4.1$ cd /var/mqsi
bash-4.1$ cd common
bash: cd: common: No such file or directory
bash-4.1$ ls
install.properties


How can I resolve this ?
Back to top
View user's profile Send private message Send e-mail
Gideon
PostPosted: Wed Mar 16, 2011 2:31 pm    Post subject: Reply with quote

Chevalier

Joined: 18 Aug 2009
Posts: 403

I suspect I have a missiong RHEL package

The MQ isntall is based on RPM and always tells you what package you need.

Any idea what packages are required for WMB
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Wed Mar 16, 2011 2:51 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

More information about what went wrong during install is available in the mqsi7_install.log file that will have been created in the home directory of the user that ran the installer.

The System Requirements page for Broker v7 for Linux should mention explicitly all of the software pre-requirements that you need before install.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Wed Mar 16, 2011 10:33 pm    Post subject: Reply with quote

Jedi Council

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

To echo mqjeff's comment
Quote:

The System Requirements page for Broker v7 for Linux should mention explicitly all of the software pre-requirements that you need before install.


I would expect that as RHEL 6 only came out at the back end of 2010 WMB7.0.0.0 may well not install on RHEL6.
As he states, examining the logs may well help. Please post anything interesting here.

How standard/OOTB is your RHEL Install?
I did have some issues with 7.0.0.1 on Fedora 14. Those were more down to dependency packaging in F14. And before anyone pipes in, I know that Fedora is not a supported platform. As an RHCE and also a Fedora tester I like to you know test these things just to see what breaks. I am sure there is someone in the Hursley Team who is checking all their Websphere products on RHEL6 & the latest SLES/SLED releases.
_________________
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
Gideon
PostPosted: Thu Mar 17, 2011 6:14 am    Post subject: Reply with quote

Chevalier

Joined: 18 Aug 2009
Posts: 403

RHEL 6 is supported according to this site:

http://www-01.ibm.com/support/docview.wss?rs=849&uid=swg27017129
Back to top
View user's profile Send private message Send e-mail
Gideon
PostPosted: Thu Mar 17, 2011 6:16 am    Post subject: Reply with quote

Chevalier

Joined: 18 Aug 2009
Posts: 403

However, that site does not state any explicit RHEL packages that need to be downloaded

http://www-01.ibm.com/support/docview.wss?rs=849&uid=swg27017129
Back to top
View user's profile Send private message Send e-mail
Gideon
PostPosted: Thu Mar 17, 2011 6:22 am    Post subject: Reply with quote

Chevalier

Joined: 18 Aug 2009
Posts: 403

The log is clean, and does not contain any warnings or errors.

The "ForkandExec' showed on the installation display means its trying to start a program that does not exist at that point. The directory was not created or populated, so it can not call the program.

So the 'error' that occurred, happened before this point
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Thu Mar 17, 2011 8:22 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

So despite seeing
Quote:
Warning: UNIXProcess.forkAndExec native error: No such file or directory

you do not see any repeat or remention of that in the mqsi7_install.log file?

Or is the log "otherwise" clean?

The error from mqsicreatebroker indicates that /var/mqsi/common/error does not appear to exist.

Is that correct? does that directory exist, or not? is it writeable by the user that tried to run mqsicreatebar?

Is the user mqm in the mqbrkrs group?
Back to top
View user's profile Send private message
dbaltazar
PostPosted: Fri Jul 01, 2011 1:00 pm    Post subject: Failed to open file /var/mqsi/common/log/LINUXQM.mqsicreateb Reply with quote

Newbie

Joined: 09 Mar 2009
Posts: 7

About the first error, I receive the same message and resolve creating the folders.

I suggest you create these directories manually (with 777 permissions to be safe for initial testing) as a workaround?:

/var/mqsi/brokers
/var/mqsi/common/log
/var/mqsi/components
/var/mqsi/registry

Best Regards!
Back to top
View user's profile Send private message MSN Messenger
fjb_saper
PostPosted: Fri Jul 01, 2011 9:11 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Looking at the OP's post, he is trying to do this with user mqm.
I would suggest he first verify that user mqm is part of the xxbrokers group.
(xxbrokers group from memory. Verify documentation for exact name).

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Fri Jul 01, 2011 11:34 pm    Post subject: Reply with quote

Jedi Council

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

If you look at the source of the script that creates the /var/mqsi files you will see that it does not use bash as its shell. It uses KSH!

The solution is to install the ksh shell rpm.

This is easily overlooked in an install. This is why we always build broker linux systems using a kickstart file that includes ksh and libXp etc.
If you are building a 64bit version then you may well have to include the 32bit rpm as well (if available, but for libXp it is) because parts of broker (viz eclipse) is a 32bit image not 64bit.

The above is all due to an intensive session of 'I'm going to get to the bottom of this if it kills me' work.

The error message
Code:

Warning: UNIXProcess.forkAndExec native error: No such file or directory


is due to the missing ksh shell and not due to a missing file in the broker kit.

IMHO, this is a defect in broker. The script could easily be modified to use bash OR the installation docs updated to specifically mention that for this bit of the installation, you MUST have the ksh shell installed.

I hope this explanation helps a few people.
_________________
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
lancelotlinc
PostPosted: Tue Jul 05, 2011 4:32 am    Post subject: Re: Failed to open file /var/mqsi/common/log/LINUXQM.mqsicre Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

dbaltazar wrote:
About the first error, I receive the same message and resolve creating the folders.

I suggest you create these directories manually (with 777 permissions to be safe for initial testing) as a workaround?:

/var/mqsi/brokers
/var/mqsi/common/log
/var/mqsi/components
/var/mqsi/registry

Best Regards!


WRONG.

Do not perform any manual steps other than those clearly called out in Chapter six of the installation guide.

The reason Gideon is facing these errors, is he did not follow the steps exactly.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Install issue
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.