From owner-freebsd-questions@FreeBSD.ORG Fri Jan 21 23:32:12 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53205106566B for ; Fri, 21 Jan 2011 23:32:12 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id BB1538FC18 for ; Fri, 21 Jan 2011 23:32:11 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.186]) by mail.unitedinsong.com.au (Postfix) with ESMTP id 5EF8B5C44 for ; Sat, 22 Jan 2011 09:39:14 +1000 (EST) Message-ID: <4D3A16B2.3010404@herveybayaustralia.com.au> Date: Sat, 22 Jan 2011 09:28:50 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.16) Gecko/20101227 Thunderbird/3.0.11 ThunderBrowse/3.3.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20110120214908.GA9510@thought.org> <4D3984B1.10709@herveybayaustralia.com.au> <20110121215546.GB8809@thought.org> <4D3A0235.2020104@pchotshots.com> <20110121224201.GC8809@thought.org> In-Reply-To: <20110121224201.GC8809@thought.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: no apache22, php5 cores X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jan 2011 23:32:12 -0000 On 01/22/11 08:42, Gary Kline wrote: > On Fri, Jan 21, 2011 at 05:01:25PM -0500, Brad Mettee wrote: > >> Gary Kline wrote: >> >>> Everything seems to be working except that >>> >>> % lynx http://www.thought.org/ >>> >>> times out. Oh, and I haven't tried host thought.org yet. It >>> may be my latest bind97 since bind9 had an en-of-life recently. >>> >> Have you tried?: >> nslookup www.thought.org >> > > Works, altho it ignores my orginal nameserver , it is happy with > 8.8.8.8. > > > >> If it resolves, then bind9 isn't your problem. Try this instead and >> see what happens: >> telnet www.thought.org 80 >> > > Times out. I hope this means sometimg! > >> Also, netstat should show port 80 open and waiting for a connection too. >> > > I didn't try netstat during the telnet try, but netstat alone > [from here on my desktop] looks interesting. (I don't use it > that often). > > I'll paste in some output; you tell me if it looks interesting! > ctive Internet connections (w/o servers) > Proto Recv-Q Send-Q Local Address Foreign Address > State > tcp 0 0 tao.thought.org:37916 74.125.209.81:www > ESTABLISHED > tcp 0 0 tao.thought.org:55475 unknown.iad.scnet.n:www > CLOSE_WAIT > tcp 0 0 tao.thought.org:46990 208.117.252.26:www > ESTABLISHED > tcp 0 0 tao.thought.org:44131 ethic.thought.org:imaps > ESTABLISHED > tcp 0 0 tao.thought.org:58950 ethic.thought.org:imap2 > ESTABLISHED > tcp 0 1 tao.thought.org:34636 67.132.30.58:www > FIN_WAIT1 > tcp 0 0 tao.thought.org:38330 67.132.30.58:www > ESTABLISHED > tcp 0 0 tao.thought.org:51084 cds309.sea.llnw.net:www > ESTABLISHED > tcp 0 0 tao.thought.org:60963 pz-in-f147.1e100.ne:www > ESTABLISHED > tcp 0 0 tao.thought.org:56229 208.117.252.159:www > ESTABLISHED > tcp 0 0 tao.thought.org:42114 ethic.thought.org:ssh > ESTABLISHED > tcp 0 336 tao.thought.org:59156 addons.acelb.sj.m:https > ESTABLISHED > Active UNIX domain sockets (w/o servers) > Proto RefCnt Flags Type State I-Node Path > unix 2 [ ] DGRAM 4578 > /var/spool/postfix/de > > > > Looking at, say, the first "Foreign Address", does that mean > that 74.125.209.81:www is looking at my www? Or I connected > with his > > gary > > > > > >> Hope this helps, >> >> Brad >> >> > Run ps ax | grep httpd. If it doesn't show up then its not working. If it says NO_HTTP_ACCEPT or similar its not working either. Also, regardless of the output there, try commenting out loading the php module in httpd.conf. If apache works then it is just a php problem. 9/10 the php problem is just the extensions dependencies problem. /usr/local/etc/php/extensions.ini - recode at the top (required by most other extensions), and shuffle the others as required. ie.: extension=recode.so extension=yaz.so extension=fileinfo.so extension=pdf.so extension=fribidi.so extension=imap.so extension=mysql.so extension=xml.so extension=ncurses.so extension=sockets.so extension=gmp.so extension=pgsql.so extension=exif.so extension=json.so extension=ming.so extension=mbstring.so extension=zlib.so extension=pcntl.so extension=mssql.so extension=dbase.so extension=pdo.so extension=tidy.so extension=mhash.so extension=gettext.so extension=xmlrpc.so extension=sysvshm.so extension=ftp.so extension=pcre.so extension=filter.so extension=ctype.so extension=mcrypt.so extension=odbc.so extension=ldap.so extension=bcmath.so #extension=recode.so extension=hash.so extension=zip.so extension=xmlwriter.so extension=interbase.so extension=tokenizer.so extension=calendar.so extension=dba.so extension=gd.so extension=snmp.so extension=session.so extension=soap.so extension=sysvsem.so extension=iconv.so extension=sybase_ct.so extension=simplexml.so extension=spl.so extension=shmop.so extension=sysvmsg.so extension=readline.so extension=curl.so extension=bz2.so extension=openssl.so extension=wddx.so extension=dom.so extension=xsl.so extension=sqlite.so extension=xmlreader.so extension=pdo_sqlite.so extension=mysqli.so extension=posix.so extension=pspell.so (Thats probably an old one - been floating around my ~) HTH