[CalendarServer-users] calendarserver 3.2 on Debian unstable throwing error "socket.error: [Errno 22] Invalid argument" out of the box?
Chris Cleeland
chris.cleeland at gmail.com
Wed Jul 11 06:13:25 PDT 2012
Based on the commit message here:
https://trac.calendarserver.org/browser/CalendarServer/trunk/twext/python/sendfd.py
it sounds like you might be able to disable this feature.
I notice that the stack trace goes through the 'twisted' package. I'm not
familiar with that package, but perhaps the source for it contains
unit/feature tests and you could try running those?
On Wed, Jul 11, 2012 at 7:29 AM, Tobias Balle-Petersen
<tobiasbp at gmail.com>wrote:
>
>
> Glyph Lefkowitz wrote:
> >
> > My first guess would be "kernel bug". Any chance you can test with an
> > older kernel?
> >
>
> I have now installed an older kernel on my Debian Wheezy:
> Linux caldavd 2.6.32-5-amd64 #1 SMP Sun May 6 04:00:17 UTC 2012 x86_64
> GNU/Linux
>
>
> Connection to port 8008 on the machine still gives me this error:
>
> 2012-07-11 14:27:24+0200 [-] Unhandled Error
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/twisted/python/log.py",
> line 84,
> in callWithLogger
> return callWithContext({"system": lp}, func, *args, **kw)
> File "/usr/lib/python2.7/dist-packages/twisted/python/log.py",
> line 69,
> in callWithContext
> return context.call({ILogContext: newCtx}, func, *args, **kw)
> File
> "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line
> 118, in callWithContext
> return self.currentContext().callWithContext(ctx, func, *args,
> **kw)
> File
> "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line
> 81, in callWithContext
> return func(*args,**kw)
> --- <exception caught here> ---
> File
> "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py",
> line 591, in _doReadOrWrite
> why = selectable.doWrite()
> File
> "/usr/lib/python2.7/dist-packages/twext/internet/sendfdport.py",
> line 139, in doWrite
> sendfd(self.skt.fileno(), skt.fileno(), desc)
> File "/usr/lib/python2.7/dist-packages/twext/python/sendfd.py",
> line 42,
> in sendfd
> socketfd, description, 0, [(SOL_SOCKET, SCM_RIGHTS, pack("i",
> fd))]
> socket.error: [Errno 22] Invalid argument
>
> Regards,
> Tobias Balle-Petersen
> --
> View this message in context:
> http://old.nabble.com/calendarserver-3.2-on-Debian-unstable-throwing-error-%22socket.error%3A--Errno-22--Invalid-argument%22-out-of-the-box--tp34140527p34145320.html
> Sent from the Calendar Server - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> calendarserver-users mailing list
> calendarserver-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/calendarserver-users
>
--
Chris Cleeland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-users/attachments/20120711/70904cac/attachment-0001.html>
More information about the calendarserver-users
mailing list