Results 1 to 4 of 4
We have suse servers that have a backup of db2,CM,WAS. We were doing this maually in the a.m.,but I written a script to stop,backup,zip and restart the servers,all of this ...
- 10-17-2007 #1Linux Newbie
- Join Date
- Jun 2006
- Posts
- 139
SuSE server script
We have suse servers that have a backup of db2,CM,WAS. We were doing this maually in the a.m.,but I written a script to stop,backup,zip and restart the servers,all of this is scheduled through cron.
Everthing works WITH the exception of the restart of db2,was,cm.
If you look at the task count it looks good , if you look at the startServer logs they look good, but when we try to logon to the system we are unable to.
Before you tell me to look at the path, I did that and and I even went to /etc and cut and pasted roots' path into the path statement of crontab and it still fails.
But if I am root the same exact script bring all services up and we are able to login and work.
I have banged my head against this for several weeks changing scripts, times and anything else I can but no luck.
so H E L P
thanks
Mace
- 10-17-2007 #2
Well.... not sure how much help you expect. You didn't supply any information.
- 10-18-2007 #3Linux Newbie
- Join Date
- Jun 2006
- Posts
- 139
Not sure what more info I could provide. I told you what I run and what works to bring it up and what I did.
What are you looking for??
thanks
Mace
- 10-18-2007 #4
start by telling us the commands that you enter in each step that goes along way to helping you write a script to do as such. on the second part of the problem maybe a cron job is what you need and set it to run like at 4 in the morning. i think with cron you can schedule the script and run it as a certain user. not always do you need to be root to run the script if you place key users in the sudo group list and use it to run the script.


Reply With Quote