LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 05-10-2002, 01:15 AM   #1
fend88
LQ Newbie
 
Registered: Apr 2002
Posts: 19

Rep: Reputation: 0
Cannot reach localhost


I installed apache 2.0.35 in my LFS. After installation, apachectl can start without problem.

I tried to access 127.0.0.1 with my browser (netscape 6 & lynx) but it came out "Cannot reach remote host". It tried to access my ip address (192.168.0.22), the result also the same. I ping 127.0.0.1 & 192.168.0.22, all works fine.

My apache cannot run on user nobody ; group -1. I used user fend88 - group 2. This configuration works.

Please hep me to rectify this problem. Thanks in advance.

FYI: my network setting:

hosts:
127.0.0.1 localhost
192.168.0.22 FunClub.com FunClub

network
NETWORKING=yes
HOSTNAME=FunClub
DOMAINNAME=com
GATEWAY=192.168.0.99
GATEWAY_IF=eth0

host.conf
order hosts,bind
multi on

resolv conf
nameserver 202.145.0.1
nameserver 202.155.0.10
nameserver 202.145.0.2

ifconfig.eth0
DEVICE=eth0
ONBOOT=yes
IP=192.168.0.22
NETMASK=255.255.255.0
BROADCAST=192.168.0.255
 
Old 05-13-2002, 12:29 AM   #2
fend88
LQ Newbie
 
Registered: Apr 2002
Posts: 19

Original Poster
Rep: Reputation: 0
Ok, I found that the problem is with php 4.2.0 and Apache 2.0.36.
PHP 4 support for apxs2 is still experimental (according to PHP web).
Now I am trying to install apache 1.3.24 with php 4.2.0.

Last edited by fend88; 05-13-2002 at 01:58 AM.
 
  


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
Change localhost name in username@localhost n175uj Linux - Newbie 4 07-01-2005 08:25 PM
Message from syslogd@localhost localhost kernel: Disabling IRQ #21 ylts Linux - Hardware 0 02-26-2005 08:01 AM
cant reach any hosts.. Hiltonizer Linux - Networking 1 08-28-2004 11:45 PM
dns requests from localhost to localhost keex Linux - Networking 2 11-13-2003 01:47 PM
Can someone help me reach the Internet!!!??? AMDPwred Linux - General 8 12-23-2001 02:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 10:08 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