no apache22, php5 cores

Da Rock freebsd-questions at herveybayaustralia.com.au
Fri Jan 21 23:32:12 UTC 2011


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


More information about the freebsd-questions mailing list