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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i've set my httpd.conf.. listen 0.0.0.0:80.. although just having 80 there works the same it seems.. anyway.. i then type ]# apachectl start and it comes up with this..
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
i also can't get to my webpage locally using http://localhost/index.htm.. although i use to be able to.. and i didn't think i changed anything..
i am root when i do this.. i do it from the terminal and then switch to root with su. i also tried port 8080.. no luck.. same with changing it to 127.0.0.1
athough apachectl start doesn't come up with that error when i try a different port..
i just checked my firewall stuff.. and i have nothing in there about dropping port 80.. so i don't think that's causing the problem..
wooh!.. i just tried accessing my site http://jimmyb.homeip.net from my computer that is connected to this linux system and it came up with the Fedora Core Test page... usually it just says that this domain name isn't registered.. hmm.. i think i'm getting somewhere .. all i have to do now is get it apache running.. joy
oh.. this all makes sence now.. it's running off of the apache install from fedora.. and not he one installed.. i recently updated apache2 with the autoupdate thingy...
how do i stop the fedora copy? as i've already setup the other one.. although it would be a simple copy over of my httpd.conf file into /etc/httpd/conf
[root@Linux etc]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 Linux.Fedora localhost
OH, just get rid of that IP before :80 in httpd.conf
try 'Listen 80'
Edit: i THINK.... i am checking into it now. will post if find more.
Yeah, i was right, do 'listen 80' and play around with virtual hosts. i would not reccomend you binding it to 0.0.0.0 address thought, for quite a few reasons, one of which is: the system has no idea what 0.0.0.0 is.
Last edited by Mikhail_16; 01-23-2004 at 12:24 PM.
muhhaahahaha!!!.. ok.. she's going.. but i had to stop the fedora copy of apache going first.. hence why when i tried starting up my installed version of apache it told me that the address was already in use..
the only thing i have to tweak (aside from what i just said above) is that it doesn't find the index.htm page.. it just goes to the directory of my webpage..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.