[CalendarServer-users] Status on FreeBSD

Eric D. Kjeldergaard kjelderg at meridian-enviro.com
Wed Apr 18 07:12:38 PDT 2007


On Tuesday 17 April 2007 16:09, jaco engelbrecht wrote:
> Hi Eric,
>
> On 17 Apr 2007, at 22:58, Eric D. Kjeldergaard wrote:
> > Followed your instructions to a 't' and it made great progress.
> > Thank you
> > very much.  It starts and runs listening and all.  The problem I'm
> > having is
> > that when I try to access the server in my browser like so:
> > http://localhost:8008/, I get an error:
> >
> > 2007-04-17 15:56:32-0500 [-] [caldav-8008]  [-] Exception rendering:
> > 2007-04-17 15:56:32-0500 [-] [caldav-8008]  [-] Unhandled Error
> > 2007-04-17 15:56:32-0500 [-] [caldav-8008]      Traceback (most
> > recent call
> > last):
> > 2007-04-17 15:56:32-0500 [-] [caldav-8008]      Failure:
> > twisted.internet.error.ConnectError: An error occurred while
> > connecting: 2:
> > No such file or directory.
> > 2007-04-17 15:56:32-0500 [-] [caldav-8008]
>
> Can you e-mail us everything that gets printed to your screen, after
> you start the server with "./run"?
>
> Like what I pasted below.  I want to see if "Setting up document root
> at:" gives us a clue of what might be wrong.
>
> Can you also please attach conf/caldavd-dev.plist ?
>
> Jaco
>
> [root at tsogang /u2/src/CalendarServer]# ./run
> 2007-04-17 22:03:19+0100 [-] Log opened.
> 2007-04-17 22:03:19+0100 [-] twistd 2.5.0+rUnknown (/usr/local/bin/
> python 2.4.4) starting up
> 2007-04-17 22:03:19+0100 [-] reactor class: <class
> 'twisted.internet.selectreactor.SelectReactor'>
> 2007-04-17 22:03:19+0100 [-] Configuring directory service of type:
> twistedcaldav.directory.xmlfile.XMLDirectoryService
> 2007-04-17 22:03:19+0100 [-] Configuring SudoDirectoryService with
> file: conf/sudoers.plist
> 2007-04-17 22:03:19+0100 [-] Setting up document root at:
> twistedcaldav/test/data/
> 2007-04-17 22:03:19+0100 [-] Setting up principal collection: <class
> 'twistedcaldav.directory.principal.DirectoryPrincipalProvisioningResourc
> e'>
> 2007-04-17 22:03:19+0100 [-] Setting up calendar collection: <class
> 'twistedcaldav.static.CalendarHomeProvisioningFile'>
> 2007-04-17 22:03:19+0100 [-] Setting up root resource: <class
> 'twistedcaldav.root.RootResource'>
> 2007-04-17 22:03:19+0100 [-] Setting up default ACEs on root resource
> 2007-04-17 22:03:19+0100 [-] Setting up AdminPrincipals
> 2007-04-17 22:03:19+0100 [-] Added /principals/users/admin/ as admin
> principal
> 2007-04-17 22:03:19+0100 [-] Setting root ACL
> 2007-04-17 22:03:19+0100 [-] Configuring authentication for realm:
> Test Realm
> 2007-04-17 22:03:19+0100 [-] Setting up scheme: basic
> 2007-04-17 22:03:19+0100 [-] Configuring authentication wrapper
> 2007-04-17 22:03:19+0100 [-] Setting up service
> 2007-04-17 22:03:19+0100 [-] Configuring rotating log observer for
> file: logs/access.log
> 2007-04-17 22:03:19+0100 [-] Adding server at 127.0.0.1:8008
> 2007-04-17 22:03:19+0100 [-] Adding SSL server at 213.253.1.15:8443
> 2007-04-17 22:03:19+0100 [-] twisted.web2.channel.http.HTTPFactory
> starting on 8008
> 2007-04-17 22:03:19+0100 [-] Starting factory
> <twisted.web2.channel.http.HTTPFactory instance at 0x8a63bac>
> 2007-04-17 22:03:19+0100 [-] twisted.web2.channel.http.HTTPFactory
> starting on 8443
> 2007-04-17 22:03:34+0100 [HTTPChannel,0,127.0.0.1] GET / HTTP/1.1

Sure, here's what I've got (follows message).  The config file is attached.  
The only thing I know of that's "weird" about this (vs. the instructions 
posted) is that when py-sqlite3 got installed, it required python 2.5.  That 
does seem like it would e a problem and if that's related to this, then I'm 
sure I can work out some other way to get py-sqlite3.  Thanks,

Eric

