starting apache2- /etc/init.d/apache2 or /usr/sbin/apachectl

Alles, was den Apache betrifft, kann hier besprochen werden.

starting apache2- /etc/init.d/apache2 or /usr/sbin/apachectl

Postby josh6847 » 25. August 2008 00:54

I am using apache2 for my first time. if i type "/usr/sbin/apachectl start" no output is giving, but apache seems to work fine. if i type "/etc/init.d/apache2 start" then i get the following errors:

[Sun Aug 24 23:51:36 2008] [warn] module authn_file_module is already loaded, skipping
[Sun Aug 24 23:51:36 2008] [warn] module authz_host_module is already loaded, skipping
[Sun Aug 24 23:51:36 2008] [warn] module authz_groupfile_module is already loaded, skipping
[Sun Aug 24 23:51:36 2008] [warn] module authz_user_module is already loaded, skipping
[Sun Aug 24 23:51:36 2008] [warn] module authz_default_module is already loaded, skipping
[Sun Aug 24 23:51:36 2008] [warn] module auth_basic_module is already loaded, skipping
apache2: Syntax error on line 189 of /etc/apache2/apache2.conf: Syntax error on line 76 of /etc/apache2/httpd.conf: module log_config_module is built-in and can't be loaded

**which command is supposed to properly start apache?

thanks
josh6847
 
Posts: 5
Joined: 07. August 2008 18:45

Postby glitzi85 » 25. August 2008 16:16

You should correct your Apache configuration file before starting Apache, there is no command to do this.

You are trying to load a module (via mod_so) into Apache which is compiled in while bulding the Apache. Try to find out where your httpd executable is (whereis httpd) and call it with parameter -l, Then you get a list of modules compiled in. Those modules you can NOT load in your configuration file. Clean up your file and all should work.

glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim


Return to Apache

Who is online

Users browsing this forum: No registered users and 35 guests