From owner-freebsd-questions@FreeBSD.ORG Sun May 9 23:03:22 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EE9C16A4CF for ; Sun, 9 May 2004 23:03:22 -0700 (PDT) Received: from smtp01.syd.iprimus.net.au (smtp01.syd.iprimus.net.au [210.50.30.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE60C43D54 for ; Sun, 9 May 2004 23:03:20 -0700 (PDT) (envelope-from jtoth@attech.net.au) Received: from attech.net.au (211.26.118.134) by smtp01.syd.iprimus.net.au (7.0.024) (authenticated as jt100) id 409956B400184BFB for freebsd-questions@FreeBSD.org; Mon, 10 May 2004 16:03:19 +1000 Message-ID: <409F1B22.9010707@attech.net.au> Date: Mon, 10 May 2004 15:33:14 +0930 From: "Jeffrey P. Toth" Organization: JTCO User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "freebsd-questions@FreeBSD.org" References: <409EFB5F.9030206@attech.net.au> <20040510071159.7d817b66@it.buh.cameradicommercio.ro> In-Reply-To: <20040510071159.7d817b66@it.buh.cameradicommercio.ro> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Network Help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 May 2004 06:03:22 -0000 Thanks for you time. Ion-Mihai Tetcu wrote: >[ it would be nice if you would reply in the same thread and wrap to 72 >chars ] > >On Mon, 10 May 2004 13:17:43 +0930 >"Jeffrey P. Toth" wrote: > > > >>Thanks Ion-Mihai, >> >>Well that is the problem. I cannot find any problems other than when I >>try to open an http: on the box, or on one of the other computers on >>the network, it fails and has the network error: >> >>Making HTTP connection to www.any-site-on-the-box.com >>Sending HTTP request >>HTTP request sent; waiting for response. >>Alert! Unexpected network read error; connection aborted. >>Can't Access 'http://www.any-site-on-the-box.com' >>Alert! Unable to access document. >> >> > >fetch -vvv http://www.any-site-on-the-box.com/ >output please > > > >>I can ping all machines and do a traceroute without problem. >> >> > >Good. > > > >>The server is online and working I just cannot seem to figure out why >>I cannot use http on the box and suspect that is the same reason the >>other computers on the network cannot access any of the sites on the >>FreeBSD machine without causing a freeze up. >> >> > >So you cannot access any web page *from* that box either on that box and >away ? Please be clear. And when you try to access a page _on_ the box >it freezes ? Maybe you have a firewall in between somewhere somehow ? If >you're machine is freezing the you have to dig *this* problem. Did you >played with sysctl or kernel settings ? Does ftp from or to the box work >? How much RAM do you have ? Did you disable swap ? Do the logs say >anything ? > I cannot acces any page on the FreeBSD box from the box itself or from any computer on the newtowrk. I can access all other websites outside of the network. After I attempt to access a page on the FreeBSD box from the box or one of the other computers on the netowork, at timeout the router freezes and goes offline. A power reboot fixes till the next time I try to access via http or ftp. If I connect up my XP computer through my dial up account removing it from the router, then I am on different network and I have no problem accessing any of the sites or ftp'ing into the box. I have not done anything with sysctl or kernel settings FTP works from outside the box but not from within the network. I have 256 Megs opf RAM Disable Swap? Looking in the logs httpd-error.log , httpd-access.log, debug.log, ftpd, dmesg.today, security, and messages I find nothing about any errors relating to the problem. In fact I don't even get a log where it tried to access the box in httpd-access.log Is this what you mean by not putting the text ontop and far as I can tell the setting says the message is wrapped 72 characters. did it work this time? Thanks for all, Jeff > > > >>Do I need to add all the websites to the hosts file? >> >> > >Only if you what to access the by name locally and they are Name Based >on apache in which case you have to add them to the hosts of all your >computers or setup a dns server. > > > >>Or the static IP of the box, xxx.xxx.xxx.150? >> >> > >No. > > > >>Or maybe add the IP of the router? >> >> > >No. > > > >>The host file contains these items as setup: >>127.0.0.1 localhost localhost.name-of box.com >>203.122.142.24 name-of-box.com. >> >>Replace name-of-box with the actual name of the box. >> >> > >Seems OK. > >