I did a checkout earlier today and a deployment install with 'run -i' as instructed in the run script. The only change I made to caldavd.plist was to change the HTTP port from 80 to 8008 -- a port not otherwise in use. When I try to start the server I get this:

#  caldavd -X -R caldav_kqueue
exec python /usr/bin/twistd --reactor=caldav_kqueue -n caldav -o Twisted/reactor=caldav_kqueue /Library/Python/2.5/site-packages/calendarserver/tap/caldav.py:48: DeprecationWarning: mktap and related support modules are deprecated as of Twisted 8.0. Use Twisted Application Plugins with the 'twistd' command directly, as described in 'Writing a Twisted Application Plugin for twistd' chapter of the Developer Guide.
  from twisted.scripts.mktap import getid
Removing stale pidfile /var/run/caldavd.pid
2009-07-13 14:08:08-0700 [-] Log opened.
2009-07-13 14:08:08-0700 [-] twistd 8.2.0 (/System/Library/Frameworks/ Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/ Python 2.5.1) starting up.
2009-07-13 14:08:08-0700 [-] reactor class: kqreactor.KQueueReactor.
2009-07-13 14:08:08-0700 [-] [calendarserver.tap.caldav.CalDAVServiceMaker#warn] Deleting stale socket file (not accepting connections): /var/run/caldavd.sock 2009-07-13 14:08:08-0700 [-] [calendarserver.tap.caldav.CalDAVServiceMaker#warn] Deleting stale socket file (not accepting connections): /var/run/caldavd-stats.sock 2009-07-13 14:08:08-0700 [-] twistedcaldav.accesslog.AMPLoggingFactory starting on "'/var/run/caldavd.sock'" 2009-07-13 14:08:08-0700 [-] calendarserver.tap.caldav.CalDAVStatisticsServer starting on "'/var/ run/caldavd-stats.sock'"
2009-07-13 14:08:08-0700 [-] Traceback (most recent call last):
2009-07-13 14:08:08-0700 [-] File "/usr/bin/twistd", line 21, in <module>
2009-07-13 14:08:08-0700 [-]     run()
2009-07-13 14:08:08-0700 [-] File "/Library/Python/2.5/site-packages/ twisted/scripts/twistd.py", line 27, in run
2009-07-13 14:08:08-0700 [-]     app.run(runApp, ServerOptions)
2009-07-13 14:08:08-0700 [-] File "/Library/Python/2.5/site-packages/ twisted/application/app.py", line 694, in run
2009-07-13 14:08:08-0700 [-]     runApp(config)
2009-07-13 14:08:08-0700 [-] File "/Library/Python/2.5/site-packages/ twisted/scripts/twistd.py", line 23, in runApp
2009-07-13 14:08:08-0700 [-]     _SomeApplicationRunner(config).run()
2009-07-13 14:08:08-0700 [-] File "/Library/Python/2.5/site-packages/ twisted/application/app.py", line 427, in run
2009-07-13 14:08:08-0700 [-]     self.postApplication()
2009-07-13 14:08:08-0700 [-] File "/Library/Python/2.5/site-packages/ twisted/scripts/_twistd_unix.py", line 206, in postApplication
2009-07-13 14:08:08-0700 [-]     self.startApplication(self.application)
2009-07-13 14:08:08-0700 [-] File "/Library/Python/2.5/site-packages/ twisted/scripts/_twistd_unix.py", line 320, in startApplication 2009-07-13 14:08:08-0700 [-] app.startApplication(application, not self.config['no_save']) 2009-07-13 14:08:08-0700 [-] File "/Library/Python/2.5/site-packages/ twisted/application/app.py", line 714, in startApplication 2009-07-13 14:08:08-0700 [-] service.IService(application).startService() 2009-07-13 14:08:08-0700 [-] File "/Library/Python/2.5/site-packages/ twisted/application/service.py", line 278, in startService
2009-07-13 14:08:08-0700 [-]     service.startService()
2009-07-13 14:08:08-0700 [-] File "/Library/Python/2.5/site-packages/ twisted/application/service.py", line 278, in startService
2009-07-13 14:08:08-0700 [-]     service.startService()
2009-07-13 14:08:08-0700 [-] File "/Library/Python/2.5/site-packages/ calendarserver/tap/caldav.py", line 1321, in startService
2009-07-13 14:08:08-0700 [-]     processObject.getName(),
2009-07-13 14:08:08-0700 [-] File "/Library/Python/2.5/site-packages/ calendarserver/tap/caldav.py", line 1227, in getName 2009-07-13 14:08:08-0700 [-] "Can't create TwistdSlaveProcess without a TCP Port" 2009-07-13 14:08:08-0700 [-] twistedcaldav.config.ConfigurationError: Can't create TwistdSlaveProcess without a TCP Port
#

I've tried various changes to the config file with no success. The development install works as expected. Thanks for any suggestions.

Linc Davis

_______________________________________________
calendarserver-users mailing list
calendarserver-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users

Reply via email to