Re: A problem with apache installation http://localhost issue



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@xxxxxxxx> wrote:

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

--
To unsubscribe, e-mail:
beginners-unsubscribe@xxxxxxxx
For additional commands, e-mail:
beginners-help@xxxxxxxx
<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
.



Relevant Pages

  • Re: Duplicate disk in a volume group
    ... think this one would not be good because there is still an entry for a GOOD ... Duplicate disk in a volume group ... Do You Yahoo!? ... Mail has the best spam protection around ...
    (AIX-L)
  • Re: How Do I Uninstall Yahoo Address AutoComplete from My Add/Remove List?
    ... found the entry you posted, and clicked fix on highjack. ... >> trouble, but when I click the button for Yahoo Address AutoComplete, the ... >> still could not uninstall Yahoo Address AutoComplete. ...
    (microsoft.public.windowsxp.general)
  • Re: [Ellrns weekly SPA]Re: Two Helpful websites
    ... Flying Circus in which chanting of the word Spam (trademark for a canned ... Main Entry: 2spam ... > verifiable information. ... >> and on all the other newsgroups you SPAM on a weekly basis? ...
    (microsoft.public.windowsxp.hardware)
  • Re: [Ellrns weekly SPA]Re: Two Helpful websites
    ... Flying Circus in which chanting of the word Spam (trademark for a canned ... Main Entry: 2spam ... > verifiable information. ... >> and on all the other newsgroups you SPAM on a weekly basis? ...
    (microsoft.public.windowsxp.general)
  • Re: [Ellrns weekly SPA]Re: Two Helpful websites
    ... Flying Circus in which chanting of the word Spam (trademark for a canned ... Main Entry: 2spam ... > verifiable information. ... >> and on all the other newsgroups you SPAM on a weekly basis? ...
    (microsoft.public.windowsxp.basics)