Projects
Wiki     Timeline     Roadmap     Browse Source     View Tickets     New Ticket     Search

Ticket #343 (closed Defect: Software changed)

Opened 13 months ago

Last modified 5 months ago

./run on mac OS 10.5.7

Reported by: al@… Owned by: wsanchez@…
Priority: 5: Not set Milestone:
Component: Calendar Server Severity: Other
Keywords: Cc:

Description

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!

Change History

Changed 5 months ago by john@…

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.

Changed 5 months ago by wsanchez@…

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.)

Changed 5 months ago by wsanchez@…

Error message cleaned up in r5309

Changed 5 months ago by wsanchez@…

  • status changed from new to closed
  • resolution set to Software changed
Note: See TracTickets for help on using tickets.