From owner-freebsd-isp@FreeBSD.ORG Sat Mar 27 03:36:49 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FB4216A4CE for ; Sat, 27 Mar 2004 03:36:49 -0800 (PST) Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD5E343D46 for ; Sat, 27 Mar 2004 03:36:48 -0800 (PST) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 4.30 #2 (FreeBSD 4.9)) id 1B7C7I-0006oM-Oy by authid for ; Sat, 27 Mar 2004 14:36:44 +0300 Date: Sat, 27 Mar 2004 14:36:44 +0300 From: Odhiambo Washington To: freebsd-isp@freebsd.org Message-ID: <20040327113644.GB76881@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , freebsd-isp@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Mailer: Mutt 1.5.5.1i (2003-11-05) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. User-Agent: Mutt/1.5.5.1i Subject: Problem after recompiling apache X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Mar 2004 11:36:49 -0000 Dear Ladies an Gentlemen, I am writing to seek expert advise on the following: Platfrom : FreeBSD 4.9-STABLE Apps : Apache_1.3.29, mod_ssl-2.8.16-1.3.29, mod_perl-1.29 php-4.3.5 After recompiling the above (I use a home-brewed script), apache fails to start. I get the following error in httpd-error.log: [Sat Mar 27 10:58:52 2004] [notice] caught SIGTERM, shutting down [Sat Mar 27 10:59:01 2004] [warn] make_sock: problem listening on port 80, \ filedescriptor (1074) larger than FD_SETSIZE (1024) found, you probably need \ to rebuild Apache with a larger FD_SETSIZE Now, if I modify /usr/include/sys/types.h to change 1024 to 2048 (This is madness, I am sure) and recompile apache, it runs fine. Can someone please help me out of this. My solution is not perfect, even in my mind, as I am sure it will break something on the system. My scripts to compile apache are here: http://ns2.wananchi.com/~wash/Apache/1.3.29/apache+ssl+php+modperl.sh Thanks in advance. -Wash http://www.netmeister.org/news/learn2quote.html -- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ Conceit causes more conversation than wit. -- LaRouchefoucauld