Author |
Message
|
bkiran2020 |
Posted: Tue Apr 12, 2016 9:45 am Post subject: MQV8 installation |
|
|
 Master
Joined: 20 Jan 2011 Posts: 243 Location: US
|
I have successfully installed MQ v8 on the linux server.
But when Iam trying to run the command getting below error:
$ dspmver
-ksh: dspmver: not found [No such file or directory]
After running the below command Iam able to run the command.
. /opt/mqm/bin/setmqenv -s
But when I logout from the session i need to again run the setmqenv cmd.
Could you please let me know any permanent fix for it. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Apr 12, 2016 9:51 am Post subject: Re: MQV8 installation |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
bkiran2020 wrote: |
Could you please let me know any permanent fix for it. |
Add it to your .profile? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Apr 12, 2016 10:20 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
ls -al /opt/mqm/bin/setmq* _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
bkiran2020 |
Posted: Tue Apr 12, 2016 10:22 am Post subject: Re: MQV8 installation |
|
|
 Master
Joined: 20 Jan 2011 Posts: 243 Location: US
|
Vitor wrote: |
bkiran2020 wrote: |
Could you please let me know any permanent fix for it. |
Add it to your .profile? |
Nope I have not added into my profile.
just want to confirm, we need to add it to profile using below command.
echo 'export PATH=/opt/mqm/bin:$PATH' >>~/.bash_profile |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Apr 12, 2016 10:39 am Post subject: Re: MQV8 installation |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
bkiran2020 wrote: |
echo 'export PATH=/opt/mqm/bin:$PATH' >>~/.bash_profile |
No.
There's more than one way to do this, including using a different setmq* command.
The way you showed is not one of the ways to do this. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
bkiran2020 |
Posted: Tue Apr 12, 2016 11:47 am Post subject: Re: MQV8 installation |
|
|
 Master
Joined: 20 Jan 2011 Posts: 243 Location: US
|
mqjeff wrote: |
bkiran2020 wrote: |
echo 'export PATH=/opt/mqm/bin:$PATH' >>~/.bash_profile |
No.
There's more than one way to do this, including using a different setmq* command.
The way you showed is not one of the ways to do this. |
thanks for reply.
Could you please suggest the best way to set in PROD env. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Apr 12, 2016 11:58 am Post subject: Re: MQV8 installation |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
bkiran2020 wrote: |
Could you please suggest the best way to set in PROD env. |
The one that is appropriate for your site and meets your site standards. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
bkiran2020 |
Posted: Tue Apr 12, 2016 1:56 pm Post subject: Re: MQV8 installation |
|
|
 Master
Joined: 20 Jan 2011 Posts: 243 Location: US
|
mqjeff wrote: |
bkiran2020 wrote: |
Could you please suggest the best way to set in PROD env. |
The one that is appropriate for your site and meets your site standards. |
ok thanks..I will try |
|
Back to top |
|
 |
JosephGramig |
Posted: Wed Apr 13, 2016 5:13 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
If you have no idea and you have only installed the product once (you have one instance), then set a default instance. |
|
Back to top |
|
 |
|