On 17/apr/07, at 18:35, David Reid wrote:

Since it is a ConnectionError it looks like it's probably one of the ControlSockets ... eithers logs/caldavd.sock or logs/caldavd- pydir.sock. If one of these doesn't exist then there should be another exception near the top, or printed when you ^C the server.
- -David

Only caldavd.sock is present in logs, caldavd-pydir.sock is not there, here's the full output from starting the server to trying to access 192.168.200.6:8008 in a browser.
-Gianni

# ./run
2007-04-18 06:18:11+0200 [-] Log opened.
2007-04-18 06:18:11+0200 [-] twistd 2.5.0+rUnknown (/usr/local/bin/ python 2.4.3) starting up 2007-04-18 06:18:11+0200 [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'>
2007-04-18 06:18:11+0200 [-] Could not autodetect number of CPUs:
2007-04-18 06:18:11+0200 [-] getNCPU not supported on freebsd6
2007-04-18 06:18:11+0200 [-] twistedcaldav.logging.AMPLoggingFactory starting on "'logs/caldavd.sock'"
2007-04-18 06:18:12+0200 [-] [caldav-8008]  [-] Log opened.
2007-04-18 06:18:12+0200 [-] [caldav-8008] [-] twistd 2.5.0+rUnknown (/usr/local/bin/python 2.4.3) starting up 2007-04-18 06:18:12+0200 [-] [caldav-8008] [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'> 2007-04-18 06:18:12+0200 [-] [caldav-8008] [-] Configuring directory service of type: twistedcaldav.directory.xmlfile.XMLDirectoryService 2007-04-18 06:18:12+0200 [-] [caldav-8008] [-] Configuring SudoDirectoryService with file: conf/sudoers.plist 2007-04-18 06:18:12+0200 [-] [caldav-8008] [-] Setting up document root at: twistedcaldav/test/data/ 2007-04-18 06:18:12+0200 [-] [caldav-8008] [-] Setting up principal collection: <class 'twistedcaldav.directory.principal.DirectoryPrincipalProvisioningResourc e'> 2007-04-18 06:18:12+0200 [-] [caldav-8008] [-] Setting up calendar collection: <class 'twistedcaldav.static.CalendarHomeProvisioningFile'> 2007-04-18 06:18:12+0200 [-] [caldav-8008] [-] Setting up root resource: <class 'twistedcaldav.root.RootResource'> 2007-04-18 06:18:12+0200 [-] [caldav-8008] [-] Setting up default ACEs on root resource 2007-04-18 06:18:12+0200 [-] [caldav-8008] [-] Setting up AdminPrincipals 2007-04-18 06:18:12+0200 [-] [caldav-8008] [-] Added /principals/ users/admin/ as admin principal
2007-04-18 06:18:12+0200 [-] [caldav-8008]  [-] Setting root ACL
2007-04-18 06:18:12+0200 [-] [caldav-8008] [-] Configuring authentication for realm: Test Realm
2007-04-18 06:18:12+0200 [-] [caldav-8008]  [-] Setting up scheme: basic
2007-04-18 06:18:12+0200 [-] [caldav-8008] [-] Configuring authentication wrapper
2007-04-18 06:18:12+0200 [-] [caldav-8008]  [-] Setting up service
2007-04-18 06:18:12+0200 [-] [caldav-8008] [-] Configuring log observer: <twistedcaldav.logging.AMPCommonAccessLoggingObserver object at 0x16be090> 2007-04-18 06:18:12+0200 [-] [caldav-8008] [-] Adding server at 192.168.200.6:8008 2007-04-18 06:18:12+0200 [-] [caldav-8008] [-] Adding SSL server at 192.168.200.6:8443 2007-04-18 06:18:12+0200 [-] [caldav-8008] [-] twisted.web2.channel.http.HTTPFactory starting on 8008 2007-04-18 06:18:12+0200 [-] [caldav-8008] [-] Starting factory <twisted.web2.channel.http.HTTPFactory instance at 0x16bf128> 2007-04-18 06:18:12+0200 [-] [caldav-8008] [-] twisted.web2.channel.http.HTTPFactory starting on 8443 2007-04-18 06:18:12+0200 [twistedcaldav.logging.AMPLoggingFactory] AMPLoggingProtocol connection established (HOST:UNIXSocket('logs/ caldavd.sock') PEER:UNIXSocket('')) 2007-04-18 06:18:12+0200 [-] [caldav-8008] [-] AMP connection established (HOST:UNIXSocket(None) PEER:UNIXSocket('logs/caldavd.sock'))
2007-04-18 06:18:32+0200 [-] [caldav-8008]  [-] Exception rendering:
2007-04-18 06:18:32+0200 [-] [caldav-8008]  [-] Unhandled Error
2007-04-18 06:18:32+0200 [-] [caldav-8008] Traceback (most recent call last): 2007-04-18 06:18:32+0200 [-] [caldav-8008] Failure: twisted.internet.error.ConnectError: An error occurred while connecting: 2: No such file or directory.
2007-04-18 06:18:32+0200 [-] [caldav-8008]
2007-04-18 06:18:32+0200 [-] [caldav-8008]  [-] Exception rendering:
2007-04-18 06:18:32+0200 [-] [caldav-8008]  [-] Unhandled Error
2007-04-18 06:18:32+0200 [-] [caldav-8008] Traceback (most recent call last): 2007-04-18 06:18:32+0200 [-] [caldav-8008] Failure: twisted.internet.error.ConnectError: An error occurred while connecting: 2: No such file or directory.
2007-04-18 06:18:32+0200 [-] [caldav-8008]
^C2007-04-18 06:24:51+0200 [-] Received SIGINT, shutting down.
2007-04-18 06:24:51+0200 [-] (Port None Closed)
2007-04-18 06:24:51+0200 [AMPLoggingProtocol,0,] AMPLoggingProtocol connection lost (HOST:UNIXSocket('logs/caldavd.sock') PEER:UNIXSocket (''))
2007-04-18 06:24:51+0200 [-] Main loop terminated.
2007-04-18 06:24:51+0200 [-] Server Shut Down.
_______________________________________________
calendarserver-users mailing list
calendarserver-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/calendarserver-users

Reply via email to