[CalendarServer-dev] [Calendar and Contacts Server] #397: Can't start caldavd binary Ubuntu 10.04

Calendar and Contacts Server trac at macosforge.org
Tue Sep 28 17:12:48 PDT 2010


#397: Can't start caldavd binary Ubuntu 10.04
--------------------------------------+-------------------------------------
 Reporter:  clemens.kroell@…          |       Owner:  wsanchez@…        
     Type:  Defect                    |      Status:  new               
 Priority:  5: Not set                |   Milestone:  CalendarServer-3.x
Component:  Calendar Server           |    Severity:  Serious           
 Keywords:                            |  
--------------------------------------+-------------------------------------
Description changed by wsanchez@…:

Old description:

> clemens at hermann:/etc/caldavd$ sudo caldavd -X -L
> /usr/lib/python2.6/dist-packages/twisted/mail/smtp.py:10:
> DeprecationWarning: the MimeWriter module is deprecated; use the email
> package instead
>   import MimeWriter, tempfile, rfc822
> /usr/local/lib/python2.6/dist-packages/calendarserver/tap/caldav.py:50:
> 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
> Reading configuration from file: /etc/caldavd/caldavd.plist
> Removing stale pidfile /var/calendar/Logs/caldavd.pid
> 2010-08-25 12:25:31+0200 [-] Log opened.
> 2010-08-25 12:25:31+0200 [-] twistd 10.0.0 (/usr/bin/python 2.6.5)
> starting up.
> 2010-08-25 12:25:31+0200 [-] reactor class:
> twisted.internet.selectreactor.SelectReactor.
> 2010-08-25 12:25:31+0200 [-] /usr/lib/python2.6/dist-
> packages/twisted/application/internet.py:116:
> exceptions.DeprecationWarning: The mode parameter of
> IReactorUNIX.listenUNIX will be removed.  Do not pass a value for it.
> Set permissions on the containing directory before calling
> IReactorUNIX.listenUNIX, instead.
> 2010-08-25 12:25:31+0200 [-] calendarserver.accesslog.AMPLoggingFactory
> starting on "'/var/calendar/Logs/caldavd.sock'"
> 2010-08-25 12:25:31+0200 [-] <class
> 'twext.web2.metafd.LimitingInheritingProtocolFactory'> starting on 8008
> 2010-08-25 12:25:31+0200 [-]
> calendarserver.tap.caldav.CalDAVStatisticsServer starting on
> "'/var/calendar/Logs/caldavd-stats.sock'"
> 2010-08-25 12:25:31+0200 [-] Traceback (most recent call last):
> 2010-08-25 12:25:31+0200 [-]   File "/usr/bin/twistd", line 19, in
> <module>
> 2010-08-25 12:25:31+0200 [-]     run()
> 2010-08-25 12:25:31+0200 [-]   File "/usr/lib/python2.6/dist-
> packages/twisted/scripts/twistd.py", line 27, in run
> 2010-08-25 12:25:31+0200 [-]     app.run(runApp, ServerOptions)
> 2010-08-25 12:25:31+0200 [-]   File "/usr/lib/python2.6/dist-
> packages/twisted/application/app.py", line 693, in run
> 2010-08-25 12:25:31+0200 [-]     runApp(config)
> 2010-08-25 12:25:31+0200 [-]   File "/usr/lib/python2.6/dist-
> packages/twisted/scripts/twistd.py", line 23, in runApp
> 2010-08-25 12:25:31+0200 [-]     _SomeApplicationRunner(config).run()
> 2010-08-25 12:25:31+0200 [-]   File "/usr/lib/python2.6/dist-
> packages/twisted/application/app.py", line 423, in run
> 2010-08-25 12:25:31+0200 [-]     self.postApplication()
> 2010-08-25 12:25:31+0200 [-]   File "/usr/lib/python2.6/dist-
> packages/twisted/scripts/_twistd_unix.py", line 205, in postApplication
> 2010-08-25 12:25:31+0200 [-]     self.startApplication(self.application)
> 2010-08-25 12:25:31+0200 [-]   File "/usr/lib/python2.6/dist-
> packages/twisted/scripts/_twistd_unix.py", line 317, in startApplication
> 2010-08-25 12:25:31+0200 [-]     app.startApplication(application, not
> self.config['no_save'])
> 2010-08-25 12:25:31+0200 [-]   File "/usr/lib/python2.6/dist-
> packages/twisted/application/app.py", line 713, in startApplication
> 2010-08-25 12:25:31+0200 [-]
> service.IService(application).startService()
> 2010-08-25 12:25:31+0200 [-]   File "/usr/lib/python2.6/dist-
> packages/twisted/application/service.py", line 278, in startService
> 2010-08-25 12:25:31+0200 [-]     service.startService()
> 2010-08-25 12:25:31+0200 [-]   File "/usr/lib/python2.6/dist-
> packages/twisted/application/service.py", line 278, in startService
> 2010-08-25 12:25:31+0200 [-]     service.startService()
> 2010-08-25 12:25:31+0200 [-]   File "/usr/local/lib/python2.6/dist-
> packages/txdav/datastore/subpostgres.py", line 401, in startService
> 2010-08-25 12:25:31+0200 [-]     initdb = which("initdb")[0]
> 2010-08-25 12:25:31+0200 [-] IndexError: list index out of range
> clemens at hermann:/etc/caldavd$

