From owner-freebsd-apache@FreeBSD.ORG Sat Nov 2 20:22:06 2013 Return-Path: Delivered-To: apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BC1A0373 for ; Sat, 2 Nov 2013 20:22:06 +0000 (UTC) (envelope-from csaba.kollar@openway.hu) Received: from sylvanas.ow.hu (sylvanas.ow.hu [62.112.194.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 47CB32714 for ; Sat, 2 Nov 2013 20:22:05 +0000 (UTC) Received: from [176.63.185.38] (helo=chals-imac.lan) by sylvanas.ow.hu with esmtpa (Exim 4) id 1Vch1k-0002LR-AW for apache@freebsd.org; Sat, 02 Nov 2013 20:38:32 +0100 Message-ID: <527554C1.7040107@openway.hu> Date: Sat, 02 Nov 2013 20:38:41 +0100 From: =?UTF-8?B?S29sbMOhciBDc2FiYQ==?= Organization: OpenWay User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: apache@freebsd.org Subject: apache22 and apache22-itk-mpm port problem Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: csaba.kollar@openway.hu List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Nov 2013 20:22:06 -0000 Hi, I think I have found some problems with port apache22 and apache22-itk-mpm: On a fresh and clean 9.2-RELEASE (amd64) system, after finish the installation, I only did these things: Update to 9.2-RELEASE-p1: # freebsd-update fetch # freebsd-update install Install ports-tree (Because I disabled ports during installation): # portsnap fetch # porsnap extract Install Apache 2.2.25: # cd /usr/ports/apache22 # make config (options leave default) # make install Evrything looks good with compiling apache and dependencies, but get some errors at the end of the installation: ... ... ... ===> Installing for apache22-2.2.25 ===> Checking if www/apache22 already installed ===> Creating users and/or groups. Using existing group 'www'. Using existing user 'www'. cp: /usr/local/etc/apache22/extra/httpd-autoindex.conf: No such file or directory pkg_add: command '[ -f /usr/local/etc/apache22/extra/httpd-autoindex.conf ] || cp /usr/local/share/examples/apache22/extra/httpd-autoindex.conf /usr/local/etc/apache22/extra/httpd-autoindex.conf' failed cp: /usr/local/etc/apache22/extra/httpd-dav.conf: No such file or directory pkg_add: command '[ -f /usr/local/etc/apache22/extra/httpd-dav.conf ] || cp /usr/local/share/examples/apache22/extra/httpd-dav.conf /usr/local/etc/apache22/extra/httpd-dav.conf' failed cp: /usr/local/etc/apache22/extra/httpd-default.conf: No such file or directory pkg_add: command '[ -f /usr/local/etc/apache22/extra/httpd-default.conf ] || cp /usr/local/share/examples/apache22/extra/httpd-default.conf /usr/local/etc/apache22/extra/httpd-default.conf' failed cp: /usr/local/etc/apache22/extra/httpd-info.conf: No such file or directory pkg_add: command '[ -f /usr/local/etc/apache22/extra/httpd-info.conf ] || cp /usr/local/share/examples/apache22/extra/httpd-info.conf /usr/local/etc/apache22/extra/httpd-info.conf' failed cp: /usr/local/etc/apache22/extra/httpd-languages.conf: No such file or directory pkg_add: command '[ -f /usr/local/etc/apache22/extra/httpd-languages.conf ] || cp /usr/local/share/examples/apache22/extra/httpd-languages.conf /usr/local/etc/apache22/extra/httpd-languages.conf' failed cp: /usr/local/etc/apache22/extra/httpd-manual.conf: No such file or directory pkg_add: command '[ -f /usr/local/etc/apache22/extra/httpd-manual.conf ] || cp /usr/local/share/examples/apache22/extra/httpd-manual.conf /usr/local/etc/apache22/extra/httpd-manual.conf' failed cp: /usr/local/etc/apache22/extra/httpd-mpm.conf: No such file or directory pkg_add: command '[ -f /usr/local/etc/apache22/extra/httpd-mpm.conf ] || cp /usr/local/share/examples/apache22/extra/httpd-mpm.conf /usr/local/etc/apache22/extra/httpd-mpm.conf' failed cp: /usr/local/etc/apache22/extra/httpd-multilang-errordoc.conf: No such file or directory pkg_add: command '[ -f /usr/local/etc/apache22/extra/httpd-multilang-errordoc.conf ] || cp /usr/local/share/examples/apache22/extra/httpd-multilang-errordoc.conf /usr/local/etc/apache22/extra/httpd-multilang-errordoc.conf' failed cp: /usr/local/etc/apache22/extra/httpd-ssl.conf: No such file or directory pkg_add: command '[ -f /usr/local/etc/apache22/extra/httpd-ssl.conf ] || cp /usr/local/share/examples/apache22/extra/httpd-ssl.conf /usr/local/etc/apache22/extra/httpd-ssl.conf' failed cp: /usr/local/etc/apache22/extra/httpd-userdir.conf: No such file or directory pkg_add: command '[ -f /usr/local/etc/apache22/extra/httpd-userdir.conf ] || cp /usr/local/share/examples/apache22/extra/httpd-userdir.conf /usr/local/etc/apache22/extra/httpd-userdir.conf' failed cp: /usr/local/etc/apache22/extra/httpd-vhosts.conf: No such file or directory pkg_add: command '[ -f /usr/local/etc/apache22/extra/httpd-vhosts.conf ] || cp /usr/local/share/examples/apache22/extra/httpd-vhosts.conf /usr/local/etc/apache22/extra/httpd-vhosts.conf' failed /usr/local/share/examples/apache22/httpd.conf -> /usr/local/etc/apache22/httpd.conf To run apache www server from startup, add apache22_enable="YES" in your /etc/rc.conf. Extra options can be found in startup script. Your hostname must be resolvable using at least 1 mechanism in /etc/nsswitch.conf typically DNS or /etc/hosts or apache might have issues starting depending on the modules you are using. -------------------------------------------------------------------------- And of corse, lot of config files missing in /usr/local/etc/apache22: # ls -la /usr/local/etc/apache22 drwxr-xr-x 3 root wheel 512 Nov 2 19:06 . drwxr-xr-x 7 root wheel 512 Nov 2 19:06 .. drwxr-xr-x 2 root wheel 512 Nov 2 19:06 Includes -rw-r--r-- 1 root wheel 16838 Nov 2 19:06 httpd.conf -rw-r--r-- 1 root wheel 12958 Nov 2 19:06 magic -rw-r--r-- 1 root wheel 53011 Nov 2 19:06 mime.types The apache22-itk-mpm port have a similar problem, but sereval config files missing. Thanks for the help! -- Csaba Kollar