nginx-rtmp-module icon indicating copy to clipboard operation
nginx-rtmp-module copied to clipboard

"exec" error on osx

Open myso-kr opened this issue 8 years ago • 2 comments

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)

myso-kr avatar Mar 15 '17 11:03 myso-kr

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.

DrWig avatar Apr 10 '17 13:04 DrWig

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?

Lukas1h avatar Mar 02 '24 23:03 Lukas1h