OK. I tracked this down to a permissions issue on /var/run/caldavd and the files calendaruserproxy.sqlite & resourceinfo.sqlite. By adding group rw permissions to this directory and these files the following error no longer occurs and all seems to be working. I have no idea what security risk this presents as I currently don't understand the security model of CalendarServer so I don't know if this is a legitimate fix or not. Any input appreciated. Scott Further Information: The log entry when this fails is 2009-08-29 13:38:23-0700 [-] [caldav-8009] [PooledMemCacheProtocol,client] Unhandled Error 2009-08-29 13:38:23-0700 [-] [caldav-8009] Traceback (most recent call last): 2009-08-29 13:38:23-0700 [-] [caldav-8009] File "Library/Python/2.5/ site-packages/twisted/internet/defer.py", line 267, in errback 2009-08-29 13:38:23-0700 [-] [caldav-8009] self._startRunCallbacks (fail) 2009-08-29 13:38:23-0700 [-] [caldav-8009] File "Library/Python/2.5/ site-packages/twisted/internet/defer.py", line 310, in _startRunCallbacks ...snip... 2009-08-29 13:38:23-0700 [-] [caldav-8009] File "Library/Python/2.5/ site-packages/twistedcaldav/directory/calendaruserproxy.py", line 588, in _members 2009-08-29 13:38:23-0700 [-] [caldav-8009] return set([row[0] for row in self._db_execute("select GROUPNAME from GROUPS where MEMBER = : 1", principalUID)]) 2009-08-29 13:38:23-0700 [-] [caldav-8009] File "Library/Python/2.5/ site-packages/twistedcaldav/sql.py", line 303, in _db_execute 2009-08-29 13:38:23-0700 [-] [caldav-8009] q = self._db().cursor() 2009-08-29 13:38:23-0700 [-] [caldav-8009] File "Library/Python/2.5/ site-packages/twistedcaldav/sql.py", line 85, in _db 2009-08-29 13:38:23-0700 [-] [caldav-8009] self._db_connection = sqlite.connect(db_filename) 2009-08-29 13:38:23-0700 [-] [caldav-8009] sqlite3.OperationalError: unable to open database file Now that snow leopard has shipped can we ask questions? I have 2.3 running on a 10.5.8 client and its been working fine and still is but iCal on my new snow leopard install now reports the following error when connecting and will not connect. The server responded with “HTTP/1.1 500 Internal Server Error” to operation CalDAVAccountRefreshQueueableOperation. Any help appreciated. On Aug 13, 2009, at 11:11 AM, Wilfredo Sánchez Vega wrote:
On Aug 13, 2009, at 11:00 AM, Daniel Packman wrote:
Is this the same or similar code base as that in Leopard/ SnowLeopard Server? If so, does this version lead or follow the version in the released OS?
The current Leopard Server code is derived from 1.3.
Snow Leopard hasn't shipped yet, and information about what's in that release is subject to NDA, so this isn't the right forum for that info.
-wsv
_______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users