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 » WMB broker stop/start.

Post new topic  Reply to topic
 WMB broker stop/start. « View previous topic :: View next topic » 
Author Message
sravan
PostPosted: Fri Jul 18, 2014 12:37 pm    Post subject: WMB broker stop/start. Reply with quote

Centurion

Joined: 02 Apr 2010
Posts: 104
Location: Charlotte

We have environmental variables file which is used to add environmental variables to the WMB broker environment which is based on the IA9C GetEnv node support pac.

While using the sudo to the wmbadm8 user id and using mqsistop/mqsistop the environmental variables were not getting updated for new variables always.

Where as when a shell script containing the below command it always works and new environmental variables are added in the wmb enviroment.

Can I know the significance of below -


su - wmbadm8 -c "mqsistop TEST6BRK"

where TEST6BRK is the broker name.
_________________
skr_wmb
Back to top
View user's profile Send private message
zpat
PostPosted: Fri Jul 18, 2014 12:48 pm    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

There is a system setting (in Unix) to determine which environment variables are passed to (inherited by) scripts run under sudo (all others are not).

This is a security feature, but you can get your WMB environment variable names added.
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
sravan
PostPosted: Mon Jul 21, 2014 10:24 am    Post subject: Reply with quote

Centurion

Joined: 02 Apr 2010
Posts: 104
Location: Charlotte

running the script I mention works always.
Is it the standard to add the environmental variables ?
_________________
skr_wmb
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » WMB broker stop/start.
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.