|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
||||
Hrmm... This is interesting. There is a ton of these warnings in the log:
Code:
[Mon Aug 11 01:34:13 2008] [warn] (61)Connection refused: connect to listener on 0.0.0.0:80 Here is the tail of the log: Code:
[Mon Aug 11 14:16:29 2008] [notice] SIGHUP received. Attempting to restart [Mon Aug 11 14:16:30 2008] [notice] Digest: generating secret for digest authentication ... [Mon Aug 11 14:16:30 2008] [notice] Digest: done [Mon Aug 11 14:16:30 2008] [notice] Apache/2.2.9 (FreeBSD) mod_ssl/2.2.9 OpenSSL/0.9.8e DAV/2 PHP/5.2.6 with Suhosin-Patch configured -- resuming normal operations [Mon Aug 11 14:23:30 2008] [error] [client 10.0.0.1] File does not exist: /usr/local/www/apache22/data/robots.txt [Mon Aug 11 14:29:26 2008] [notice] SIGHUP received. Attempting to restart (48)Address already in use: make_sock: could not bind to address 10.0.0.102:80 no listening sockets available, shutting down Unable to open logs [Mon Aug 11 14:29:44 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Mon Aug 11 14:29:44 2008] [notice] Digest: generating secret for digest authentication ... [Mon Aug 11 14:29:44 2008] [notice] Digest: done [Mon Aug 11 14:29:44 2008] [warn] pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run? [Mon Aug 11 14:29:44 2008] [notice] Apache/2.2.9 (FreeBSD) mod_ssl/2.2.9 OpenSSL/0.9.8e DAV/2 PHP/5.2.6 with Suhosin-Patch configured -- resuming normal operations [Mon Aug 11 14:30:24 2008] [notice] SIGHUP received. Attempting to restart (48)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs [Mon Aug 11 14:31:31 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Mon Aug 11 14:31:31 2008] [notice] Digest: generating secret for digest authentication ... [Mon Aug 11 14:31:31 2008] [notice] Digest: done [Mon Aug 11 14:31:31 2008] [warn] pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run? [Mon Aug 11 14:31:31 2008] [notice] Apache/2.2.9 (FreeBSD) mod_ssl/2.2.9 OpenSSL/0.9.8e DAV/2 PHP/5.2.6 with Suhosin-Patch configured -- r esuming normal operations [Mon Aug 11 14:32:25 2008] [notice] caught SIGTERM, shutting down [Mon Aug 11 14:32:31 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Mon Aug 11 14:32:31 2008] [notice] Digest: generating secret for digest authentication ... [Mon Aug 11 14:32:31 2008] [notice] Digest: done [Mon Aug 11 14:32:31 2008] [notice] Apache/2.2.9 (FreeBSD) mod_ssl/2.2.9 OpenSSL/0.9.8e DAV/2 PHP/5.2.6 with Suhosin-Patch configured -- r esuming normal operations [Mon Aug 11 17:35:59 2008] [error] [client 10.0.0.1] File does not exist: /usr/local/www/apache22/data/favicon.ico |
|
||||
Here is my sockstat -4 output:
Code:
[tristan@emulan ~]$ sockstat -4 USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS tristan sshd 14431 3 tcp4 10.0.0.102:22 10.0.0.1:63349 root sshd 14428 3 tcp4 10.0.0.102:22 10.0.0.1:63349 www httpd 6626 3 tcp4 10.0.0.102:80 *:* www httpd 6625 3 tcp4 10.0.0.102:80 *:* www httpd 6624 3 tcp4 10.0.0.102:80 *:* www httpd 6620 3 tcp4 10.0.0.102:80 *:* www httpd 6351 3 tcp4 10.0.0.102:80 *:* www httpd 6348 3 tcp4 10.0.0.102:80 *:* www httpd 6347 3 tcp4 10.0.0.102:80 *:* www httpd 6346 3 tcp4 10.0.0.102:80 *:* www httpd 6345 3 tcp4 10.0.0.102:80 *:* www httpd 6344 3 tcp4 10.0.0.102:80 *:* root sendmail 6313 3 tcp4 10.0.0.102:25 *:* root sshd 6307 3 tcp4 10.0.0.102:22 *:* root httpd 6299 3 tcp4 10.0.0.102:80 *:* root syslogd 6241 6 udp4 10.0.0.102:514 *:* |
|
||||
-DNOHTTPACCEPT is, as far as I know, normal and standard. Mine has said that for years and everything is working fine.
Edit:Here's the first hit from googling that flag: http://lists.svlug.org/archives/svlu...ch/028303.html Quote:
Last edited by Weaseal; 12th August 2008 at 06:48 PM. |
|
|||
The -DNOHTTPACCEPT disables an AcceptFilter. It is a kernel module for, IIRC, having the kernel accept the connection before handing it off to Apache (a speed optimization).
http://wiki.finger.dk/index.php/Apache/Install and the article linked to in the last sentence may give you a bit more information. |
|
||||
Quote:
Code:
[root@HOST/usr/home/tristan]# kldload accf_http kldload: can't load accf_http: File exists Code:
[root@HOST/usr/home/tristan]# locate accf_http /boot/kernel/accf_http.ko /boot/kernel/accf_http.ko.symbols /usr/obj/usr/src/share/man/man9/accf_http.9.gz /usr/share/man/man9/accf_http.9.gz /usr/src/share/man/man9/accf_http.9 /usr/src/sys/modules/accf_http /usr/src/sys/modules/accf_http/Makefile /usr/src/sys/netinet/accf_http.c Code:
[root@JAIL /]# kldload accf_http kldload: can't load accf_http: Operation not permitted What do you guys think? Thanks for all the help too! Here's some more references on accf_http: http://httpd.apache.org/docs/2.2/mod/core.html http://www.freebsd.org/cgi/man.cgi?q...http&sektion=9 |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
httpd problem or something else | c0mrade | Other BSD and UNIX/UNIX-like | 6 | 15th January 2009 09:19 PM |
Update httpd.conf IPs from DNS zones. | bigb89 | Programming | 16 | 2nd December 2008 02:02 AM |
Apache : httpd could not be started | lalebarde | General software and network | 13 | 13th November 2008 11:51 PM |
can't start apache "httpd not running" | disappearedng | FreeBSD General | 5 | 22nd September 2008 10:18 PM |
httpd.conf | Snoop1990 | General software and network | 5 | 29th July 2008 04:30 AM |