LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Apache stoped working (https://www.linuxquestions.org/questions/linux-general-1/apache-stoped-working-279440/)

letsinstalllinu 01-18-2005 04:30 PM

Apache stoped working
 
Hey.

I powered my machine, loaded linux and tried to access localhost. It doesn't work.

I went to the shell, typed "httpd" and it said that...

Code:


Syntax error on line 205 of /etc/apache/httpd.conf:
Cannot load /usr/libexec/apache/mod_vhost_alias.so into server:
/usr/libexec/apache/mod_vhost_alias.so: cannot open shared object file:
No such file or directory

I went to that file and commented out that line.

Then I ran the "httpd" again and the same error but in the next line. Tried logging out, rebooting, changing the user... nothing worked.


This was working a few weeks ago. I haven't been using Linux...


Any ideias on how to fix this?

Thanks for your help.

letsinstalllinu 01-18-2005 04:43 PM

Well I saved the httpd.conf.default file as httpd.conf and now it works.

Don't know why the other got corrupted.

letsinstalllinu 01-18-2005 05:07 PM

Now I was configuring the file again and...

Code:

Cannot load /usr/libexec/apache/libphp4.so into server:
/usr/libexec/apache/libphp4.so: cannot open shared object file: No such file or
directory



All times are GMT -5. The time now is 06:09 PM.