Find the answer to your Linux question:
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 ...
  1. #1
    Linux 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

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    Well.... not sure how much help you expect. You didn't supply any information.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Linux 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

  4. #4
    Linux Enthusiast carlosponti's Avatar
    Join Date
    Dec 2004
    Location
    Oklahoma
    Posts
    560
    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.
    Blog
    Registered Linux user 396557

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...