[CalendarServer-users] Configuring Clients for DCS

Mark Cockfield mark.cockfield at gmail.com
Fri Dec 5 17:58:03 PST 2008


Hi John,

If I'm not mistaken your problem is due to the GUID tags you have specified
in your accounts.xml file. See Wilfredo's response in the "how to update?"
thread.

Mark

On 12/5/08 4:26 PM, "John Berliner" <john at johnberliner.com> wrote:

> On Dec 5, 2008, at 1:17 PM, Cyrus Daboo wrote:
> 
>> Hi John,
>> 
>> --On December 5, 2008 12:50:11 PM -0800 John Berliner
>> <john at johnberliner.com> wrote:
>> 
>>> On the client side, Sunbird "lets" me create the calendar, but I
>>> always
>>> get an error icon by the calendar with a Tooltip message "The
>>> calendar
>>> <newcal> is momentarily not available". If I then try to write to the
>>> calendar, the server looks like it is going to write -- I see a
>>> PUT, then
>>> "Writing request stream," then "Writing to file", but then:
>>> 
>>> [-] [twisted.web2.dav.method.put_common#error] Rollback: commit
>>> 
>>> and the event is not written to the calendar.
>>> 
>>> I get no server errors on startup, other than "invalid GUID in
>>> accounts
>>> XML" warnings...
>> 
>> Can you attach the full error log showing what happens on the server?
>> 
>> -- 
>> Cyrus Daboo
>> 
> 
> Okay. On creating a new calendar in Sunbird (using canonical URL to
> default calendar), server generates:
> 
> 2008-12-05 13:11:21-0800 [-] [caldav-8008]
> [PooledMemCacheProtocol,client] [twistedcaldav.extensions#info]
> PROPFIND /calendars/users/jberliner/calendar/ HTTP/1.1
> 
> I then have to enter my username and password, after which server
> generates the same exact message again. Sunbird says "YOur Calendar
> has been created." I click Done. The new calendar definition shows up
> with a yellow warning (!) icon next to it. When I then try to add an
> event to the calendar, server says:
> 
> 2008-12-05 13:15:00-0800 [-] [caldav-8008]  [HTTPChannel,
> 28,192.168.1.91] [twistedcaldav.extensions#info] PUT /calendars/users/
> jberliner/calendar/0bddcc98-8a50-7748-a385-ad84a192a5e4.ics HTTP/1.1
> 2008-12-05 13:15:00-0800 [-] [caldav-8008]  [HTTPChannel,
> 28,192.168.1.91] [twisted.web2.dav.method.put#info] Writing request
> stream to /usr/local/src/CalendarServer/loscalendars/calendars/
> __uids__/jb/er/jberliner/calendar/0bddcc98-8a50-7748-a385-
> ad84a192a5e4.ics
> 2008-12-05 13:15:00-0800 [-] [caldav-8008]  [HTTPChannel,
> 28,192.168.1.91] [twisted.web2.dav.fileop#info] Writing to file /usr/
> local/src/CalendarServer/loscalendars/calendars/__uids__/jb/er/
> jberliner/calendar/0bddcc98-8a50-7748-a385-ad84a192a5e4.ics
> 2008-12-05 13:15:00-0800 [-] [caldav-8008]  [-]
> [twisted.web2.dav.method.put_common#error] Rollback: commit
> 2008-12-05 13:15:00-0800 [-] [caldav-8008]  [HTTPChannel,
> 28,192.168.1.91] [twistedcaldav.extensions#info] REPORT /calendars/
> users/jberliner/calendar/ HTTP/1.1
> 
> In case this is relevant, here is the startup log:
> 
> exec python /usr/local/src/Twisted/bin/twistd  -n caldav -f /usr/
> local/src/CalendarServer/conf/caldavd-dev.plist -o ProcessType=Combined
> 2008-12-05 13:16:01-0800 [-] Log opened.
> 2008-12-05 13:16:01-0800 [-] twistd 2.5.0+rUnknown (/usr/local/bin/
> python 2.5.2) starting up
> 2008-12-05 13:16:01-0800 [-] reactor class: <class
> 'twisted.internet.selectreactor.SelectReactor'>
> 2008-12-05 13:16:01-0800 [-] [twistedcaldav.cluster#error] Could not
> autodetect number of CPUs: getNCPU not supported on freebsd7
> 2008-12-05 13:16:01-0800 [-] [twistedcaldav.cluster#error] Assuming
> one CPU, configuring one process.
> 2008-12-05 13:16:01-0800 [-] [twistedcaldav.cluster#info] Adding
> memcached service
> 2008-12-05 13:16:01-0800 [-]
> twistedcaldav.accesslog.AMPLoggingFactory starting on "'logs/
> caldavd.sock'"
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-] Log opened.
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-] twistd 2.5.0+rUnknown
> (/usr/local/bin/python 2.5.2) starting up
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-] reactor class: <class
> 'twisted.internet.selectreactor.SelectReactor'>
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-]
> [calendarserver.tap.caldav#info] Configuring directory service of
> type: twistedcaldav.directory.xmlfile.XMLDirectoryService
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-]
> [twistedcaldav.directory.xmlaccountsparser#error] Invalid GUID in
> accounts XML: 'admin'
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-]
> [twistedcaldav.directory.xmlaccountsparser#error] Invalid GUID in
> accounts XML: 'jberliner'
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-]
> [twistedcaldav.directory.xmlaccountsparser#error] Invalid GUID in
> accounts XML: 'kendram'
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-]
> [twistedcaldav.directory.xmlaccountsparser#error] Invalid GUID in
> accounts XML: 'hollyh'
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-]
> [twistedcaldav.directory.xmlaccountsparser#error] Invalid GUID in
> accounts XML: 'stacef'
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-]
> [twistedcaldav.directory.xmlaccountsparser#error] Invalid GUID in
> accounts XML: 'hos'
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-]
> [twistedcaldav.directory.xmlaccountsparser#error] Invalid GUID in
> accounts XML: 'admins'
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-]
> [twistedcaldav.directory.xmlaccountsparser#error] Invalid GUID in
> accounts XML: 'test'
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-]
> [calendarserver.tap.caldav#info] Configuring SudoDirectoryService
> with file: conf/sudoers.plist
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-]
> [calendarserver.tap.caldav#info] Setting up document root at:
> loscalendars/
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-]
> [calendarserver.tap.caldav#info] Setting up principal collection:
> <class  
> 'twistedcaldav.directory.principal.DirectoryPrincipalProvisioningResourc
> e'>
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-]
> [calendarserver.tap.caldav#info] Setting up calendar collection:
> <class 'twistedcaldav.static.CalendarHomeProvisioningFile'>
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-]
> [calendarserver.tap.caldav#info] Setting up root resource: <class
> 'twistedcaldav.root.RootResource'>
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-]
> [calendarserver.tap.caldav#info] Setting up time zone service
> resource: <class 'twistedcaldav.static.TimezoneServiceFile'>
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-]
> [calendarserver.tap.caldav#info] Setting up iMIP inbox resource:
> <class 'twistedcaldav.mail.IMIPInboxResource'>
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-]
> [calendarserver.tap.caldav#info] Setting up Timezone Cache
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-]
> [calendarserver.tap.caldav#info] Configuring authentication for
> realm: Live Oak Calendars
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-]
> [calendarserver.tap.caldav#info] Setting up scheme: wiki
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-]
> [calendarserver.tap.caldav#error] Unknown scheme: wiki
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-]
> [calendarserver.tap.caldav#info] Setting up scheme: digest
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-]
> [calendarserver.tap.caldav#info] Setting up scheme: basic
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-]
> [calendarserver.tap.caldav#info] Configuring authentication wrapper
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-]
> [calendarserver.tap.caldav#info] Setting up service
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-]
> [calendarserver.tap.caldav#info] Configuring log observer:
> <twistedcaldav.accesslog.AMPCommonAccessLoggingObserver object at
> 0x2948a16c>
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-]
> [calendarserver.tap.caldav#info] Adding server at :8008
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-]
> [calendarserver.tap.caldav#info] Adding SSL server at :8443
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-]
> twistedcaldav.httpfactory.HTTP503LoggingFactory starting on 8008
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-] Starting factory
> <twistedcaldav.httpfactory.HTTP503LoggingFactory instance at 0x2948a20c>
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-]
> twistedcaldav.httpfactory.HTTP503LoggingFactory starting on 8443
> 2008-12-05 13:16:02-0800 [twistedcaldav.accesslog.AMPLoggingFactory]
> AMPLoggingProtocol connection established (HOST:UNIXSocket('logs/
> caldavd.sock') PEER:UNIXSocket(''))
> 2008-12-05 13:16:02-0800 [-] [caldav-8008]  [-] AMP connection
> established (HOST:UNIXSocket(None) PEER:UNIXSocket('logs/caldavd.sock'))
> 
> 
> Thanks for any assistance that you can provide!
> John
> 
> _______________________________________________
> calendarserver-users mailing list
> calendarserver-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users



More information about the calendarserver-users mailing list