Hi Team, I have bit of problem.
I was successfully install Centos 5 and in the first time my HTTPD server running ok. After that I try to Update my Centos with Software updater and the updater running success too.
After reboot my server why my Apache/HTTPD web server stop working.
When I try to start it I got this message
+++++
httpd failed. The error was: Starting httpd: httpd: Syntax error on line 176 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_access.so into server: /etc/httpd/modules/mod_access.so: cannot open shared object file: No such file or directory
[FAILED]
+++++
What's wrong?
And How to fix it?
I was try to see on my /etc/httpd/modules/ folder and I was see all my modules at there.
Please help.
My Apache server stop working after UPDATES
-
- Posts: 19
- Joined: 2007/05/10 17:13:40
- Location: Champagne...
- Contact:
My Apache server stop working after UPDATES
It seems that you are running a configuration file for apache 2.0 (mod_access is deprecated on apache 2.2).
Look for a /etc/httpd/conf/httpd.conf.rpmnew a compare it to your config.
I think that editing the httpd.conf is a very bad idea, because that prevent the update of this file.
If you need to change options, it's a better solution to create a file for your site in /etc/httpd/conf.d.
This make upgrade or move to a new hardware really easier.
Remi.
P.S. you can also delete line 176 ;)
Look for a /etc/httpd/conf/httpd.conf.rpmnew a compare it to your config.
I think that editing the httpd.conf is a very bad idea, because that prevent the update of this file.
If you need to change options, it's a better solution to create a file for your site in /etc/httpd/conf.d.
This make upgrade or move to a new hardware really easier.
Remi.
P.S. you can also delete line 176 ;)
Re: My Apache server stop working after UPDATES
[quote]
RemiFedora wrote:
It seems that you are running a configuration file for apache 2.0 (mod_access is deprecated on apache 2.2).
Look for a /etc/httpd/conf/httpd.conf.rpmnew a compare it to your config.
I think that editing the httpd.conf is a very bad idea, because that prevent the update of this file.
If you need to change options, it's a better solution to create a file for your site in /etc/httpd/conf.d.
This make upgrade or move to a new hardware really easier.
Remi.
P.S. you can also delete line 176 ;)[/quote]
Thanks for you reply Remi
But I still newbie here, can you give me instruction step by step to do it?
you tell me about conf.d and I don't understand with it.
Please tell me what should I do and fix my problem
Cheers
Jauhari
RemiFedora wrote:
It seems that you are running a configuration file for apache 2.0 (mod_access is deprecated on apache 2.2).
Look for a /etc/httpd/conf/httpd.conf.rpmnew a compare it to your config.
I think that editing the httpd.conf is a very bad idea, because that prevent the update of this file.
If you need to change options, it's a better solution to create a file for your site in /etc/httpd/conf.d.
This make upgrade or move to a new hardware really easier.
Remi.
P.S. you can also delete line 176 ;)[/quote]
Thanks for you reply Remi
But I still newbie here, can you give me instruction step by step to do it?
you tell me about conf.d and I don't understand with it.
Please tell me what should I do and fix my problem
Cheers
Jauhari
Re: My Apache server stop working after UPDATES
HI~
I had the problem lile you too.
Because I am beginner with linux(centos), I can't explain you with this problem.
But I fixed this problem.
If you look at this folder(/etc/httpd/conf), you will find httpd.conf and httpd.conf.bak.
first, delete httpd.conf, and changed httpd.conf.bak to httpd.conf.
Have a good day~
I had the problem lile you too.
Because I am beginner with linux(centos), I can't explain you with this problem.
But I fixed this problem.
If you look at this folder(/etc/httpd/conf), you will find httpd.conf and httpd.conf.bak.
first, delete httpd.conf, and changed httpd.conf.bak to httpd.conf.
Have a good day~