Windows Subsystem for Linux and nginx: [alert] ioctl(FIOASYNC) failed on socketpair while initializing push stream module (22: Invalid argument)

93 views
Skip to first unread message

Brian Stanley

unread,
Dec 28, 2016, 10:40:35 PM12/28/16
to nginxpushstream
I am using the Windows Subsystem for Linux on Windows 10 x64. I am able to get nginx up and running normally without this module but I seem to be unable to get the service to start after I added the nginx-push-stream-module. I recompiled nginx from source version 1.10.1 and mostly following this guide to recompile nginx with additional modules. My nginx -V output is as follows:

$ sudo nginx -V
nginx version: nginx/1.10.1
built with OpenSSL 1.0.2j  26 Sep 2016
TLS SNI support enabled
configure arguments: --with-cc-opt='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now' --prefix=/usr/share/nginx --conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --modules-path=/usr/lib/nginx/modules --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --with-debug --with-pcre-jit --with-ipv6 --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_auth_request_module --with-http_v2_module --with-http_dav_module --with-http_slice_module --with-threads --with-http_addition_module --with-http_geoip_module=dynamic --with-http_gunzip_module --with-http_gzip_static_module --with-http_image_filter_module=dynamic --with-http_sub_module --with-http_xslt_module=dynamic --with-stream=dynamic --with-stream_ssl_module --with-mail=dynamic --with-mail_ssl_module --add-dynamic-module=/opt/rebuildnginx/nginx-1.10.1/debian/modules/nginx-auth-pam --add-module=/opt/rebuildnginx/nginx-1.10.1/debian/modules/nginx-dav-ext-module --add-dynamic-module=/opt/rebuildnginx/nginx-1.10.1/debian/modules/nginx-echo --add-dynamic-module=/opt/rebuildnginx/nginx-1.10.1/debian/modules/nginx-upstream-fair --add-dynamic-module=/opt/rebuildnginx/nginx-1.10.1/debian/modules/ngx_http_substitutions_filter_module --add-module=/opt/nginx-push-stream-module

When I run sudo nginx -t I get the following error:

$ sudo nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: [alert] ioctl(FIOASYNC) failed on socketpair while initializing push stream module (22: Invalid argument)

I have no idea where to start with this one. I am thinking it may be unique to WSL since I can't find anyone else really having this issue except for when they forget to add the module to nginx. Any help would be greatly appreciated. Thank you!

Wandenberg Peixoto

unread,
Jan 15, 2017, 7:29:38 AM1/15/17
to nginxpu...@googlegroups.com
Hi Brian,

I don't know much about the WSL, but seems that it isn't totally compatible with unix and do not support the calls that the module uses to create connections between the nginx workers.
The module was developed and tested to "real" unix. I never tested in the WSL and don't see value in making the module working on it.

Kind regards,
Wandenberg

--
You received this message because you are subscribed to the Google Groups "nginxpushstream" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nginxpushstream+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages