LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Ubuntu 5.10 Apache problem (https://www.linuxquestions.org/questions/ubuntu-63/ubuntu-5-10-apache-problem-446062/)

markb658 05-18-2006 09:12 AM

Ubuntu 5.10 Apache problem
 
Hey, I just did a fresh install of Ubuntu 5.10, and then installed apache2 and all the other needed packages, and started the apache service, but when i try to load up the default page with (localhost,127.0.0.1, and even the ip of the linux box from a different machine on the network) i get nowhere, it doesnt even connect to the box, i just get the unable to connect error in firefox.

With a clean install of Ubuntu and Apache, it should just show the default page no bother yeah?, I also ran a port scan and port 80 isnt even open, is there firewall settings i need to sort out somwhere or something?

Cheers,
Mark

pljvaldez 05-18-2006 12:53 PM

Did you try starting the apache2 daemon manually? sudo /etc/init.d/apache2 restart That's the first thing I'd check.

After that, then I would say most likely it is a firewall setting.

markb658 05-18-2006 01:01 PM

Yeah i tried that and still no luck, how do i check the firewall in Ubuntu, this is my first bit if experience with any Debian based distro.

pljvaldez 05-18-2006 01:17 PM

You can always comb through sudo iptables -L | more

Also, check /etc/apache2/ports.conf and make sure there is a line Listen 80.

Also, I'm sure it's fine, but did you check /etc/hosts to make sure the line 127.0.0.1 localhost was included?

markb658 05-18-2006 02:39 PM

All that seems to be fine aswell, Im kinda lost here now, becuase ive set up apache and had it running perfect on FC, and RH setups plenty of times in the past. :scratch:

pljvaldez 05-18-2006 03:10 PM

My only last suggestion is to do a sudo apt-get install -f apache2 to try forcing a reinstall.

markb658 05-18-2006 03:23 PM

And that worked! Nice one, The last install must of crashed and i never noticed or something, cheers for the help. ;)


All times are GMT -5. The time now is 03:39 PM.