|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Automatic startup of broker on Sun Solaris |
« View previous topic :: View next topic » |
Author |
Message
|
MVO |
Posted: Mon Nov 05, 2001 7:54 am Post subject: |
|
|
 Centurion
Joined: 09 Sep 2001 Posts: 131
|
Hi folks, I'd like to have the broker automatically started when the Sun server comes up. I added the script to /etc/inittab to start the queue manager then start the broker. Only the queue manager gets started. I found nothing in the system to indicate what the problem was. (I've gone through all the steps to add a .profile to the root so that root can successfully start the broker. If I sign on as root, I can start the broker ok). What am I missing here ?
Thanks |
|
Back to top |
|
 |
kolban |
Posted: Mon Nov 05, 2001 8:21 am Post subject: |
|
|
 Grand Master
Joined: 22 May 2001 Posts: 1072 Location: Fort Worth, TX, USA
|
When you run the satrtup script by hand, does it start? Is the database configured for use by the broker started before the broker? What errors are logged to the broker's message log destination? |
|
Back to top |
|
 |
MVO |
Posted: Mon Nov 05, 2001 8:26 am Post subject: |
|
|
 Centurion
Joined: 09 Sep 2001 Posts: 131
|
When I ran the startup script manually (as root), the broker starts ok. As I mentioned, I didn't find anything in the message log indicating problem executing the script when the server was rebooted.
The script itself is very simple:
mqsistart brokername
|
|
Back to top |
|
 |
MVO |
Posted: Thu Nov 08, 2001 12:53 pm Post subject: |
|
|
 Centurion
Joined: 09 Sep 2001 Posts: 131
|
I was able to run the script by issuing
su - userid -c "scriptname"
where userid is the broker's owner id |
|
Back to top |
|
 |
MVO |
Posted: Thu Nov 08, 2001 12:54 pm Post subject: |
|
|
 Centurion
Joined: 09 Sep 2001 Posts: 131
|
forgot to add:
this way, I can safely remove .profile from the root directory. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|