 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
seanc217
Joined: 23 May 2007 Posts: 272
|
|
auto startup of scheduler on boot |
|
What's the best way to handle starting up the agents and the master scheduler on boot for Redhat linux?
Thanks!
|
|
Wed Dec 19, 2007 2:01 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7955
|
|
|
|
You can add the startup commands to the profile. Don't forget to add nogui parameter and & symbols at the end of the command line to make these processes running in background and without GUI.
|
|
Wed Dec 19, 2007 2:44 pm |
|
 |
seanc217
Joined: 23 May 2007 Posts: 272
|
|
|
|
which profile do I add the commands to root's?
Thanks
|
|
Wed Dec 19, 2007 3:05 pm |
|
 |
seanc217
Joined: 23 May 2007 Posts: 272
|
|
|
|
Another question.
I am using an init.d script to startup the agents.
I issue the command agent.sh nogui &
When I test the script it starts up but the script does not finish, it freezes until I hit return then the shell prompt appears.
Is there a way to prevent this?
Thanks.
|
|
Wed Dec 19, 2007 4:48 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7955
|
|
|
|
I'm not sure why it is behaving that way. Can you simply add it to the .profile?
Try also sh -c master.sh nogui & or sh -c agent.sh nogui &
|
|
Wed Dec 19, 2007 5:29 pm |
|
 |
seanc217
Joined: 23 May 2007 Posts: 272
|
|
|
|
even though it freezes up, the when I reboot the box it startup just fine.
If anyone is interested in the script, let me know.
Thanks again for all the help, it is one of the big reasons why we purchased this product.
|
|
Wed Dec 19, 2007 7:14 pm |
|
 |
|
|
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
|
|
|