Okay, I followed these directions on my Gentoo machine, leaving out the steps dealing with changing the DocumentRoot directory from its default,
You should not. You must set Document Root to a path corresponding to an XATTR supported partition. The error occuring in your log says it all : The operation in File "/home/jauty/xattr/build/lib.linux-
i686-2.4/xattr/__init__.py", line 16, in _func is not supported on '/home/jauty/CalendarServer/twistedcaldav/test/data'
Because it's not on an XATTR partition
but I do have support in my kernel for the necessary extended attributes:
# zgrep ATTR /proc/config.gz CONFIG_RAID_ATTRS=m CONFIG_SCSI_SPI_ATTRS=m CONFIG_SCSI_FC_ATTRS=m # CONFIG_SCSI_ISCSI_ATTRS is not set CONFIG_SCSI_SAS_ATTRS=m CONFIG_EXT2_FS_XATTR=y CONFIG_EXT3_FS_XATTR=y CONFIG_REISERFS_FS_XATTR=y # CONFIG_CIFS_XATTR is not set
my runtime error message is this:
# ./run 2007/01/30 14:56 -0400 [-] Log opened. 2007/01/30 14:56 -0400 [-] twistd 2.4.0+r18545 (/usr/bin/python 2.4.3) starting up 2007/01/30 14:56 -0400 [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'> 2007/01/30 14:56 -0400 [-] Setting up document root: twistedcaldav/ test/data/ 2007/01/30 14:56 -0400 [-] Traceback (most recent call last): 2007/01/30 14:56 -0400 [-] File "/home/jauty/Twisted/bin/twistd", line 21, in ? 2007/01/30 14:56 -0400 [-] run() 2007/01/30 14:56 -0400 [-] File "/home/jauty/Twisted/twisted/ scripts/twistd.py", line 27, in run 2007/01/30 14:56 -0400 [-] app.run(runApp, ServerOptions) 2007/01/30 14:56 -0400 [-] File "/home/jauty/Twisted/twisted/ application/app.py", line 365, in run 2007/01/30 14:56 -0400 [-] runApp(config) 2007/01/30 14:56 -0400 [-] File "/home/jauty/Twisted/twisted/ scripts/twistd.py", line 23, in runApp 2007/01/30 14:56 -0400 [-] _SomeApplicationRunner(config).run() 2007/01/30 14:56 -0400 [-] File "/home/jauty/Twisted/twisted/ application/app.py", line 174, in run 2007/01/30 14:56 -0400 [-] self.application = self.createOrGetApplication() 2007/01/30 14:56 -0400 [-] File "/home/jauty/Twisted/twisted/ application/app.py", line 219, in createOrGetApplication 2007/01/30 14:56 -0400 [-] ser = plg.makeService (self.config.subOptions) 2007/01/30 14:56 -0400 [-] File "/home/jauty/CalendarServer/ twistedcaldav/tap.py", line 334, in makeService 2007/01/30 14:56 -0400 [-] return serviceMethod(options) 2007/01/30 14:56 -0400 [-] File "/home/jauty/CalendarServer/ twistedcaldav/tap.py", line 238, in makeService_singleprocess 2007/01/30 14:56 -0400 [-] root.setAccessControlList(davxml.ACL (*rootACEs)) 2007/01/30 14:56 -0400 [-] File "/home/jauty/Twisted/twisted/web2/ dav/resource.py", line 789, in setAccessControlList 2007/01/30 14:56 -0400 [-] self.writeDeadProperty(acl) 2007/01/30 14:56 -0400 [-] File "/home/jauty/Twisted/twisted/web2/ dav/resource.py", line 496, in writeDeadProperty 2007/01/30 14:56 -0400 [-] self.deadProperties().set(property) 2007/01/30 14:56 -0400 [-] File "/home/jauty/Twisted/twisted/web2/ dav/xattrprops.py", line 104, in set 2007/01/30 14:56 -0400 [-] self.attrs[self._encode(property.qname ())] = property.toxml() 2007/01/30 14:56 -0400 [-] File "/home/jauty/xattr/build/lib.linux- i686-2.4/xattr/__init__.py", line 115, in __setitem__ 2007/01/30 14:56 -0400 [-] self.set(item, value) 2007/01/30 14:56 -0400 [-] File "/home/jauty/xattr/build/lib.linux- i686-2.4/xattr/__init__.py", line 81, in set 2007/01/30 14:56 -0400 [-] self._set(name, value, 0, options | self.options) 2007/01/30 14:56 -0400 [-] File "/home/jauty/xattr/build/lib.linux- i686-2.4/xattr/__init__.py", line 16, in _func 2007/01/30 14:56 -0400 [-] return func(first, *args) 2007/01/30 14:56 -0400 [-] IOError: [Errno 95] Operation not supported: '/home/jauty/CalendarServer/twistedcaldav/test/data'
I'm running the run command as root (there doesn't appear to be any config options for changing what user the server runs as)...
Any ideas what is wrong here?
Thanks in advance for your help!
On Jan 28, 2007, at 8:16 AM, mwacker@linagora.com wrote:
I've put my Linux install procedure in joined document.
I hope it 'll be helpfull for others.
Maybe if it works it would have his place on the wiki.
Thanks for all developpers to make it possible. <LinuxBuildAndRun-DarwinCalendarServer> _______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/calendarserver-users
----------- Joe Auty NetMusician: web publishing software for musicians http://www.netmusician.org joe@netmusician.org