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

Cannot load modules/mod_wsgi.so into server: /local/apps/tcapp/apache/modules/mod_wsgi.so: cannot open shared object file: No such file or directory #881

Open
joythebest83 opened this issue Mar 22, 2024 · 1 comment

Comments

@joythebest83
Copy link

joythebest83 commented Mar 22, 2024

I am getting above mentioned error while restarting Apache. I have already entered
LoadModule wsgi_module modules/mod_wsgi.so in httpd.conf. I have installed wsgi_module via yum install command so that I don't need to worry about dependencies.

sudo yum -y install mod_wsgi

image

@GrahamDumpleton
Copy link
Owner

Obvious thing is whether the file /local/apps/tcapp/apache/modules/mod_wsgi.so actually exists.

One can though also get that misleading error when any shared library linked to the mod_wsgi.so file cannot be found when the dynamic linker is run.

What do you get when you run:

ls -las /local/apps/tcapp/apache/modules/mod_wsgi.so

and:

ldd /local/apps/tcapp/apache/modules/mod_wsgi.so

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

2 participants