[CalendarServer-users] calendarserver 3.2 on Debian unstable throwing error "socket.error: [Errno 22] Invalid argument" out of the box?

Tobias Balle-Petersen tobiasbp at gmail.com
Wed Jul 11 04:55:26 PDT 2012



Glyph Lefkowitz wrote:
> 
> My first guess would be "kernel bug".  Any chance you can test with an
> older kernel?
> 

For what it's worth, I have tried on the latest version of Ubuntu (Quantal
Quetzal/12.10/Testing) with the same result:

2012-07-11 13:46:58+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

This is an even newer kernel:
Linux sugawara 3.5.0-4-generic #4-Ubuntu SMP Mon Jul 9 22:31:58 UTC 2012
x86_64 x86_64 x86_64 GNU/Linux

My Debian Wheezy/Testing runs with this kernel:
Linux caldavd 3.2.0-3-amd64 #1 SMP Thu Jun 28 09:07:26 UTC 2012 x86_64
GNU/Linux

I should also mention, that both machines (Ubuntu & Debian testing) are
virtual machines (KVM) with a Debian Wheezy/Testing host.


Do you still suggest that I try an older kernel (I'm not familiar with the
procedure)?

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--tp34140527p34145134.html
Sent from the Calendar Server - Users mailing list archive at Nabble.com.



More information about the calendarserver-users mailing list