Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nginx does not work on ARMv5 EABI legacy: close(0) = -1 EBADF (Bad file descriptor) #324

Open
stalchuk opened this issue Mar 21, 2019 · 1 comment

Comments

@stalchuk
Copy link
Contributor

  • Platform: ARMv5 EABI legacy
  • Arch: armv5tejl
  • Linux: 2.6.24.4
nginx -t
nginx: the configuration file /opt/etc/nginx/nginx.conf syntax is ok
nginx: configuration file /opt/etc/nginx/nginx.conf test is successful

Steps to reproduce:

  1. Open default page http://<DEVICE_IP>:8082
  2. Check logs

AR: Infinite loop of:

write(5, "2019/02/07 18:14:52 [alert] 3129"..., 84) = 84
epoll_wait(0x9, 0x102948, 0x200, 0xffffffff) = 1
gettimeofday({1549552492, 126676}, NULL) = 0
close(0) = -1 EBADF (Bad file descriptor)
@stalchuk
Copy link
Contributor Author

sed -i -e 's@#define NGX_HAVE_ACCEPT4 1@#define NGX_HAVE_ACCEPT4 0@' $(@D)/objs/ngx_auto_config.h

seems to do the trick )

stalchuk added a commit to stalchuk/Optware-ng that referenced this issue Jan 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant