LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-18-2006, 09:12 AM   #1
markb658
Member
 
Registered: Mar 2005
Distribution: Ubuntu 7.10
Posts: 69

Rep: Reputation: 15
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
 
Old 05-18-2006, 12:53 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
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.
 
Old 05-18-2006, 01:01 PM   #3
markb658
Member
 
Registered: Mar 2005
Distribution: Ubuntu 7.10
Posts: 69

Original Poster
Rep: Reputation: 15
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.
 
Old 05-18-2006, 01:17 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
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?
 
Old 05-18-2006, 02:39 PM   #5
markb658
Member
 
Registered: Mar 2005
Distribution: Ubuntu 7.10
Posts: 69

Original Poster
Rep: Reputation: 15
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.
 
Old 05-18-2006, 03:10 PM   #6
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
My only last suggestion is to do a sudo apt-get install -f apache2 to try forcing a reinstall.
 
Old 05-18-2006, 03:23 PM   #7
markb658
Member
 
Registered: Mar 2005
Distribution: Ubuntu 7.10
Posts: 69

Original Poster
Rep: Reputation: 15
And that worked! Nice one, The last install must of crashed and i never noticed or something, cheers for the help.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Enabling CGI in Apache on Ubuntu dfreer Linux - Software 6 02-01-2006 08:05 PM
Ubuntu with apache? Cliekid Ubuntu 1 05-13-2005 10:43 PM
Apache 2.0 on Ubuntu Linux spacy2003 Linux - Software 5 02-04-2005 01:20 PM
Strange apache trailing / problem - Slack-current, apache 1.3.33 vamp Linux - Networking 1 01-30-2005 07:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 05:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration