Apache - cannot open shared object file: No such file or directory
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Apache - cannot open shared object file: No such file or directory
Hey,
I've just purchased a dedicated web-hosting server that had nothing installed on it. So I went there and installed a standard CentOS 5 distro on it, but when I try to do a 'service httpd start' I get the following error:
Code:
Starting httpd: httpd: Syntax error on line 171 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_auth.so into server: /etc/httpd/modules/mod_auth.so: cannot open shared object file: No such file or directory
[FAILED]
I've tried to comment out that mod but it does the same with the next, I have no idea why it won't work. It's brand new installed and since the installation I never managed to get it working at all.
Well no, I've looked in '/etc/httpd/modules' and there I only found "mod_auth_basic.so,mod_auth_digest.so" for mod_auth.
I really don't know why a fresh install of apache would reference inexistent modules, but that's that.
I see that 'mod_auth_digest.so' is already in the httpd.conf, should I add mod_auth_basic instead of mod auth? IF so can you please point me to where can I find the necessary syntax?
It seems that the guys over there say it's a problem with the GUI editor for the httpd.conf in the 5.1 distro of CentOS.
Quote:
After trying some things, found that the GUI creates a .bak of the original httpd.conf file. The .bak file is for Apache 2.2. Quick renames and the default page will open after successfully starting httpd. Now just a matter of editing the httpd.conf to point to where I really need. So it appears the GUI interface for httpd configuration is not appropriate for use in this release.
The problem is that they don't give an exact resolution to this and I don't know exactly how to edit the httpd configuration file so that it points correctly and apache starts.
Can you point me to some resources so that I can make apache work?
well it states that a bak would be made, so you should be able to just revert to that. alternatively if you've not used apache at all yet, just remove and reinstall it if you get in a mess. Another alternative could be to only use the 2.0 branch and the gui tool should still work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.