nginx-rtmp-module
nginx-rtmp-module copied to clipboard
"exec" error on osx
Nginx Version
$ nginx -V
nginx version: nginx/1.11.5
built by clang 8.0.0 (clang-800.0.42.1)
built with OpenSSL 1.0.2k 26 Jan 2017
TLS SNI support enabled
configure arguments: --prefix=/usr/local/Cellar/nginx-full/1.11.5 --with-http_ssl_module --with-pcre --with-ipv6 --sbin-path=/usr/local/Cellar/nginx-full/1.11.5/bin/nginx --with-cc-opt='-I/usr/local/include -I/usr/local/opt/pcre/include -I/usr/local/opt/openssl/include' --with-ld-opt='-L/usr/local/lib -L/usr/local/opt/pcre/lib -L/usr/local/opt/openssl/lib' --conf-path=/usr/local/etc/nginx/nginx.conf --pid-path=/usr/local/var/run/nginx.pid --lock-path=/usr/local/var/run/nginx.lock --http-client-body-temp-path=/usr/local/var/run/nginx/client_body_temp --http-proxy-temp-path=/usr/local/var/run/nginx/proxy_temp --http-fastcgi-temp-path=/usr/local/var/run/nginx/fastcgi_temp --http-uwsgi-temp-path=/usr/local/var/run/nginx/uwsgi_temp --http-scgi-temp-path=/usr/local/var/run/nginx/scgi_temp --http-log-path=/usr/local/var/log/nginx/access.log --error-log-path=/usr/local/var/log/nginx/error.log --with-debug --add-module=/usr/local/share/rtmp-nginx-module
Trace Log
https://www.dropbox.com/s/vl2kgxd97c9p0do/trace.txt?dl=0
nginx.conf
application live {
live on;
exec /usr/local/bin/ffmpeg -version
}
error.log
2017/03/15 20:45:40 [alert] 44500#0: kevent() error on 14 filter:-1 flags:4002 (2: No such file or directory)
2017/03/15 20:45:45 [alert] 44500#0: kevent() error on 14 filter:-1 flags:4002 (2: No such file or directory)
2017/03/15 20:45:50 [alert] 44500#0: kevent() error on 14 filter:-1 flags:4002 (2: No such file or directory)
2017/03/15 20:45:55 [alert] 44500#0: kevent() error on 14 filter:-1 flags:4002 (2: No such file or directory)
2017/03/15 20:46:00 [alert] 44500#0: kevent() error on 14 filter:-1 flags:4002 (2: No such file or directory)
I'm having similar issues. I just can't get any 'exec' commands to happen successfully. I was getting 'bad file descriptor' errors, now (after updating OSX) I'm getting the same 'No such file' errors as above.
I'm getting the same error unfortunately.
Whats interesting is it works correctly on one mac (MacOS 12.6.1, NGINX 1.25.4), but on the other, (MacOS 12.7.1, NGINX 1.25.4) it fails with the same errors as above.
Can anyone provide any info on this?