My Apache server stop working after UPDATES

Installing, Configuring, Troubleshooting server daemons such as Web and Mail
Post Reply
jauhari
Posts: 8
Joined: 2007/07/25 02:49:57
Contact:

My Apache server stop working after UPDATES

Post by jauhari » 2007/07/25 03:38:00

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.

RemiFedora
Posts: 19
Joined: 2007/05/10 17:13:40
Location: Champagne...
Contact:

My Apache server stop working after UPDATES

Post by RemiFedora » 2007/07/25 06:53:37

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 ;)

jauhari
Posts: 8
Joined: 2007/07/25 02:49:57
Contact:

Re: My Apache server stop working after UPDATES

Post by jauhari » 2007/07/25 07:28:29

[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

sonjit4
Posts: 1
Joined: 2007/08/19 17:51:52
Location: Seoul, Korea
Contact:

Re: My Apache server stop working after UPDATES

Post by sonjit4 » 2007/08/20 12:57:58

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~

Post Reply