apache help

Posted on 2003-03-28
Medium Priority
Last Modified: 2013-12-15
i try to start apache(httpd) at start-up, but i get the following error,"[warn] NameVirtualHost 10.49.23:0 has no VirtualHosts

(98)Adress already in use: make_sock: couldnot bind to address
no listening sockets available, shutting down" i know about the first part, but what is wrong to make the last part happen. if i had money i would pay for this info but points will have to do.
Question by:JTWolfman

Author Comment

ID: 8228394
this was just after uninstalling coldfusion mx server

Accepted Solution

sigel1 earned 80 total points
ID: 8229504
Apache is a little tricky when you remove parts of it. Open your httpd.conf file.  Change it to
#NameVirtualHost *
see if that works for you.  I don't know if you use any virtual hosts.  But you probably aren't using it. If you still have problems add a # on the:
### Section 3: Virtual Hosts
# VirtualHost: If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
# Please see the documentation at <URL:http://www.apache.org/docs/vhosts/>
# for further details before you try to setup virtual hosts.
# You may use the command line option '-S' to verify your virtual host
# configuration.

# Use name-based virtual hosting.
#NameVirtualHost *

# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#<VirtualHost *>
#    ServerAdmin webmaster@dummy-host.example.com
#    DocumentRoot /www/docs/dummy-host.example.com
#    ServerName dummy-host.example.com
#    ErrorLog logs/dummy-host.example.com-error_log
#    CustomLog logs/dummy-host.example.com-access_log common

#<VirtualHost _default_:*>


Expert Comment

ID: 8278772
the last part (could not bind to address ...) means that apache could not use the address specified. have you specified an ip address in httpd.conf next to the Listen option? if so, try setting it to just the port (80) i.e.

Listen 80

or if you have multiple addresses, ensure you have one of your addresses listed there i.e.

Listen xxx.xxx.xxx.xxx:80

alternatively, ensure you have no other application already using port 80

Expert Comment

ID: 8287166
About (98)Adress already in use: make_sock: couldnot bind to address

ps -aux | grep nobody

If you have some processes using your apache directory, kill them and restart apache.

Expert Comment

ID: 8287777
i suspect the person doesn't care because he hasn't responded since 3/28

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month12 days, 17 hours left to enroll

580 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