|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
apache: data stuck in socket?
I've got apache running in a new jail, and it is unable to respond to requests. It looks like the http request is not getting to apache. I have another jail running asterisk which works fine (although it is much older), so I am stumped and could use some hints.
Thanks, Dan. On to the details: The jail is 192.168.1.81 "bug" (I want to setup bugzilla on it) From outside the jail: Code:
[root@boondock ~]# uname -a FreeBSD boondock.luey.org 7.1-RELEASE-p2 FreeBSD 7.1-RELEASE-p2 #2: Thu Feb 12 15:12:18 CST 2009 root@boondock.luey.org:/usr/obj/usr/src/sys/GENERIC amd64 Code:
[root@boondock ~]# tcpdump -A host 192.168.1.81 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on net0, link-type EN10MB (Ethernet), capture size 96 bytes 10:35:01.116146 IP 192.168.1.105.40398 > 192.168.1.81.http: S 518683053:518683053(0) win 5840 <mss 1460,sackOK,timestamp 80851933 0,nop,wscale 7> E..<.p@.@..@...i...Q...P..y.................... ............ 10:35:01.116156 IP 192.168.1.81.http > 192.168.1.105.40398: S 270420199:270420199(0) ack 518683054 win 65535 <mss 1460,nop,wscale 3,sackOK,timestamp 2592150776 80851933> E..<..@.@......Q...i.P....H...y......9............. ........ 10:35:01.116401 IP 192.168.1.105.40398 > 192.168.1.81.http: . ack 1 win 46 <nop,nop,timestamp 80851933 2592150776> E..4.q@.@..G...i...Q...P..y...H............ ........ 10:35:01.116410 IP 192.168.1.105.40398 > 192.168.1.81.http: P 1:377(376) ack 1 win 46 <nop,nop,timestamp 80851934 2592150776> E....r@.@......i...Q...P..y...H......s..... ........GET / HTTP/1.1 Host: bug Use 10:35:01.216382 IP 192.168.1.81.http > 192.168.1.105.40398: . ack 377 win 8279 <nop,nop,timestamp 2592150877 80851934> E..4..@.@......Q...i.P....H...{&.. W.1..... ...].... [hangs forever. Firefox on 192.168.1.105 waits forever.] Code:
[root@bug /]# uname -a FreeBSD bug.luey.org 7.1-RELEASE-p2 FreeBSD 7.1-RELEASE-p2 #2: Thu Feb 12 15:12:18 CST 2009 root@boondock.luey.org:/usr/obj/usr/src/sys/GENERIC amd64 Code:
root@bug /]# netstat netstat: kvm not available: /dev/mem: No such file or directory Active Internet connections Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 376 0 bug.http 192.168.1.105.40398 ESTABLISHED tcp4 376 0 bug.http 192.168.1.105.45122 CLOSE_WAIT tcp4 376 0 bug.http 192.168.1.105.41796 CLOSE_WAIT tcp4 376 0 bug.http 192.168.1.105.32904 CLOSE_WAIT udp4 0 0 bug.syslog *.* Active UNIX domain sockets Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr <snip> Code:
[root@bug /]# tail /var/log/httpd-error.log [Thu Feb 12 22:38:10 2009] [info] Init: Seeding PRNG with 144 bytes of entropy [Thu Feb 12 22:38:10 2009] [info] Init: Generating temporary RSA private keys (512/1024 bits) [Thu Feb 12 22:38:11 2009] [info] Init: Generating temporary DH parameters (512/1024 bits) [Thu Feb 12 22:38:11 2009] [info] Init: Initializing (virtual) servers for SSL [Thu Feb 12 22:38:11 2009] [info] mod_ssl/2.2.11 compiled against Server: Apache/2.2.11, Library: OpenSSL/0.9.8e [Thu Feb 12 22:38:11 2009] [notice] Digest: generating secret for digest authentication ... [Thu Feb 12 22:38:11 2009] [notice] Digest: done [Thu Feb 12 22:38:11 2009] [notice] Apache/2.2.11 (FreeBSD) mod_ssl/2.2.11 OpenSSL/0.9.8e DAV/2 configured -- resuming normal operations [Thu Feb 12 22:38:11 2009] [info] Server built: Jan 21 2009 08:13:02 [Thu Feb 12 22:38:11 2009] [debug] peruser.c(2380): AcceptMutex: flock (default: flock) Code:
[root@bug /]# tail /var/log/httpd-access.log [root@bug /]# Code:
[root@bug /]# pkg_info apache-peruser-2.2.11_2 Version 2.2.x of Apache web server with peruser MPM. <snip> |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FreeBSD 7.2@amd64 atheros problem ath0: stuck beacon; resetting (bmiss count 4) | asmo | FreeBSD General | 0 | 6th June 2009 11:02 AM |
Socket A Semprons | Sonya | General Hardware | 7 | 17th January 2009 04:32 AM |
data recovery. | LateNiteTV | FreeBSD General | 8 | 29th August 2008 08:11 PM |
Apache data transfer limit | cajunman4life | General software and network | 5 | 7th June 2008 05:13 PM |
Java socket programming question | 18Googol2 | Programming | 3 | 3rd May 2008 11:50 AM |