Apache2 after upgrade from 9.04 to 9.10 i have network issue can not open my default web page

Asked by Clint Horn on 2010-01-11

I upgraded from 9.04 to 9.1. Now when I try to access my default web page from IE it says it can not open the page. Yet I can ping my address both IP and name and it works fine. I even have folders shared and I can access them on the ubuntu server I just can't go to a IE web page and access my site at all by typing in even the ip address. This is annoying, PLEASE HELP!!!!!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apache2 Edit question
Assignee:
No assignee Edit question
Solved by:
Ryan Dwyer
Solved:
2010-01-13
Last query:
2010-01-13
Last reply:
2010-01-13
Der Ritter (der-ritter) said : #1

IE? As in Internet Explorer?
Have you tried accessing the Internet with an actual browser (such as Firefox, which should come installed by default)?

Clint Horn (chorn) said : #2

I tried firefox also
Clint Dan Horn
--------------------------
Sent using BlackBerry

-----Original Message-----
From: <email address hidden> <email address hidden>
To: Horn,Clint <email address hidden>
Sent: Mon Jan 11 16:32:13 2010
Subject: Re: [Question #97080]: Upgraded from 9.04 to 9.10 can not open my default web page from IE

Your question #97080 on yelp in ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/yelp/+question/97080

    Status: Open => Needs information

Freistoss requested for more information:
IE? As in Internet Explorer?
Have you tried accessing the Internet with an actual browser (such as Firefox, which should come installed by default)?

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/ubuntu/+source/yelp/+question/97080

You received this question notification because you are a direct
subscriber of the question.

I guess are you running some web server on your Ubuntu... and you trying to get access from different pc using ie please confirm...

Thank you

Clint Horn (chorn) said : #4

I am running apache2 and I can't even access http:localhost from the ubuntu server since I upgraded yet I can ping from another machine and it replies. Seems like something just needs to be turned on or updated that the upgrade changed.
Clint Dan Horn
--------------------------
Sent using BlackBerry

-----Original Message-----
From: <email address hidden> <email address hidden>
To: Horn,Clint <email address hidden>
Sent: Mon Jan 11 17:01:28 2010
Subject: Re: [Question #97080]: Upgraded from 9.04 to 9.10 can not open my default web page from IE

Your question #97080 on yelp in ubuntu changed:
https://answers.edge.launchpad.net/ubuntu/+source/yelp/+question/97080

    Status: Open => Needs information

marcobra (Marco Braida) requested for more information:
I guess are you running some web server on your Ubuntu... and you trying
to get access from different pc using ie please confirm...

Thank you

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.edge.launchpad.net/ubuntu/+source/yelp/+question/97080

You received this question notification because you are a direct
subscriber of the question.

Ok now is clear: upgraded your original question... is about apache2 setup...

It is your apache2 running...?

Please open a Terminal from the menu Applications → Accessories → Terminal and type:

sudo /etc/init.d/apache2 restart

give your user password when requested, you don't see nothing when you type it, then press enter.

Hope This Help

Clint Horn (chorn) said : #7

Tried that. Apache2 is running.
Clint Dan Horn
--------------------------
Sent using BlackBerry

-----Original Message-----
From: <email address hidden> <email address hidden>
To: Horn,Clint <email address hidden>
Sent: Mon Jan 11 17:30:26 2010
Subject: Re: [Question #97080]: Upgraded from 9.04 to 9.10 can not open my default web page from IE

Your question #97080 on apache2 in ubuntu changed:
https://answers.edge.launchpad.net/ubuntu/+source/apache2/+question/97080

    Status: Needs information => Answered

marcobra (Marco Braida) proposed the following answer:
It is your apache2 running...?

Please open a Terminal from the menu Applications ? Accessories ?
Terminal and type:

sudo /etc/init.d/apache2 restart

give your user password when requested, you don't see nothing when you
type it, then press enter.

Hope This Help

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.edge.launchpad.net/ubuntu/+source/apache2/+question/97080/+confirm?answer_id=5

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.edge.launchpad.net/ubuntu/+source/apache2/+question/97080

You received this question notification because you are a direct
subscriber of the question.

Ryan Dwyer (ryandwyer) said : #8

Please provide the exact error message you receive in Firefox when going to http://localhost/.

Ryan Dwyer (ryandwyer) said : #9

Also, after visiting http://localhost/, post the output of: tail /var/log/apache2/error.log

Clint Horn (chorn) said : #10

Unable to connect

Firefox can't establish a connection to the server at edcenterhosted.mdanderson.edu.

    * The site could be temporarily unavailable or too busy. Try again in a few
          moments.

    * If you are unable to load any pages, check your computer's network
          connection.

    * If your computer or network is protected by a firewall or proxy, make sure
          that Firefox is permitted to access the Web.

Clint Horn
Training Representative
University of Texas M.D. Anderson Cancer Center
(713) 745-9073
<email address hidden>

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Ryan Dwyer
Sent: Monday, January 11, 2010 5:44 PM
To: Horn,Clint
Subject: Re: [Question #97080]: Upgraded from 9.04 to 9.10 can not open my default web page from IE

Your question #97080 on apache2 in ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/apache2/+question/97080

    Status: Open => Needs information

Ryan Dwyer requested for more information:
Please provide the exact error message you receive in Firefox when going
to http://localhost/.

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/ubuntu/+source/apache2/+question/97080

You received this question notification because you are a direct
subscriber of the question.

Ryan Dwyer (ryandwyer) said : #11

Run: netstat -an | grep :80 # to make sure you have a process listening on port 80 (You should have a line that says 0.0.0.0:80 0.0.0.0:* LISTEN).

If there's nothing listening on 80, run: ps -e | grep apache2 # to make sure Apache is running (there may be more than one).

If there is something running, you might have a firewall rule blocking that traffic. Run: iptables --list INPUT to see if there are any blocks.

Post results here.

Clint Horn (chorn) said : #12

Here is what came up.

chorn@edcenterhosted:~$ netstat -an | grep :80
tcp 0 0 10.109.193.100:41578 74.125.47.99:80 ESTABLISHED
tcp 0 0 10.109.193.100:40499 91.189.88.37:80 TIME_WAIT
tcp 0 0 10.109.193.100:32784 91.189.88.45:80 TIME_WAIT
tcp 0 0 10.109.193.100:52343 91.189.88.30:80 TIME_WAIT
chorn@edcenterhosted:~$ ps -e | grep apache2
chorn@edcenterhosted:~$ iptables --list INPUT
iptables v1.4.4: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
chorn@edcenterhosted:~$ sudo bash
[sudo] password for chorn:
root@edcenterhosted:~# iptables --list INPUT
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT udp -- anywhere anywhere udp dpt:domain
ACCEPT tcp -- anywhere anywhere tcp dpt:domain
ACCEPT udp -- anywhere anywhere udp dpt:bootps
ACCEPT tcp -- anywhere anywhere tcp dpt:bootps

Clint Horn
Training Representative
University of Texas M.D. Anderson Cancer Center
(713) 745-9073
<email address hidden>

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Ryan Dwyer
Sent: Monday, January 11, 2010 7:10 PM
To: Horn,Clint
Subject: RE: [Question #97080]: Upgraded from 9.04 to 9.10 can not open my default web page from IE

Your question #97080 on apache2 in ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/apache2/+question/97080

    Status: Open => Needs information

Ryan Dwyer requested for more information:
Run: netstat -an | grep :80 # to make sure you have a process listening
on port 80 (You should have a line that says 0.0.0.0:80 0.0.0.0:*
LISTEN).

If there's nothing listening on 80, run: ps -e | grep apache2 # to make
sure Apache is running (there may be more than one).

If there is something running, you might have a firewall rule blocking
that traffic. Run: iptables --list INPUT to see if there are any blocks.

Post results here.

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/ubuntu/+source/apache2/+question/97080

You received this question notification because you are a direct
subscriber of the question.

Ryan Dwyer (ryandwyer) said : #13

Your apache2 service is not running.

sudo /etc/init.d/apache2 start

If you get errors, post them here. If you don't get errors and it still doesn't work, check your /var/log/apache2/error.log file.

Clint Horn (chorn) said : #14

I actually got it to work. I purged apache2 and just reinstalled it. Had to re-do some minor changes but it was okay. Thanks.

Clint Horn
Training Representative
University of Texas M.D. Anderson Cancer Center
(713) 745-9073
<email address hidden>

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Ryan Dwyer
Sent: Tuesday, January 12, 2010 2:16 PM
To: Horn,Clint
Subject: RE: [Question #97080]: Upgraded from 9.04 to 9.10 can not open my default web page from IE

Your question #97080 on apache2 in ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/apache2/+question/97080

    Status: Open => Answered

Ryan Dwyer proposed the following answer:
Your apache2 service is not running.

sudo /etc/init.d/apache2 start

If you get errors, post them here. If you don't get errors and it still
doesn't work, check your /var/log/apache2/error.log file.

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+source/apache2/+question/97080/+confirm?answer_id=12

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+source/apache2/+question/97080

You received this question notification because you are a direct
subscriber of the question.

Best Ryan Dwyer (ryandwyer) said : #15

Good to hear you sorted it out. Please use Launchpad to mark this question as solved (just choose your own answer).

Clint Horn (chorn) said : #16

Removed apache2 using purge command, then reinstalled it again. That did the trick, little more work but it did it.