[Mon Apr 2 17:30:51 2007] [netplex.controller] [crit] Exception in
workload manager, function adjust: Unix.Unix_error(15, "socketpair", "")
I also got Unix.Unix_error(49, "", "") when trying to start the
nethttpd server example. Error 49 is "Cannot bind to an address", I
believe.
There's no problem running the examples on Linux.
Thanks, Joel
_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs
15 is EMFILE - too many file descriptors. Maybe you have to increase
some limit. Or this is a follow-up error.
> I also got Unix.Unix_error(49, "", "") when trying to start the
> nethttpd server example. Error 49 is "Cannot bind to an address", I
> believe.
No, 49 is EAFNOSUPPORT - address family not supported. I do not know
MacOS very much, but can it be some additional component needs to be
installed? Do you use an IPv4 or IPv6 address?
You can easily translate the numbers by:
# (Obj.magic 49:Unix.error);;
- : Unix.error = Unix.EAFNOSUPPORT
They are the same on all platforms.
> There's no problem running the examples on Linux.
Yeah, I'm primarily developing on Linux, but there is nothing
Linux-specific. From time to time I am testing on NetBSD or FreeBSD
which are quite similar to the MacOS kernel.
Gerd
--
------------------------------------------------------------
Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany
ge...@gerd-stolpmann.de http://www.gerd-stolpmann.de
Phone: +49-6151-153855 Fax: +49-6151-997714
------------------------------------------------------------
> No, 49 is EAFNOSUPPORT - address family not supported. I do not know
> MacOS very much, but can it be some additional component needs to be
> installed? Do you use an IPv4 or IPv6 address?
I disabled IPv6 in network preferences after getting this error but I
still get it.
I use IPv4 addressing.