Hi, i just setup a DCS on a Leopard Client System in my user-folder and it works fine. The only problem is that I have to start the server by hand; the launch-agent doesn't work and the run-script doesn't look like described in <http://tobyrush.blogspot.com/2007/11/dummies-guide-to-darwin-calendar-server...
so I'm not able to make the changes, described there. On Konsole I get the following error-message: 21.11.09 11:05:27 org.apple.calendar[184] /Users/ralf/Kalender/ CalendarServer/run: line 38: support/build.sh: No such file or directory 21.11.09 11:05:27 com.apple.launchd[159] (org.apple.calendar[184]) Exited with exit code: 1 Is there any possibility for creating a working LaunchAgent or startup- item? Best Regards Ralf
Hi Ralf, --On November 21, 2009 11:17:05 AM +0100 Ralf Höling <hoeling@mac.com> wrote:
i just setup a DCS on a Leopard Client System in my user-folder and it works fine. The only problem is that I have to start the server by hand; the launch-agent doesn't work and the run-script doesn't look like described in <http://tobyrush.blogspot.com/2007/11/dummies-guide-to-darwin-calendar-se rver.html > so I'm not able to make the changes, described there. On Konsole I get the following error-message:
21.11.09 11:05:27 org.apple.calendar[184] /Users/ralf/Kalender/CalendarServer/run: line 38: support/build.sh: No such file or directory 21.11.09 11:05:27 com.apple.launchd[159] (org.apple.calendar[184]) Exited with exit code: 1
Is there any possibility for creating a working LaunchAgent or startup-item?
support/build.sh was added on trunk recently. Exactly how did you get the source onto your machine? Did you pull it directly from trunk? Are you willing to run a server based of "bleeding edge" code that is changing a lot - that is what trunk will do right now. Alternatively, if you prefer a stable release, try checking out CalendarServer/tags/release/CalendarServer-2.3. -- Cyrus Daboo
Hi Cyrus! Am 21.11.2009 um 20:42 schrieb Cyrus Daboo:
Hi Ralf,
--On November 21, 2009 11:17:05 AM +0100 Ralf Höling <hoeling@mac.com> wrote:
i just setup a DCS on a Leopard Client System in my user-folder and it works fine. The only problem is that I have to start the server by hand; the launch-agent doesn't work and the run-script doesn't look like described in <http://tobyrush.blogspot.com/2007/11/dummies-guide-to-darwin-calendar-se rver.html > so I'm not able to make the changes, described there. On Konsole I get the following error-message:
21.11.09 11:05:27 org.apple.calendar[184] /Users/ralf/Kalender/CalendarServer/run: line 38: support/build.sh: No such file or directory 21.11.09 11:05:27 com.apple.launchd[159] (org.apple.calendar[184]) Exited with exit code: 1
Is there any possibility for creating a working LaunchAgent or startup-item?
support/build.sh was added on trunk recently. Exactly how did you get the source onto your machine? Did you pull it directly from trunk? Are you willing to run a server based of "bleeding edge" code that is changing a lot - that is what trunk will do right now. Alternatively, if you prefer a stable release, try checking out CalendarServer/tags/release/CalendarServer-2.3.
-- Cyrus Daboo
I installed it as described here: <http://mac.delta-c.de/node/1387> and with <svn checkout http://svn.calendarserver.org/repository/calendarserver/CalendarServer/trunk CalendarServer> I don't want bleeding edge software, I just want a working CalDav- Server. So I will try to get the stable one as you proposed. Thank you for your answer. Best Regards Ralf
On Nov 21, 2009, at 2:17 AM, Ralf Höling wrote:
Hi,
i just setup a DCS on a Leopard Client System in my user-folder and it works fine. The only problem is that I have to start the server by hand; the launch-agent doesn't work and the run-script doesn't look like described in <http://tobyrush.blogspot.com/2007/11/dummies-guide-to-darwin-calendar-server...
so I'm not able to make the changes, described there. On Konsole I get the following error-message:
21.11.09 11:05:27 org.apple.calendar[184] /Users/ralf/Kalender/ CalendarServer/run: line 38: support/build.sh: No such file or directory 21.11.09 11:05:27 com.apple.launchd[159] (org.apple.calendar[184]) Exited with exit code: 1
Is there any possibility for creating a working LaunchAgent or startup-item?
You can start correctly from the command line with no trouble? Have you made a launchd item before? About the only thing you need to be careful about is >> redirection and pipes and such: appame >> some_log_file.txt appname | grep foo >> some_log_file.txt Both those are problematic and will need special care. Otherwise, you jsut take your command that works in the shell, and set it in a plist, set your start schedile etc. Look to Lingon to make it dead easy to make on your own. I would do something like cd /path/to/DCS; ./run -d That is the command, there will be about 10 more lines to control a few other things, but Lingon can put them all in for you. Or, as I most often do, use an existing plist as a template, make a copy, and load it in. -- Scott * If you contact me off list replace talklists@ with scott@ *
Hi Scott, hi Cyrus! Am 22.11.2009 um 01:42 schrieb Scott Haneda:
On Nov 21, 2009, at 2:17 AM, Ralf Höling wrote:
Hi,
i just setup a DCS on a Leopard Client System in my user-folder and it works fine. The only problem is that I have to start the server by hand; the launch-agent doesn't work and the run-script doesn't look like described in <http://tobyrush.blogspot.com/2007/11/dummies-guide-to-darwin-calendar-server.html> so I'm not able to make the changes, described there. On Konsole I get the following error-message:
21.11.09 11:05:27 org.apple.calendar[184] /Users/ralf/Kalender/CalendarServer/run: line 38: support/build.sh: No such file or directory 21.11.09 11:05:27 com.apple.launchd[159] (org.apple.calendar[184]) Exited with exit code: 1
Is there any possibility for creating a working LaunchAgent or startup-item?
You can start correctly from the command line with no trouble? Have you made a launchd item before? About the only thing you need to be careful about is >> redirection and pipes and such:
appame >> some_log_file.txt appname | grep foo >> some_log_file.txt
Both those are problematic and will need special care.
Otherwise, you jsut take your command that works in the shell, and set it in a plist, set your start schedile etc. Look to Lingon to make it dead easy to make on your own.
I would do something like cd /path/to/DCS; ./run -d That is the command, there will be about 10 more lines to control a few other things, but Lingon can put them all in for you.
Or, as I most often do, use an existing plist as a template, make a copy, and load it in. -- Scott * If you contact me off list replace talklists@ with scott@ *
Yes I could start from command line and I have made a launchd item. After installing the stable version 2.3 I could make the necessary changes to the run script and after correcting the path in the launchd item (~/Kalender/CalendarServer-2.3/) and the permissions now the server starts up when I log in and everything is fine! Thank you very much for your help! Best Regards Ralf
participants (3)
-
Cyrus Daboo
-
Ralf Höling
-
Scott Haneda