[CalendarServer-users] Couldn't listen onany:logs/caldavd.sock: [Errno 22] Invalid argument.

Holland, John John.Holland at cellent-fs.de
Wed Jun 8 22:35:49 PDT 2011


On 09.06.2011, at 07:25, "Scott Cherf" <cherf at ambient-light.com> wrote:
> Using the fresh python 2.6 installed at /opt/local/bin/python I observed the following:
> 
> [alphonse:tags/release/Twisted] cherf% python
> Python 2.6.6 (r266:84292, Jun  8 2011, 18:50:17) 
> [GCC 4.2.1 (Apple Inc. build 5646)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import socket
> >>> skt = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
> >>> skt.bind("some.socket")
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "<string>", line 1, in bind
> socket.error: [Errno 22] Invalid argument
> >>> 

I believe your using pythons bind incorrectly. Have a look at http://docs.python.org/release/2.6.6/library/socket.html
___________________________________

Cellent Finance Solutions AG

Firmensitz: Calwer Straße 33, 70173 Stuttgart
Registergericht: Amtsgericht Stuttgart, HRB 720743
Vorstand: Thomas Wild
Vorsitzender des Aufsichtsrats: Rudolf Zipf


More information about the calendarserver-users mailing list