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

Image tag 2.6.7-ldap fails to start, "libc not found" #179

Closed
ananace opened this issue Nov 10, 2019 · 2 comments
Closed

Image tag 2.6.7-ldap fails to start, "libc not found" #179

ananace opened this issue Nov 10, 2019 · 2 comments

Comments

@ananace
Copy link

ananace commented Nov 10, 2019

Error log;

[...]
0 static files copied to '/opt/netbox/netbox/static', 344 unmodified.
✅ Initialisation is done.
Traceback (most recent call last):
  File "/usr/local/bin/gunicorn", line 5, in <module>
    from gunicorn.app.wsgiapp import run
  File "/usr/local/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 9, in <module>
    from gunicorn.app.base import Application
  File "/usr/local/lib/python3.7/site-packages/gunicorn/app/base.py", line 12, in <module>
    from gunicorn.arbiter import Arbiter
  File "/usr/local/lib/python3.7/site-packages/gunicorn/arbiter.py", line 16, in <module>
    from gunicorn import sock, systemd, util
  File "/usr/local/lib/python3.7/site-packages/gunicorn/sock.py", line 14, in <module>
    from gunicorn.socketfromfd import fromfd
  File "/usr/local/lib/python3.7/site-packages/gunicorn/socketfromfd.py", line 26, in <module>
    raise OSError('libc not found')
OSError: libc not found

My preliminary googling on this seems to point to gunicorn version 20 being the culprit.

Image tag 2.6.6-ldap still seems to work fine.

@ananace ananace changed the title Container 2.6.7-ldap fails to start, "libc not found" Image tag 2.6.7-ldap fails to start, "libc not found" Nov 10, 2019
@MyIgel
Copy link

MyIgel commented Nov 10, 2019

Same for the current :latest

@tobiasge
Copy link
Member

tobiasge commented Nov 11, 2019

Thanks for the report. I think this is related to the new version of gunicorn. See: https://stackoverflow.com/questions/58786695/how-to-address-oserror-libc-not-found-raised-on-gunicorn-exec-of-flask-app-in

I will pin the version to one <20.0.0 for now.

tobiasge added a commit that referenced this issue Nov 11, 2019
cimnine added a commit that referenced this issue Nov 26, 2019
cimnine added a commit that referenced this issue Dec 10, 2019
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

3 participants