[Calendarserver-maintainers] Bug#567481: calendarserver: Calendar server can't start on lenny

Sergi Barroso hiroru at lionclan.org
Fri Jan 29 11:18:41 UTC 2010


Package: calendarserver
Version: 1.2.dfsg-8
Severity: important

After installing calendarserver in my lenny installation, and using example accounts.xml and sudoers.plist I tried to start server with -X options (log in console) and this is my output:

Starting calendarserver: caldavd2010-01-29 11:03:42+0000 [-] Log opened.
2010-01-29 11:03:42+0000 [-] twistd 8.1.0 (/usr/bin/python 2.5.2) starting up
2010-01-29 11:03:42+0000 [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'>
2010-01-29 11:03:42+0000 [-] twistedcaldav.logging.AMPLoggingFactory starting on "'/var/run/caldavd/caldavd.socket'"
2010-01-29 11:03:42+0000 [-] [caldav-8008] /usr/lib/python2.5/site-packages/twisted/plugins/twisted_web2.py:22: 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.
2010-01-29 11:03:42+0000 [-] [caldav-8008]   from twisted.scripts.mktap import _tapHelper
2010-01-29 11:03:42+0000 [-] [caldav-8008] Traceback (most recent call last):
2010-01-29 11:03:42+0000 [-] [caldav-8008]   File "/usr/bin/twistd", line 21, in <module>
2010-01-29 11:03:42+0000 [-] [caldav-8008]     run()
2010-01-29 11:03:42+0000 [-] [caldav-8008]   File "/usr/lib/python2.5/site-packages/twisted/scripts/twistd.py", line 27, in run
2010-01-29 11:03:42+0000 [-] [caldav-8008]     app.run(runApp, ServerOptions)
2010-01-29 11:03:42+0000 [-] [caldav-8008]   File "/usr/lib/python2.5/site-packages/twisted/application/app.py", line 614, in run
2010-01-29 11:03:42+0000 [-] [caldav-8008]     runApp(config)
2010-01-29 11:03:42+0000 [-] [caldav-8008]   File "/usr/lib/python2.5/site-packages/twisted/scripts/twistd.py", line 23, in runApp
2010-01-29 11:03:42+0000 [-] [caldav-8008]     _SomeApplicationRunner(config).run()
2010-01-29 11:03:42+0000 [-] [caldav-8008]   File "/usr/lib/python2.5/site-packages/twisted/application/app.py", line 330, in run
2010-01-29 11:03:42+0000 [-] [caldav-8008]     self.application = self.createOrGetApplication()
2010-01-29 11:03:42+0000 [-] [caldav-8008]   File "/usr/lib/python2.5/site-packages/twisted/application/app.py", line 411, in createOrGetApplication
2010-01-29 11:03:42+0000 [-] [caldav-8008]     ser = plg.makeService(self.config.subOptions)
2010-01-29 11:03:42+0000 [-] [caldav-8008]   File "/usr/lib/python2.5/site-packages/twistedcaldav/tap.py", line 749, in makeService
2010-01-29 11:03:42+0000 [-] [caldav-8008]     service = serviceMethod(options)
2010-01-29 11:03:42+0000 [-] [caldav-8008]   File "/usr/lib/python2.5/site-packages/twistedcaldav/tap.py", line 559, in makeService_Slave
2010-01-29 11:03:42+0000 [-] [caldav-8008]     root.setAccessControlList(davxml.ACL(*rootACEs))
2010-01-29 11:03:42+0000 [-] [caldav-8008]   File "/usr/lib/python2.5/site-packages/twisted/web2/dav/resource.py", line 790, in setAccessControlList
2010-01-29 11:03:42+0000 [-] [caldav-8008]     self.writeDeadProperty(acl)
2010-01-29 11:03:42+0000 [-] [caldav-8008]   File "/usr/lib/python2.5/site-packages/twisted/web2/dav/resource.py", line 497, in writeDeadProperty
2010-01-29 11:03:42+0000 [-] [caldav-8008]     self.deadProperties().set(property)
2010-01-29 11:03:42+0000 [-] [caldav-8008]   File "/usr/lib/python2.5/site-packages/twisted/web2/dav/xattrprops.py", line 125, in set
2010-01-29 11:03:42+0000 [-] [caldav-8008]     self.attrs[self._encode(property.qname())] = compress(property.toxml())
2010-01-29 11:03:42+0000 [-] [caldav-8008]   File "/var/lib/python-support/python2.5/xattr/__init__.py", line 115, in __setitem__
2010-01-29 11:03:42+0000 [-] [caldav-8008]     self.set(item, value)
2010-01-29 11:03:42+0000 [-] [caldav-8008]   File "/var/lib/python-support/python2.5/xattr/__init__.py", line 81, in set
2010-01-29 11:03:42+0000 [-] [caldav-8008]     self._set(name, value, 0, options | self.options)
2010-01-29 11:03:42+0000 [-] [caldav-8008]   File "/var/lib/python-support/python2.5/xattr/__init__.py", line 16, in _func
2010-01-29 11:03:42+0000 [-] [caldav-8008]     return func(first, *args)
2010-01-29 11:03:42+0000 [-] [caldav-8008] IOError: [Errno 95] Operation not supported: '/var/spool/caldavd'
2010-01-29 11:03:43+0000 [-] [caldav-8008] /usr/lib/python2.5/site-packages/twisted/plugins/twisted_web2.py:22: 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.

Servers stops running apparently with some xattr error in python library. I'm using openvz with simfs but fs it's ext3 with xattr enabled. I can create files using extended attributes like:

touch /var/spool/caldavd/a
chattr +iu /var/spool/caldavd/a
lsattr /var/spool/caldavd/a

And I have this output:
-u--i-------------- /var/spool/caldavd/a


I'm not sure about this bug it's from calendarserver, but /usr/lib/python2.5/site-packages/twisted/plugins/twisted_web2.py library comes from this package and not from python-twisted-web2.

Thanks


-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-openvz-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages calendarserver depends on:
ii  adduser                 3.110            add and remove users and groups
ii  lsb-base                3.2-20           Linux Standard Base 3.2 init scrip
ii  python                  2.5.2-3          An interactive high-level object-o
ii  python-central          0.6.14+nmu2      register and build utility for Pyt
ii  python-dateutil         1.4.1-2          powerful extensions to the standar
ii  python-kerberos         1.0+svn2455-1    A GSSAPI interface module for Pyth
ii  python-openssl          0.7-2            Python wrapper around the OpenSSL 
ii  python-pysqlite2        2.4.1-1          Python interface to SQLite 3
ii  python-twisted-calendar 0.2.0.svn19773-5 Twisted components for Apple's Cal
ii  python-vobject          0.6.0-1          parse iCalendar and VCards in Pyth
ii  python-xattr            0.4-4            module for manipulating filesystem
ii  python-xml              0.8.4-10.1       XML tools for Python
ii  ssl-cert                1.0.23           simple debconf wrapper for OpenSSL

calendarserver recommends no packages.

Versions of packages calendarserver suggests:
pn  python-pydirector             <none>     (no description available)

-- no debconf information





More information about the Calendarserver-maintainers mailing list