Closed macosforgebot closed 14 years ago
john@… originally submitted this as comment:1:ticket:343
It's a long time since your report, I know; but I'm a new user here. I've just had what I presume is the same problem. (I can't be sure without seeing further context.)
For me, the fix was to ensure that the user and group names in /etc/caldavd-dev.plist:
<!--
Process management
-->
<key>UserName</key> <string>caldav</string>
<key>GroupName</key> <string>caldav</string>
were set to the same as those of the user running the caldavd daemon.
@wsanchez originally submitted this as comment:2:ticket:343
Right, 10.5 doesn't have the calendar
user and group set up by default. Try daemon
instead, or create the calendar
records. Or configure these settings as blank, which will not try to change the user. (Don't do that if you launch as root, though.)
@wsanchez originally submitted this as comment:4:ticket:343
al@… originally submitted this as ticket:343
Wonder if anyone can help. I've been following the instructions on building and running CalendarServer. Everything ran fine until the final ./run when it halted at the following line.
2009-07-14 16:15:56+0100 [-] os.chown(dbPath, uid, gid)
2009-07-14 16:15:56+0100 [-] OSError: [Errno 1] Operation not permitted: '/Library/CalendarServer/Data/mailgatewaytokens.sqlite' launchctl bsexec failed: No such file or directory
Is this something I can fix? Thanks for any help!