Home > Archive > PERL Beginners > February 2006 > A problem with apache installation http://localhost issue
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
A problem with apache installation http://localhost issue
|
|
| Zhou Jian 2006-02-22, 6:56 pm |
| Hello perl fellows:
I encountered a problem when I was installing a perl
module. The httpd server related module was hanging
overnight when it was trying to test
http://localhost:XXXXX...
Today, I tested with my httpd server installation.
I found that I can view the webpage after I started
httpd server through the actually ip address. I have
configured my ip address under /etc/hosts.
However, I couldn't view the webpage through
http://127.0.0.0/ or http://localhost/
It looks bizzare to me, if I can't view it through
http://localhost, then I couldn't install the httpd
related perlmodules because they require the testing.
Thanks for your help!
--Paul
________________________________________
__________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com
________________________________________
__________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
| |
| Hans Meier 2006-02-22, 6:56 pm |
| zhou jian am Mittwoch, 22. Februar 2006 22.40:
> Hello perl fellows:
Hi Paul
This is the wrong list for this question (see your subject) but:
> I encountered a problem when I was installing a perl
> module. The httpd server related module was hanging
> overnight when it was trying to test
> http://localhost:XXXXX...
>
> Today, I tested with my httpd server installation.
> I found that I can view the webpage after I started
> httpd server through the actually ip address. I have
> configured my ip address under /etc/hosts.
Check that the entry
127.0.0.1 localhost
is present.
> However, I couldn't view the webpage through
> http://127.0.0.0/ or http://localhost/
>
> It looks bizzare to me, if I can't view it through
> http://localhost, then I couldn't install the httpd
> related perlmodules because they require the testing.
Apache only listens on IPs and Ports that are configured in the httpd.conf.
Yours seems not to be configured to listen on 127.0.0.1, you can check that by
$ netstat -neatp
Depending on your apache configuration, a
Listen 127.0.0.1:80
in the httpd.conf may be sufficient.
hth,
Hans
| |
| Zhou Jian 2006-02-22, 9:55 pm |
| Check that the entry
127.0.0.1 localhost
is present.
How to check the this entry? I added this entry to
httpd.conf and listen 127.0.0.1:80. However, I got the
error message. Do you have any other ideas?
I also checked. I am convinced that I didn't have
that configured in httpd.conf. How could I do that?
[root@osg-tg2 conf]# netstat -neatp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign
Address State User Inode
PID/Program name
tcp 0 0 0.0.0.0:2119 0.0.0.0:*
LISTEN 0 2982506
30329/xinetd
tcp 0 0 0.0.0.0:8649 0.0.0.0:*
LISTEN 99 1802 873/
tcp 0 0 0.0.0.0:3306 0.0.0.0:*
LISTEN 0 2736438 12403/
tcp 0 0 0.0.0.0:8651 0.0.0.0:*
LISTEN 99 1455 782/
tcp 0 0 0.0.0.0:8652 0.0.0.0:*
LISTEN 99 1456 782/
tcp 0 0 0.0.0.0:6000 0.0.0.0:*
LISTEN 0 2224 1102/X
tcp 0 0 0.0.0.0:13432 0.0.0.0:*
LISTEN 0 2790215
28803/perl
tcp 0 0 0.0.0.0:505 0.0.0.0:*
LISTEN 0 2209
1008/rcd
tcp 0 0 0.0.0.0:25 0.0.0.0:*
LISTEN 0 2198 1090/
tcp 0 0 0.0.0.0:2811 0.0.0.0:*
LISTEN 0 2982507
30329/xinetd
tcp 0 1 128.255.163.64:55937
127.0.0.1:8649 SYN_SENT 99 3071272
782/
tcp 0 0 128.255.163.64:55955
128.255.3.12:80 ESTABLISHED 504 3071358
5279/mozilla-bin
tcp 0 0 128.255.163.106:54453
209.62.176.189:80 ESTABLISHED 504 1294108
5279/mozilla-bin
tcp 0 1 128.255.163.64:55936
127.0.0.1:631 SYN_SENT 504 3071222
1192/eggcups
Thanks,
--Paul
--- "Hans Meier (John Doe)"
<security.department@tele2.ch> wrote:
> zhou jian am Mittwoch, 22. Februar 2006 22.40:
>
> Hi Paul
>
> This is the wrong list for this question (see your
> subject) but:
>
> perl
> hanging
> started
> have
>
> Check that the entry
>
> 127.0.0.1 localhost
>
> is present.
>
> httpd
> testing.
>
>
> apache only listens on IPs and Ports that are
> configured in the httpd.conf.
> Yours seems not to be configured to listen on
> 127.0.0.1, you can check that by
>
> $ netstat -neatp
>
> Depending on your apache configuration, a
>
> Listen 127.0.0.1:80
>
> in the httpd.conf may be sufficient.
>
> hth,
> Hans
>
> --
> To unsubscribe, e-mail:
> beginners-unsubscribe@perl.org
> For additional commands, e-mail:
> beginners-help@perl.org
> <http://learn.perl.org/>
> <http://learn.perl.org/first-response>
>
>
>
________________________________________
__________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com
________________________________________
__________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|
|
|
|
|