From owner-freebsd-questions@FreeBSD.ORG Tue Jan 6 11:41:35 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2741D16A4CE for ; Tue, 6 Jan 2004 11:41:35 -0800 (PST) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28D5E43D1F for ; Tue, 6 Jan 2004 11:41:32 -0800 (PST) (envelope-from kdk@daleco.biz) Received: from daleco.biz ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.0); Tue, 6 Jan 2004 13:44:48 -0600 Message-ID: <3FFB0F2E.5010503@daleco.biz> Date: Tue, 06 Jan 2004 13:40:30 -0600 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031124 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gaspo1@fastwebnet.it References: <3FE7916A00003D78@alfa.mail.fw> In-Reply-To: <3FE7916A00003D78@alfa.mail.fw> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 06 Jan 2004 19:44:48.0765 (UTC) FILETIME=[8B3772D0:01C3D48D] cc: questions@freebsd.org Subject: Re: apache+php X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2004 19:41:35 -0000 gaspo1@fastwebnet.it wrote: >GASPOFWIPV6LAB# uname -a >FreeBSD GASPOFWIPV6LAB 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Thu Jan 1 08:04:10 >CET 2004 root@GASPOTB:/usr/src/sys/compile/GASPO i386 > >i have install from pkg_add the packages: >apache-1.3.28 >mysql-client-4.0.15 >PHP >---error-- >when i do : >apachectl start >usr/local/sbin/apachectl start: httpd could not be started >---------- >so,i have test also to compile httpd on my fbsd from apache.org, >and if i compile it without modules apache start,if i compile with all modules >like php cgi,apache cannot be start,the only error is:(var log) >[Tue Jan 6 20:25:56 2004] [alert] mod_unique_id: unable to gethostbyname("GASPOFWIPV6LAB") >any suggest? > > Well, that is a DNS type issue. Give your host a name either in DNS or /etc/resolv.conf, and try again. Or, disable mod_unique_id. I would hesitate in saying that this will fix your problem, though; that's just an "alert". Perhaps something else is wrong as well. I generally prefer to install apache/PHP/MySQL from the ports tree, SQL first, PHP last. Works pretty well; haven't had many issues since I started doing it that way. HTH, Kevin Kinsey