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 » General IBM MQ Support » Where Do I put The Start Up Script In AIX V5.3

Post new topic  Reply to topic
 Where Do I put The Start Up Script In AIX V5.3 « View previous topic :: View next topic » 
Author Message
PankajS
PostPosted: Fri May 13, 2005 5:09 am    Post subject: Where Do I put The Start Up Script In AIX V5.3 Reply with quote

Voyager

Joined: 27 Dec 2004
Posts: 82

Hi Friends,

I want to start the Queue Manager, Listener at the time of reboot.

Probably,I have identified the place to put the script and that is etc/rc.d/rc.local.

But i do not find this file anywhere in my folder structure.
As per my understanding,this is system file...

any way ..Do i need to create this file.If yes ..do I need to register it's path some where(Probaly etc/inittab)...

Is there any other location where I can put my script and it will be invoked at the time of reboot.

Waiting for reply
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri May 13, 2005 5:58 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You should ask your system administrator.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
vennela
PostPosted: Fri May 13, 2005 5:59 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

This thread might help you

http://www.mqseries.net/phpBB2/viewtopic.php?t=19570&highlight=rc2
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sjensen
PostPosted: Fri May 13, 2005 6:02 am    Post subject: Reply with quote

Centurion

Joined: 18 Dec 2003
Posts: 134
Location: London

Hi,

AFAIK you should create a /etc/rc.mqm script to do the work and then use
Code:
mkitab
so it gets run at boot time.

There should also be a /etc/rc.shutdown script - you should add stopping the Queue Manager etc to that.

Cheers
Stefan
Back to top
View user's profile Send private message
xxx
PostPosted: Sun May 15, 2005 7:21 pm    Post subject: Reply with quote

Centurion

Joined: 13 Oct 2003
Posts: 137

Simple answer is you should place that script in /etc/inittab,

as this script runs as root , you should modify the scrit so that it

runs su - mqm " /etc/rc.mqm " or simlar , where rc.mqm is the actual script you use to start mqm ,

mkitab is a utility you can use to include startup script in inittab, lsitab is to list the entries
Back to top
View user's profile Send private message
PankajS
PostPosted: Sun May 15, 2005 8:08 pm    Post subject: Reply with quote

Voyager

Joined: 27 Dec 2004
Posts: 82

Hi friends,

Thanks for helping me in solving the problem.

I checked out all the options you have recommended...Link from vennela (http://www.mqseries.net/phpBB2/viewtopic.php?t=19570&highlight=rc2 )was a great help......

Things work out as they are mentioned by 'clindsey' in his/her(?) input in that link.

Take care
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 » General IBM MQ Support » Where Do I put The Start Up Script In AIX V5.3
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.