Add new comment

Want to support HowtoForge? Become a subscriber!
Submitted by Rodriog Ristow (not registered) on Wed, 2009-09-30 21:49.
  • Problem wenn running apache:

/etc/init.d/apache2 start

or:

/usr/sbin/rcapache2 restart


linux-7hrh:/etc # /usr/sbin/rcapache2 restart

Module "include" is not installed, ignoring.

Check the APACHE_MODULES setting in /etc/sysconfig/apache2.

Module "mod_log_config" is not installed, ignoring.

Check the APACHE_MODULES setting in /etc/sysconfig/apache2.

Syntax error on line 11 of /etc/apache2/mod_log_config.conf:


ok, you have a problem loading include and mod_log_config modules. If you take a look at: /etc/apache2/httpd.conf you'll find where the modules are loaded:

(..)
# generated from APACHE_MODULES in /etc/sysconfig/apache2

Include /etc/apache2/sysconfig.d/loadmodule.conf

(..)

The file /etc/apache2/sysconfig.d/loadmodule.conf has:

(...)

#

# Files in this directory are created at apache start time by /usr/sbin/rcapache2

# Do not edit them!

#

# as listed in APACHE_MODULES (/etc/sysconfig/apache2)

LoadModule actions_module /usr/lib/apache2-worker/mod_actions.so

LoadModule alias_module /usr/lib/apache2-worker/mod_alias.soLoadModule actions_module /usr/lib/apache2-worker/mod_actions.so

LoadModule alias_module /usr/lib/apache2-worker/mod_alias.so

LoadModule auth_basic_module /usr/lib/apache2-worker/mod_auth_basic.so

(...)


Did you read the comments? , than go to: /etc/sysconfig/apache2:

(...)

# your settings

APACHE_MODULES="actions alias auth_... include mod_log_config"

(...)


Now you have a trace of all files and can find out whats wrong.

In my case the lines:

LoadModule include_module /usr/lib/apache2-worker/mod_include.so

LoadModule log_config_module /usr/lib/apache2-worker/mod_log_config.so

were missed. Of course, for this reason I received the original error message.

The problem must to be with the file:

/usr/lib/apache2-worker/mod_include.so

I deleted it and reinstall apache and everything works again!!!!

Good Lock for you to!


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.

Reply

*
*
The content of this field is kept private and will not be shown publicly.


*

  • Images can be added to this post.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <div>
  • Lines and paragraphs break automatically.