
andrew at morphoss
Mar 4, 2012, 5:04 PM
Post #2 of 2
(233 views)
Permalink
|
On Mon, 2012-03-05 at 00:13 +0000, Casey Stone wrote: > Hello: > > I have set up DAViCal 1.0.2 on Ubuntu 10.04.4 LTS Server with > PostgreSQL 8.4, I can log in with the web interface, create my user, > enable this and that... and under 'setup' all dependencies are green > and so happy looking. Here is a transcript from the apache2 log when > iCal 5.0.1 on OS X 10.7.2 tries to connect: > > [Sun Mar 04 23:54:37 2012] [error] [client x.x.x.x] davical: LOG: :***************** Response Header **************** > [Sun Mar 04 23:54:37 2012] [error] [client x.x.x.x] davical: LOG: headers:-->X-Powered-By: PHP/5.3.2-1ubuntu4.14 > [Sun Mar 04 23:54:37 2012] [error] [client x.x.x.x] davical: LOG: headers:-->Server: 1.0 > [Sun Mar 04 23:54:37 2012] [error] [client x.x.x.x] davical: LOG: headers:-->DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule > [Sun Mar 04 23:54:37 2012] [error] [client x.x.x.x] davical: LOG: headers:-->DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule > [Sun Mar 04 23:54:37 2012] [error] [client x.x.x.x] davical: LOG: headers:-->X-DAViCal-Version: DAViCal/1.0.2; DB/1.2.11 > [Sun Mar 04 23:54:37 2012] [error] [client x.x.x.x] davical: LOG: headers:-->Content-type: text/xml; charset="utf-8" > [Sun Mar 04 23:54:37 2012] [error] [client x.x.x.x] davical: LOG: :******************** Response ******************** > [Sun Mar 04 23:54:37 2012] [error] [client x.x.x.x] davical: LOG: response:--><?xml version="1.0" encoding="utf-8" ?> > [Sun Mar 04 23:54:37 2012] [error] [client x.x.x.x] davical: LOG: response:--><error xmlns="DAV:"> > [Sun Mar 04 23:54:37 2012] [error] [client x.x.x.x] davical: LOG: response:--> <need-privileges> > [Sun Mar 04 23:54:37 2012] [error] [client x.x.x.x] davical: LOG: response:--> <resource> > [Sun Mar 04 23:54:37 2012] [error] [client x.x.x.x] davical: LOG: response:--> <href>/caldav.php/jcb/</href> > [Sun Mar 04 23:54:37 2012] [error] [client x.x.x.x] davical: LOG: response:--> <privilege> > [Sun Mar 04 23:54:37 2012] [error] [client x.x.x.x] davical: LOG: response:--> <read/> > [Sun Mar 04 23:54:37 2012] [error] [client x.x.x.x] davical: LOG: response:--> </privilege> > [Sun Mar 04 23:54:37 2012] [error] [client x.x.x.x] davical: LOG: response:--> </resource> > [Sun Mar 04 23:54:37 2012] [error] [client x.x.x.x] davical: LOG: response:--> </need-privileges> > [Sun Mar 04 23:54:37 2012] [error] [client x.x.x.x] davical: LOG: response:--></error> > [Sun Mar 04 23:54:37 2012] [error] [client x.x.x.x] davical: LOG: response:--> > > If you have any suggestions for me I'd appreciate it. After I created > the user (jcb) I deleted the auto-configured /jcb/calendar and > uploaded an exported iCal file containing data, then I granted all the > permissions I could find between the user and that. I'm a little > unclear if iCal should be able to connect even if the calendar is > empty -- I think I tried that also, but it as been a long day. Hi Casey, Of itself this does not necessarily indicate a problem. When iCal tries to connect it does not supply the username/password until after it sees this response which indicates that it is needed. However if you're only seeing this then it might be that you have installed the php5 filter module (libapache2-mod-php5filter), rather than the full php5 module (libapache2-mod-php5). This definitely messes things up :-) If that isn't your problem then put this into your config file: $c->dbg = array( 'request' => 1, 'response => 1 ); then delete the account in iCal and reply here with the log you see from when you re-create the account. Cheers, Andrew McMillan. -- ------------------------------------------------------------------------ andrew (AT) morphoss (DOT) com +64(272)DEBIAN Once harm has been done, even a fool understands it. -- Homer ------------------------------------------------------------------------
|