Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: bowhited on September 10, 2012, 05:16:34 PM
-
Newbie here, I came in to work this morning to a continuous error message - Cannot load /etc/httpd/modules/mod_env.so into server: /etc/httpd/modules/mod_env.so: cannot open shared object file: no such file or directory.
When I stop the web service the message stops appearing. I then changed directories to /etc/httpd. I can see the modules folder, but it is white letters with red background. I cannot cd to the folder. When I ls -l, it lists the folder but it is shown in red like this: modules -> ../actions/nagios-delete-dumped-config
What went wrong and how do I resolve the issue?
-
Here's what I get from ls -l /etc/httpd/ (SME 8.0):
total 12
drwxr-xr-x 2 root root 4096 Sep 10 04:02 admin-conf
drwxr-xr-x 3 root root 4096 Sep 10 04:03 conf
drwxr-xr-x 2 root root 4096 Aug 1 15:50 conf.d
lrwxrwxrwx 1 root root 19 Feb 19 2012 logs -> ../../var/log/httpd
lrwxrwxrwx 1 root root 27 Feb 19 2012 modules -> ../../usr/lib/httpd/modules
lrwxrwxrwx 1 root root 13 Feb 19 2012 run -> ../../var/run
lrwxrwxrwx 1 root root 21 May 28 10:10 state -> ../../var/state/httpd
Perhaps if you re-link modules to ../../usr/lib/httpd/modules your web server will start working:
cd /etc/httpd
ln -sf ../../usr/lib/httpd/modules modules
(note: if I run the above command without including the "f" argument, I get a red symlink to "modules" inside ../../usr/lib/httpd/modules)
-
What went wrong...
Don't know -- possibly a script or command run from the wrong folder?
-
Re-linking the modules worked! Thank you!
-
What went wrong ...
Probably something related to installing nagios.