Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm fairly new to Apache and to Linux. I'm trying to configure Apache to host a website. I've set up the information as best I can, but I get an error every time I try to start the httpd service. Maybe someone can define my error. Here is the error:
Starting HTTPD: (99)Cannot assign requested address: make_sock could not bind to address 172.16.1.3:80
No listening sockets available, shutting down
Any help is greatly appreciated as this is for a school project.
That was the output for the command I gave you? Weird....
Try this one "lsof -i :80"
in the first column of the output will be the process that's listening on port 80, kill it
Something's already listening on port 80, or you have apache configured to listen on a non-existant interface, I'm assuming "172.16.1.3" is the ip you're trying to get it to listen on from your first post. if thats not correct you'll need to fix it in your httpd.conf.
What, if anything is set as "bindaddress" in httpd.conf? also, are you certain that the ip address you gave is correct? Check the output of ifconfig eth0 (assuming you've only got one NIC and are trying to bind to it)
(if you're getting an IP from DHCP, change over to a static addy as well)
Edit ...also, just for S&G, run "apachectl configtest" to check your config files for accuracy....
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, in addition to the default. See also the <VirtualHost>
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
I've already configured my IP address to be static. I'm the DHCP server on our project.
EDIT: The resut of that command was that the syntax was OK.