Calendar server problem, "Exited with code 1" in Console.
Hello.
After changing internet providers, I'm rebuilding a Mac Mini Server (OS 10.9.2, Server 3.1.1). I have almost everything I need setup, but I'm having a problem with the calendar server that won't turn on in the Server app. It says "Loading..." but nothing happens. When I look in the console, there is a repeating entry every 10 seconds:
16/04/14 19:40:08,607 com.apple.launchd[1]: (org.calendarserver.agent[15182]) Exited with code: 1
16/04/14 19:40:08,607 com.apple.launchd[1]: (org.calendarserver.agent) Throttling respawn: Will start in 9 seconds
This problem appeared after I tried setting up an Automator action to run a python script that I found to edit the zone file at my domain provider (Gandi). I'm not an expert but I managed to modify and run it using "python3" in the terminal. I then created a shell script to run it as a Launch Daemon, but com.apple.launchd keeps exiting with a code 127 and I can't understand why. Then I created an automator calendar alarm for the script, put it Calendar, set it to repeat every day, and duplicated it to the 24 hours of the day.
Today I try again to get launchd to work, so I delete the calendar alarms, and since then this bug happens, and the calendar server won't turn on.
I'd be grateful for any pointers you may have, 3 days on this server, was getting ready to make a ghost... and this 😟
Mac mini, OS X Mavericks (10.9.2)