AFP548 Changing the world one server at a time.

Mach_init.d Problems

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #360842
    petelang
    Participant

    I’ve created a plist to automate a process. I want to run my backup agent as a service and not as an app launched by a user.

    This works great on my 10.3.8 PBG4. When I put the same plist on my OS X Server it will not launch. I have a premium service account with Apple computer for these 9000.00 XServes and they basically told me to go pound sand. Not the answer I wanted to hear. The person did direct me to this website saying I might get some help here.

    he mentioned cron job and watchdog.com which I’m not too familiar with. Any help would be greatly appreciated.

    Pete

    #360847
    petelang
    Participant

    I am running BackupExec v9.1 on my W2k3 server and it backs up our entire environment. The BE agent /etc/bkupexec/agent.be is typically run via command line or by logging in via SSH and running it under the root account.

    On OS X Panther Client I created a plist and placed it in Mach_init.d and it auto launches the agent with no problems. Runs as a service like it should. I have over 30 OS X Servers that I need to reboot on occasion and logging in to start the agent is a pain.

    I’d like to have the agent run on bootup without having to login. If the agent fails for some reason I’d like it to restart. This is not mandatory though as I’ll get a report in the morning that the job failed and I can restart a single agent via SSH.

    I looked at the watchdog man and I’m just not getting it. How do I create a script? I’m not really a unix person. Any help would be greatly appreciated.

    Pete

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.