Author |
Message
|
ceva |
Posted: Thu Jun 21, 2012 12:27 pm Post subject: SESU post installation problem of MQ v7.1 |
|
|
Newbie
Joined: 21 Jun 2012 Posts: 4
|
Hello,
I have problem after installation of mq.
Server running on SUSE Linux Enterprise Server 11 (x86_64).
When I am tring to run command setmqinst I got an error:
Code: |
/var/mqm/errors # /opt/mqm/bin/setmqinst -i -p /opt/mqm
AMQ6294: Failed to create symbolic link with the name '/usr/bin/amqcrsta'.
Error Number: 13
AMQ8577: Failed to set 'Installation1' (/opt/mqm) as the Primary Installation.
AMQ8580: Failed to unset 'Installation1' (/opt/mqm) as the Primary
Installation.
|
In the log file I found next recors:
Code: |
06/21/12 21:52:54 - Process(18337.1) User(root) Program(setmqinst)
Host(xxx) Installation(Installation1)
VRMF(7.1.0.0)
AMQ6287: WebSphere MQ V7.1.0.0 (p000-L111015).
EXPLANATION:
WebSphere MQ system information:
Host Info :- Linux 2.6.32.12-0.6-default (MQ Linux (x86-64 platform)
64-bit)
Installation :- /opt/mqm (Installation1)
Version :- 7.1.0.0 (p000-L111015)
ACTION:
None.
-------------------------------------------------------------------------------
06/21/12 21:52:54 - Process(18337.1) User(root) Program(setmqinst)
Host(xxx) Installation(Installation1)
VRMF(7.1.0.0)
AMQ8577: Failed to set 'Installation1' (/opt/mqm) as the Primary Installation.
EXPLANATION:
The command attempted to set installation 'Installation1' as the Primary
Installation but one or more of the tasks required to set the installation as
the Primary Installation failed to complete succesfully. Any updates made by
the command have been undone.
ACTION:
Further messages have been issued giving more details about the failure.
Correct any identified errors and re-issue the command.
----- amqiprm0.c : 354 --------------------------------------------------------
06/21/12 21:52:54 - Process(18337.1) User(root) Program(setmqinst)
Host(xxx) Installation(Installation1)
VRMF(7.1.0.0)
AMQ8580: Failed to unset 'Installation1' (/opt/mqm) as the Primary
Installation.
EXPLANATION:
The command attempted to unset installation 'Installation1' as the Primary
Installation but one or more of the tasks required to unset the installation as
the Primary Installation failed to complete succesfully. The installation
remains set as the Primary Installation.
ACTION:
Further messages have been issued giving more details about the failure.
Correct any identified errors and re-issue the command.
|
Installation was completed without any errors:
Code: |
/var/mqm/errors # rpm -qa | grep MQ
MQSeriesMan-7.1.0-0
MQSeriesRuntime-7.1.0-0
MQSeriesServer-7.1.0-0
MQSeriesJava-7.1.0-0
MQSeriesSamples-7.1.0-0
MQSeriesJRE-7.1.0-0
MQSeriesSDK-7.1.0-0
MQSeriesClient-7.1.0-0
MQSeriesGSKit-7.1.0-0
MQSeriesTXClient-7.1.0-0
|
Anyone meet such problem? |
|
Back to top |
|
 |