2007-04-17 11:10:48-0500 [-] Log opened.
2007-04-17 11:10:48-0500 [-] twistd 2.5.0+rUnknown (/usr/local/bin/python 
2.4.3) starting up
2007-04-17 11:10:48-0500 [-] reactor class: 
<class 'twisted.internet.selectreactor.SelectReactor'>
2007-04-17 11:10:48-0500 [-] Could not autodetect number of CPUs:
2007-04-17 11:10:48-0500 [-] getNCPU not supported on freebsd6
2007-04-17 11:10:48-0500 [-] twistedcaldav.logging.AMPLoggingFactory starting 
on "'logs/caldavd.sock'"
2007-04-17 11:10:49-0500 [-] [caldav-8008]  [-] Log opened.
2007-04-17 11:10:49-0500 [-] [caldav-8008]  [-] twistd 2.5.0+rUnknown 
(/usr/local/bin/python 2.4.3) starting up
2007-04-17 11:10:49-0500 [-] [caldav-8008]  [-] reactor class: 
<class 'twisted.internet.selectreactor.SelectReactor'>
2007-04-17 11:10:49-0500 [-] [caldav-8008]  [-] Configuring directory service 
of type: twistedcaldav.directory.xmlfile.XMLDirectoryService
2007-04-17 11:10:50-0500 [-] [caldav-8008]  [-] Configuring 
SudoDirectoryService with file: conf/sudoers.plist
2007-04-17 11:10:50-0500 [-] [caldav-8008]  [-] Setting up document root at: 
twistedcaldav/test/data/
2007-04-17 11:10:50-0500 [-] [caldav-8008]  [-] Setting up principal 
collection: 
<class 'twistedcaldav.directory.principal.DirectoryPrincipalProvisioningResource'>
2007-04-17 11:10:50-0500 [-] [caldav-8008]  [-] Setting up calendar 
collection: <class 'twistedcaldav.static.CalendarHomeProvisioningFile'>
2007-04-17 11:10:50-0500 [-] [caldav-8008]  [-] Setting up root resource: 
<class 'twistedcaldav.root.RootResource'>
2007-04-17 11:10:50-0500 [-] [caldav-8008]  [-] Setting up default ACEs on 
root resource
2007-04-17 11:10:50-0500 [-] [caldav-8008]  [-] Setting up AdminPrincipals
2007-04-17 11:10:50-0500 [-] [caldav-8008]  [-] Added /principals/users/admin/ 
as admin principal
2007-04-17 11:10:50-0500 [-] [caldav-8008]  [-] Setting root ACL
2007-04-17 11:10:50-0500 [-] [caldav-8008]  [-] Configuring authentication for 
realm: Test Realm
2007-04-17 11:10:50-0500 [-] [caldav-8008]  [-] Setting up scheme: basic
2007-04-17 11:10:50-0500 [-] [caldav-8008]  [-] Configuring authentication 
wrapper
2007-04-17 11:10:50-0500 [-] [caldav-8008]  [-] Setting up service
2007-04-17 11:10:50-0500 [-] [caldav-8008]  [-] Configuring log observer: 
<twistedcaldav.logging.AMPCommonAccessLoggingObserver object at 0x8a82b4c>
2007-04-17 11:10:50-0500 [-] [caldav-8008]  [-] Adding server at 
127.0.0.1:8008
2007-04-17 11:10:50-0500 [-] [caldav-8008]  [-] Adding SSL server at 
127.0.0.1:8443
2007-04-17 11:10:50-0500 [-] [caldav-8008]  [-] 
twisted.web2.channel.http.HTTPFactory starting on 8008
2007-04-17 11:10:50-0500 [-] [caldav-8008]  [-] Starting factory 
<twisted.web2.channel.http.HTTPFactory instance at 0x8a82bcc>
2007-04-17 11:10:50-0500 [-] [caldav-8008]  [-] 
twisted.web2.channel.http.HTTPFactory starting on 8443
2007-04-17 11:10:50-0500 [twistedcaldav.logging.AMPLoggingFactory] 
AMPLoggingProtocol connection established 
(HOST:UNIXSocket('logs/caldavd.sock') PEER:UNIXSocket(''))
2007-04-17 11:10:50-0500 [-] [caldav-8008]  [-] AMP connection established 
(HOST:UNIXSocket(None) PEER:UNIXSocket('logs/caldavd.sock'))
2007-04-17 11:45:58-0500 [-] [caldav-8008]  [-] Exception rendering:
2007-04-17 11:45:58-0500 [-] [caldav-8008]  [-] Unhandled Error
2007-04-17 11:45:58-0500 [-] [caldav-8008]      Traceback (most recent call 
last):
2007-04-17 11:45:58-0500 [-] [caldav-8008]      Failure: 
twisted.internet.error.ConnectError: An error occurred while connecting: 2: 
No such file or directory.
2007-04-17 11:45:58-0500 [-] [caldav-8008]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-users/attachments/20070418/abce74ac/caldavd-dev-0001.html


More information about the calendarserver-users mailing list