Apache2 log_config_module : starting apache2 webserver.

Posted on 2007-10-08
Last Modified: 2013-12-16
 I am running an application in my webserver. I restarted my OS (SUSE Enterprise linux 10.1) and then when I tried to run apache2 I get this error.

bioch2022:/usr/local/ensembl # httpd2 -d /usr/local/ensembl
[Mon Oct 08 12:45:48 2007] [warn] module log_config_module is already loaded, skipping
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address
no listening sockets available, shutting down
Unable to open logs

I have cleared the files from the log directory and yet I am getting this error.

Can someone help me find out what is going wrong in this and how I would run the server.

Question by:haravallabhan
    LVL 9

    Accepted Solution

    Looks like some other process is binding to port 80 or may be apache2 is already running.

    Before you start apache server try as root :
    netstat -atp  | grep 80

    This will show you what process is binding to port 80. Then you can either stop it or if it is apache2, you know it is already started.
    LVL 15

    Assisted Solution

    i would agree with sanjooz on another apache may be running.

    from my past experience with suse (and some other linux flav.) apache tend to be a common apps that would be installed by default -- especially when you select "server" mode during installation.

    check the folder /etc/init.d/ and see if there is any startup script called httpd2. If there is, then probably apache2 (that comes with SLES) may already be running.  If this is the cases, do a "/etc/init.d/httpd2 stop", and try to start your custom apache.

    another thing to look at would be the apache config.  Check if there are duplicate "Listen" directive that bind to the same port 80 (on the same interface).  This is another common cause for this error.

    LVL 1

    Expert Comment

    Forced accept.

    EE Admin

    Featured Post

    Network it in WD Red

    There's an industry-leading WD Red drive for every compatible NAS system to help fulfill your data storage needs. With drives up to 8TB, WD Red offers a wide array of solutions for customers looking to build the biggest, best-performing NAS storage solution.  

    Join & Write a Comment

    If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
    The purpose of this article is to demonstrate how we can use conditional statements using Python.
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to moveā€¦

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now