mvic |
Posted: Thu Jun 21, 2012 4:13 pm Post subject: Re: SESU post installation problem of MQ v7.1 |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
ceva wrote: |
AMQ6294: Failed to create symbolic link with the name '/usr/bin/amqcrsta'.
Error Number: 13 |
Well this looks a lot like you tried to change the contents of /usr/bin without having the permission to do so.
Do you need to run that command as "root"? Did you do so?
(Also: Remember that 7.1.0.1 is recently out. Don't run a .0 release any longer than you need to.) |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Jun 21, 2012 4:20 pm Post subject: Re: SESU post installation problem of MQ v7.1 |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
mvic wrote: |
ceva wrote: |
AMQ6294: Failed to create symbolic link with the name '/usr/bin/amqcrsta'.
Error Number: 13 |
Well this looks a lot like you tried to change the contents of /usr/bin without having the permission to do so.
Do you need to run that command as "root"? Did you do so?
(Also: Remember that 7.1.0.1 is recently out. Don't run a .0 release any longer than you need to.) |
Quote: |
06/21/12 21:52:54 - Process(18337.1) User(root) Program(setmqinst)
Host(xxx) Installation(Installation1)
VRMF(7.1.0.0)
AMQ8580: Failed to unset 'Installation1' (/opt/mqm) as the Primary
Installation. |
I would expect he did.
Did he run the installation under korn shell? (ksh?). Or did he use the bash shell?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
ceva |
Posted: Thu Jun 21, 2012 8:19 pm Post subject: Re: SESU post installation problem of MQ v7.1 |
|
|
Newbie
Joined: 21 Jun 2012 Posts: 4
|
fjb_saper wrote: |
mvic wrote: |
ceva wrote: |
AMQ6294: Failed to create symbolic link with the name '/usr/bin/amqcrsta'.
Error Number: 13 |
Well this looks a lot like you tried to change the contents of /usr/bin without having the permission to do so.
Do you need to run that command as "root"? Did you do so?
(Also: Remember that 7.1.0.1 is recently out. Don't run a .0 release any longer than you need to.) |
Quote: |
06/21/12 21:52:54 - Process(18337.1) User(root) Program(setmqinst)
Host(xxx) Installation(Installation1)
VRMF(7.1.0.0)
AMQ8580: Failed to unset 'Installation1' (/opt/mqm) as the Primary
Installation. |
I would expect he did.
Did he run the installation under korn shell? (ksh?). Or did he use the bash shell?  |
Hello,
root - yes
Code: |
# id
uid=0(root) gid=0(root) groups=0(root),104(sfcb) |
Installation was from(But ksh was installed on this server):
Code: |
# echo $SHELL
/bin/bash
|
After installation I switched to ksh and tried to run command setmqinst. Unfortunately result was the same as from default one. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Jun 22, 2012 4:45 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
it looks like your installation is not correct. You might want to try uninstalling first and reinstalling from a korn shell.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
ceva |
Posted: Fri Jun 22, 2012 5:44 am Post subject: |
|
|
Newbie
Joined: 21 Jun 2012 Posts: 4
|
I had a lot of fun for last few days. )
May be but I am not sure that it's a problem.
I install just rpm pkg.
But I will try.
Thank you for help. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Jun 22, 2012 1:13 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
ceva wrote: |
I had a lot of fun for last few days. )
May be but I am not sure that it's a problem.
I install just rpm pkg.
But I will try.
Thank you for help. |
Don't know if that's the cause, but it's worth a shot.
In most of the shops I've been root runs in c shell...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
markt |
Posted: Fri Jun 22, 2012 2:14 pm Post subject: |
|
|
 Knight
Joined: 14 May 2002 Posts: 508
|
Error 13 is usually a permissions problem (EPERM). (I'm assuming without looking at code, that's where the rc comes from).
So if you're running as root maybe there's something blocking even root's access to /usr. Perhaps it's a read-only filesystem |
|
Back to top |
|
 |
mvic |
Posted: Fri Jun 22, 2012 3:06 pm Post subject: |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
13 is EACCES, I think.
But your point stands. Whatever is trying to modify /usr is failing, for a permissions reason. |
|
Back to top |
|
 |
markt |
Posted: Fri Jun 22, 2012 3:08 pm Post subject: |
|
|
 Knight
Joined: 14 May 2002 Posts: 508
|
Can't remember all the errno values ... especially after sitting in an airport lounge for a few hours |
|
Back to top |
|
 |
ceva |
Posted: Sat Jun 23, 2012 8:21 am Post subject: |
|
|
Newbie
Joined: 21 Jun 2012 Posts: 4
|
Thank you guys.
I tried reinstall from ksh - not helped.
Limited root acces - The same idea came to me yesterday at evening when I drunk with friends.
Will see in Monday. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Jun 23, 2012 8:56 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
ceva wrote: |
Thank you guys.
I tried reinstall from ksh - not helped.
Limited root acces - The same idea came to me yesterday at evening when I drunk with friends.
Will see in Monday. |
Are you dealing with a "secure" system where they removed a lot of write rights, or are those files/changes hitting a SAN that is mounted in read only?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|