New description:

 {{{
 clemens at hermann:/etc/caldavd$ sudo caldavd -X -L
 /usr/lib/python2.6/dist-packages/twisted/mail/smtp.py:10:
 DeprecationWarning: the MimeWriter module is deprecated; use the email
 package instead
   import MimeWriter, tempfile, rfc822
 /usr/local/lib/python2.6/dist-packages/calendarserver/tap/caldav.py:50:
 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
 Reading configuration from file: /etc/caldavd/caldavd.plist
 Removing stale pidfile /var/calendar/Logs/caldavd.pid
 2010-08-25 12:25:31+0200 [-] Log opened.
 2010-08-25 12:25:31+0200 [-] twistd 10.0.0 (/usr/bin/python 2.6.5)
 starting up.
 2010-08-25 12:25:31+0200 [-] reactor class:
 twisted.internet.selectreactor.SelectReactor.
 2010-08-25 12:25:31+0200 [-] /usr/lib/python2.6/dist-
 packages/twisted/application/internet.py:116:
 exceptions.DeprecationWarning: The mode parameter of
 IReactorUNIX.listenUNIX will be removed.  Do not pass a value for it.  Set
 permissions on the containing directory before calling
 IReactorUNIX.listenUNIX, instead.
 2010-08-25 12:25:31+0200 [-] calendarserver.accesslog.AMPLoggingFactory
 starting on "'/var/calendar/Logs/caldavd.sock'"
 2010-08-25 12:25:31+0200 [-] <class
 'twext.web2.metafd.LimitingInheritingProtocolFactory'> starting on 8008
 2010-08-25 12:25:31+0200 [-]
 calendarserver.tap.caldav.CalDAVStatisticsServer starting on
 "'/var/calendar/Logs/caldavd-stats.sock'"
 2010-08-25 12:25:31+0200 [-] Traceback (most recent call last):
 2010-08-25 12:25:31+0200 [-]   File "/usr/bin/twistd", line 19, in
 <module>
 2010-08-25 12:25:31+0200 [-]     run()
 2010-08-25 12:25:31+0200 [-]   File "/usr/lib/python2.6/dist-
 packages/twisted/scripts/twistd.py", line 27, in run
 2010-08-25 12:25:31+0200 [-]     app.run(runApp, ServerOptions)
 2010-08-25 12:25:31+0200 [-]   File "/usr/lib/python2.6/dist-
 packages/twisted/application/app.py", line 693, in run
 2010-08-25 12:25:31+0200 [-]     runApp(config)
 2010-08-25 12:25:31+0200 [-]   File "/usr/lib/python2.6/dist-
 packages/twisted/scripts/twistd.py", line 23, in runApp
 2010-08-25 12:25:31+0200 [-]     _SomeApplicationRunner(config).run()
 2010-08-25 12:25:31+0200 [-]   File "/usr/lib/python2.6/dist-
 packages/twisted/application/app.py", line 423, in run
 2010-08-25 12:25:31+0200 [-]     self.postApplication()
 2010-08-25 12:25:31+0200 [-]   File "/usr/lib/python2.6/dist-
 packages/twisted/scripts/_twistd_unix.py", line 205, in postApplication
 2010-08-25 12:25:31+0200 [-]     self.startApplication(self.application)
 2010-08-25 12:25:31+0200 [-]   File "/usr/lib/python2.6/dist-
 packages/twisted/scripts/_twistd_unix.py", line 317, in startApplication
 2010-08-25 12:25:31+0200 [-]     app.startApplication(application, not
 self.config['no_save'])
 2010-08-25 12:25:31+0200 [-]   File "/usr/lib/python2.6/dist-
 packages/twisted/application/app.py", line 713, in startApplication
 2010-08-25 12:25:31+0200 [-]
 service.IService(application).startService()
 2010-08-25 12:25:31+0200 [-]   File "/usr/lib/python2.6/dist-
 packages/twisted/application/service.py", line 278, in startService
 2010-08-25 12:25:31+0200 [-]     service.startService()
 2010-08-25 12:25:31+0200 [-]   File "/usr/lib/python2.6/dist-
 packages/twisted/application/service.py", line 278, in startService
 2010-08-25 12:25:31+0200 [-]     service.startService()
 2010-08-25 12:25:31+0200 [-]   File "/usr/local/lib/python2.6/dist-
 packages/txdav/datastore/subpostgres.py", line 401, in startService
 2010-08-25 12:25:31+0200 [-]     initdb = which("initdb")[0]
 2010-08-25 12:25:31+0200 [-] IndexError: list index out of range
 clemens at hermann:/etc/caldavd$
 }}}

--

-- 
Ticket URL: <http://trac.calendarserver.org/ticket/397#comment:5>
Calendar and Contacts Server </>
HTTP/WebDAV/CalDAV Server


More information about the calendarserver-dev mailing list