[CalendarServer-users] Install of CalenderServer fails on Ubuntu 10.04

Andre LaBranche dre at apple.com
Sun Jan 16 11:00:28 PST 2011


There may be a second keychain item that needs updating. Somebody else had this issue, and did the following write-up after it was resolved:

http://www.coresolutiongroup.com/wordpress/?p=27

Hope this helps,
-dre

On Jan 16, 2011, at 7:54 AM, Cory Emanuel wrote:

> Hello Morgen / Andre (and Friends:) ,
> 
> 
> Following Morgen's advice, i looked for errors that seemed fatal and i found the following in my error log:
> 
> 2011-01-14 19:44:33-0400 [-] [mailgateway] 2011-01-14 19:44:33-0400 [PooledMemCacheProtocol,client] [twistedcaldav.directory.appleopendirectory.OpenDirectoryRecord#debug] OpenDirectory digest authentication failed with:
> 2011-01-14 19:44:33-0400 [-] [mailgateway] 	    Nodename:  /Local/Default
> 2011-01-14 19:44:33-0400 [-] [mailgateway] 	    Username:  com.apple.calendarserver
> 2011-01-14 19:44:33-0400 [-] [mailgateway] 	    Challenge: Digest realm="/Search", nonce="634469164477634627827555075043972800465003746912997175983", algorithm=md5
> 2011-01-14 19:44:33-0400 [-] [mailgateway] 	    Response:  Digest username="com.apple.calendarserver", realm="/Search", nonce="634469164477634627827555075043972800465003746912997175983", uri="http://localhost:62310/inbox", response="36cc063091cd1e796bd906f36e804608",algorithm=md5
> 2011-01-14 19:44:33-0400 [-] [mailgateway] 	    Method:    POST
> 
> 
> Here is what i did after i observed this error, I re-created the already deleted keychain entry  named com.apple.servermgr_calendar , with user account: com.apple.calendarserver account  password: myownpassword. Then  I  accessed the system user com.apple.calendarserver in Local/Default Directory Node using Workgroup Manager and edit the password to: myownpassword , to matches the one i put in the prior mentioned keychain entry. Restarted everything. Still to no avail i continue to get the following stream of seemingly fatal  messages in my error log:
> 
> 2011-01-16 10:58:03-0400 [-] [mailgateway]
>  2011-01-16 10:58:03-0400 [PooledMemCacheProtocol,client] [twistedcaldav.directory.appleopendirectory.OpenDirectoryRecord#debug] OpenDirectory digest authentication failed with:
> 2011-01-16 10:58:03-0400 [-] [mailgateway] 	    Nodename:  /Local/Default
> 2011-01-16 10:58:03-0400 [-] [mailgateway] 	    Username:  com.apple.calendarserver
> 2011-01-16 10:58:03-0400 [-] [mailgateway] 	    Challenge: Digest realm="/Search", nonce="482677882815319389550998222586272904382839428645299019959", algorithm=md5
> 2011-01-16 10:58:03-0400 [-] [mailgateway] 	    Response:  Digest username="com.apple.calendarserver", realm="/Search", nonce="482677882815319389550998222586272904382839428645299019959", uri="http://localhost:62310/inbox", response="cad9e1be2790f3dc5249b44c1134f49a",algorithm=md5
> 2011-01-16 10:58:03-0400 [-] [mailgateway] 	    Method:    POST
> 2011-01-16 10:58:03-0400 [-] [mailgateway] 	
> 2011-01-16 10:58:03-0400 [-] [mailgateway] 2011-01-16 10:58:03-0400 [PooledMemCacheProtocol,client] [twistedcaldav.directory.digest.DigestCredentialsMemcache#debug] Getting Cache Token for '913836199963591220574456919125041858117512362067706963227'
> 2011-01-16 10:58:03-0400 [-] [mailgateway] 2011-01-16 10:58:03-0400 [PooledMemCacheProtocol,client] [twistedcaldav.memcachepool.MemCachePool#debug] Busied client: <twistedcaldav.memcachepool.PooledMemCacheProtocol instance at 0x10211dfc8>
> 2011-01-16 10:58:03-0400 [-] [mailgateway] 2011-01-16 10:58:03-0400 [PooledMemCacheProtocol,client] [twistedcaldav.memcachepool.MemCachePool#debug] Clients #free: 0, #busy: 1, #pending: 0, #queued: 0
> 2011-01-16 10:58:03-0400 [-] [mailgateway] 2011-01-16 10:58:03-0400 [PooledMemCacheProtocol,client] [twistedcaldav.memcachepool.MemCachePool#debug] Freed client: <twistedcaldav.memcachepool.PooledMemCacheProtocol instance at 0x10211dfc8>
> 2011-01-16 10:58:03-0400 [-] [mailgateway] 2011-01-16 10:58:03-0400 [PooledMemCacheProtocol,client] [twistedcaldav.memcachepool.MemCachePool#debug] Clients #free: 1, #busy: 0, #pending: 0, #queued: 0
> 2011-01-16 10:58:03-0400 [-] [mailgateway] 2011-01-16 10:58:03-0400 [PooledMemCacheProtocol,client] [twistedcaldav.directory.digest.DigestCredentialsMemcache#debug] Setting Cache Token for '913836199963591220574456919125041858117512362067706963227'
> 2011-01-16 10:58:03-0400 [-] [mailgateway] 2011-01-16 10:58:03-0400 [PooledMemCacheProtocol,client] [twistedcaldav.memcachepool.MemCachePool#debug] Busied client: <twistedcaldav.memcachepool.PooledMemCacheProtocol instance at 0x10211dfc8>
> 2011-01-16 10:58:03-0400 [-] [mailgateway] 2011-01-16 10:58:03-0400 [PooledMemCacheProtocol,client] [twistedcaldav.memcachepool.MemCachePool#debug] Clients #free: 0, #busy: 1, #pending: 0, #queued: 0
> 2011-01-16 10:58:03-0400 [-] [mailgateway] 2011-01-16 10:58:03-0400 [PooledMemCacheProtocol,client] [twistedcaldav.memcachepool.MemCachePool#debug] Freed client: <twistedcaldav.memcachepool.PooledMemCacheProtocol instance at 0x10211dfc8>
> 2011-01-16 10:58:03-0400 [-] [mailgateway] 2011-01-16 10:58:03-0400 [PooledMemCacheProtocol,client] [twistedcaldav.memcachepool.MemCachePool#debug] Clients #free: 1, #busy: 0, #pending: 0, #queued: 0
> 2011-01-16 10:58:03-0400 [-] [caldav-8009]  [AuthorizedHTTPGetter,client] [twistedcaldav.scheduling.imip#error] Could not do server-to-imip request : <twistedcaldav.scheduling.imip.ScheduleViaIMip object at 0x102429a10> Mail gateway not able to process reply; could not authenticate user com.apple.calendarserver with calendar server
> 2011-01-16 10:58:03-0400 [-] [caldav-8009]  [AuthorizedHTTPGetter,client] [twistedcaldav.scheduling.scheduler.ScheduleResponseQueue#error] Error during PUT for mailto:coryemanuel at gmail.com: None
> 2011-01-16 10:58:03-0400 [-] [caldav-8009]  [AuthorizedHTTPGetter,client] [twistedcaldav.method.put_common#debug] Rollback: will create new destination /Library/CalendarServer/Documents/calendars/__uids__/10/AA/10AA9E36-FD9A-48F3-9F99-288C88ECA63F/calendar/3BB9DA9B-336C-41EF-80EB-B0D5DF7738DD.ics
> 2011-01-16 10:58:03-0400 [-] [caldav-8009]  [AuthorizedHTTPGetter,client] [twisted.web2.dav.fileop#info] Writing to file /Library/CalendarServer/Documents/calendars/__uids__/10/AA/10AA9E36-FD9A-48F3-9F99-288C88ECA63F/calendar/3BB9DA9B-336C-41EF-80EB-B0D5DF7738DD.ics
> 
> Perhaps someone can shed some light on this bad behavior?
> 
> Looking forward to your positive and insightful responses.
> 
> Kind Regards
> Cory
> 
> 
> 
> On Jan 14, 2011, at 8:13 PM, Morgen Sagen wrote:
> 
>> 
>> On Jan 14, 2011, at 3:41 PM, Cory Emanuel wrote:
>> 
>>> Hello Andre (and friends :), 
>>> 
>>> Can you guys help me get ICal Server to send email invitations to external invitees without using the Apple Mail Server bundled with SL Server. I got it working once out of the box, not exactly, but close enough; I simply had created a gmail (IMAP) account dedicated to testing the email invitation feature. it worked flawlessly, then i decided to replace the gmail settings with my registered domain's email settings. From then on the email invitation feature refuses to work. Right nw all it seems to do is report errors to the infamous debug log such as the following:
>>> 1/ ...[2011-01-14 18:54:23-0400 [-] [caldav-8009]  [PooledMemCacheProtocol,client] [twistedcaldav.directory.principal#debug] No principal for calendar user address: u'mailto:coryemanuel at gmail.com']....  my two cents: ( coryemanuel at gmail.com is not any OD User's email address so why does it say this? Hes just a guy i wanna invite to my companies meeting, Its almost like Ical Server want all attendees/invitees to be an OD User,which i suspect has something to do with free/busy attendee info preprocessing )
>>> 
>>> 2/...[2011-01-14 18:54:19-0400 [-] [caldav-8009]  [PooledMemCacheProtocol,client] [twistedcaldav.scheduling.imip#error] Could not do server-to-imip request : <twistedcaldav.scheduling.imip.ScheduleViaIMip object at 0x102420090> iMIP VFREEBUSY REQUESTs not supported.]...
>>> 
>>> 3/ ...[2011-01-14 18:54:19-0400 [-] [caldav-8009]  [PooledMemCacheProtocol,client] [twistedcaldav.scheduling.scheduler.ScheduleResponseQueue#error] Error during POST for mailto:coryemanuel at gmail.com: None]..
>>> 
>> 
>> Hi Cory,
>> 
>> These messages don't actually indicate a fatal error, and I see them on my functional server.  They should probably be re-worded.  #2 and #3 just mean no free-busy lookup can be done on an external attendee.
>> 
>> I am also using a gmail account for sending/receiving imip messages from my personal calendar server, so we should be able to get you working again.
>> 
>> Do you see anything in /var/log/caldavd/error.log like:
>> 
>> [twistedcaldav.scheduling.imip#debug] POSTing iMIP message to gateway...  
>> 
>> Or any stack traces in there?
>> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-users/attachments/20110116/f1880cd0/attachment-0001.html>


More information about the calendarserver-users mailing list