Installation von www/apache24 schlägt fehl

Columbo0815

Kaffeemann
Teammitglied
Moin,

seit der Version 2.4.25 (also bereits ohne _1) kann ich apache24 nicht mehr in einer Jail (FreeBSD-10.3/amd64) aktualisieren/installieren. Ich erhalte nach dem Kompiliervorgang, der mE sauber durchläuft, folgende Fehlermeldung während der eigentlichen Installation:

...
Installing man pages and online manual
mkdir /var/ports/usr/ports/www/apache24/work/stage/usr/local/share/doc/apache24
cd /var/ports/usr/ports/www/apache24/work/httpd-2.4.25/docs/manual && cp -rp * /var/ports/usr/ports/www/apache24/work/stage/usr/local/share/doc/apache24
install -m 0644 /usr/ports/www/apache24/files/no-accf.conf /var/ports/usr/ports/www/apache24/work/stage/usr/local/etc/apache24/Includes/
install -m 0644 /usr/ports/www/apache24/files/README_modules.d /var/ports/usr/ports/www/apache24/work/stage/usr/local/etc/apache24/modules.d/
/usr/bin/strip /var/ports/usr/ports/www/apache24/work/stage/usr/local/sbin/* 2>/dev/null
*** Error code 1 (ignored)
/usr/bin/strip /var/ports/usr/ports/www/apache24/work/stage/usr/local/bin/*
/usr/bin/strip /var/ports/usr/ports/www/apache24/work/stage/usr/local/libexec/apache24/mod_*.so
====> Compressing man pages (compress-man)
===> Staging rc.d startup script(s)
===> Installing for apache24-2.4.25_1
===> Checking if apache24 already installed
===> Registering installation for apache24-2.4.25_1
[www.foo.bar] Installing apache24-2.4.25_1...
===> Creating groups.
Using existing group 'www'.
===> Creating users
Using existing user 'www'.
pkg-static: Fail to create temporary file: /usr/local/www/apache24/cgi-bin/.printenv.qvBkay0cMwhY: Read-only file system
cp: /usr/local/etc/apache24/extra/httpd-autoindex.conf.sample: No such file or directory
cp: /usr/local/etc/apache24/extra/httpd-default.conf.sample: No such file or directory
cp: /usr/local/etc/apache24/extra/httpd-info.conf.sample: No such file or directory
cp: /usr/local/etc/apache24/extra/httpd-languages.conf.sample: No such file or directory
cp: /usr/local/etc/apache24/extra/httpd-manual.conf.sample: No such file or directory
cp: /usr/local/etc/apache24/extra/httpd-multilang-errordoc.conf.sample: No such file or directory
cp: /usr/local/etc/apache24/extra/httpd-ssl.conf.sample: No such file or directory
cp: /usr/local/etc/apache24/extra/httpd-userdir.conf.sample: No such file or directory
cp: /usr/local/etc/apache24/extra/httpd-vhosts.conf.sample: No such file or directory
cp: /usr/local/etc/apache24/extra/proxy-html.conf.sample: No such file or directory
cp: /usr/local/etc/apache24/magic.sample: No such file or directory
cp: /usr/local/etc/apache24/mime.types.sample: No such file or directory
cp: /usr/local/share/apache24/misc/index.html: No such file or directory
pkg-static: POST-INSTALL script failed
*** Error code 70

Stop.
make[1]: stopped in /usr/ports/www/apache24
*** Error code 1

Stop.
make: stopped in /usr/ports/www/apache24

===>>> Installation of apache24-2.4.25_1 (www/apache24) failed
===>>> Aborting update


===>>> You can restart from the point of failure with this command line:
portmaster <flags> www/apache24
Natürlich ist mir die Zeile "pkg-static: Fail to create temporary file: /usr/local/www/apache24/cgi-bin/.printenv.qvBkay0cMwhY: Read-only file system" aufgefallen. Allerdings ist das Dateisystem nicht readonly und andere Ports funktionieren ebenfalls...

Tipps sind willkommen!
Danke
 
Ich bin minimal weiter... Ich hatte den falschen Pfad geprüft. /usr/local/www/apache24/cgi-bin ist tatsächlich read-only. Ich kann die flags auch nicht ändern. Auch eine Installation des offiziellen packages (pkg install apache24) schlägt mit der selben Fehlermeldung fehl. Ideen?
 
Die Lösung: PEBKAC

Der Apache läuft ja in einer Jail. Ich hatte vergessen, dass ich einen Nullfsmount (readonly natürlich...) von einer anderen Jail in die Apachejail gemountet habe... :ugly:

Herzlichen Dank dennoch für eure Anregungen! :)
 
Zurück
Oben