You are not logged in.

#1 2007-01-25 23:31:19

nadavvin
Member
Registered: 2006-11-29
Posts: 105

Apache can't start.

I installed apache but it isn't want to start:

# /etc/rc.d/httpd stop
:: Stopping HTTP Daemon                                                  [DONE] 
[root@myhost ~]# /etc/rc.d/httpd stop
:: Stopping HTTP Daemon                                                  [DONE] 
[root@myhost ~]# /etc/rc.d/httpd start
:: Starting HTTP Daemon                                                  [FAIL] 

What is the problem?

Offline

#2 2007-01-26 10:56:14

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Re: Apache can't start.

cat /etc/httpd/logs/error_log

Most likely you'll need to comment out
/etc/httpd/conf/httpd.conf

#LoadModule unique_id_module        modules/mod_unique_id.so
#LoadModule cache_module            modules/mod_cache.so
#LoadModule disk_cache_module       modules/mod_disk_cache.so
#LoadModule mem_cache_module        modules/mod_mem_cache.so
#LoadModule dbd_module              modules/mod_dbd.so

// STi


Ability is nothing without opportunity.

Offline

#3 2007-01-26 12:29:23

nadavvin
Member
Registered: 2006-11-29
Posts: 105

Re: Apache can't start.

I did this but I still have errors and apache not start:

[Fri Jan 26 14:29:26 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Jan 26 14:29:26 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/bin/suexec)
[Fri Jan 26 14:29:26 2007] [alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "myhost"
Configuration Failed

Offline

#4 2007-01-26 12:44:34

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,694
Website

Re: Apache can't start.

comment out in /etc/httpd/conf/httpd.conf the line that reads:

LoadModule unique_id_module        modules/mod_unique_id.so

Or install mod_unuque_id

R.

Offline

#5 2007-01-26 12:48:40

nadavvin
Member
Registered: 2006-11-29
Posts: 105

Re: Apache can't start.

but it is comment out:

LoadModule suexec_module           modules/mod_suexec.so
LoadModule unique_id_module        modules/mod_unique_id.so
LoadModule userdir_module          modules/mod_userdir.so
LoadModule usertrack_module        modules/mod_usertrack.so
LoadModule version_module          modules/mod_version.so
LoadModule vhost_alias_module      modules/mod_vhost_alias.so
LoadModule cache_module            modules/mod_cache.so
LoadModule disk_cache_module       modules/mod_disk_cache.so
LoadModule mem_cache_module        modules/mod_mem_cache.so
LoadModule php5_module             modules/libphp5.so
# p -S mod_unuque_id
mod_unuque_id: not found in sync db

[root@myhost ~]# p -Ss mod_unuque_id
[root@myhost ~]# 

Offline

#6 2007-01-26 13:00:57

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Apache can't start.

STiAT wrote:
#LoadModule unique_id_module        modules/mod_unique_id.so
nadavvin wrote:
LoadModule unique_id_module        modules/mod_unique_id.so

There's a difference.

Offline

#7 2007-01-26 13:35:57

nadavvin
Member
Registered: 2006-11-29
Posts: 105

Re: Apache can't start.

Thanks now it work.

Offline

#8 2007-01-26 18:02:20

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Re: Apache can't start.

Filed a bug report for this issue.
Should be commented out by default in my eyes.


Ability is nothing without opportunity.

Offline

#9 2007-01-26 20:38:43

nadavvin
Member
Registered: 2006-11-29
Posts: 105

Re: Apache can't start.

STiAT wrote:

Filed a bug report for this issue.
Should be commented out by default in my eyes.

But I don't remember how it was in the start.

part of them was in comment and since STiAT show in comment lines I thought that comment out is to remove comment.

after tomk message I comment the lines which mention and it worked.

Offline

#10 2007-05-08 13:39:16

aedonis
Member
Registered: 2007-05-08
Posts: 7

Re: Apache can't start.

i had same problem, it was not commented (mean with #) by default and my httpd couldn't start. this helped. thx

Offline

Board footer

Powered by FluxBB