Date: Sat, 02 Nov 2013 20:38:41 +0100 From: =?UTF-8?B?S29sbMOhciBDc2FiYQ==?= <csaba.kollar@openway.hu> To: apache@freebsd.org Subject: apache22 and apache22-itk-mpm port problem Message-ID: <527554C1.7040107@openway.hu>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?527554C1.7040107>