{"id":10670,"date":"2026-11-11T13:20:58","date_gmt":"2026-11-11T04:20:58","guid":{"rendered":"https:\/\/jg7sfr.mydns.jp\/?p=10670"},"modified":"2026-11-11T13:20:59","modified_gmt":"2026-11-11T04:20:59","slug":"apache24-2-4-70-%e3%82%a2%e3%83%83%e3%83%97%e3%82%b0%e3%83%ac%e3%83%bc%e3%83%89%e5%be%8c%e3%81%aedb%e5%bd%a2%e5%bc%8f%e5%a4%89%e6%9b%b4%e3%83%a1%e3%83%83%e3%82%bb%e3%83%bc%e3%82%b8%e3%81%a8%e8%b5%b7","status":"publish","type":"post","link":"https:\/\/jg7sfr.mydns.jp\/?p=10670","title":{"rendered":"apache24-2.4.70 \u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u5f8c\u306eDB\u5f62\u5f0f\u5909\u66f4\u30e1\u30c3\u30bb\u30fc\u30b8\u3068\u8d77\u52d5\u30a8\u30e9\u30fc\u5bfe\u51e6"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">FreeBSD \u3067 <code>apache24<\/code> \u3092 <code>2.4.70<\/code> \u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u305f\u969b\u3001\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u305f\u3002<br>You may need to manually remove \/usr\/local\/etc\/apache24\/extra\/httpd-dav.conf if it is no longer needed.<br>You may need to manually remove \/usr\/local\/etc\/apache24\/extra\/httpd-default.conf if it is no longer needed.<br>You may need to manually remove \/usr\/local\/etc\/apache24\/extra\/httpd-languages.conf if it is no longer needed.<br>You may need to manually remove \/usr\/local\/etc\/apache24\/extra\/httpd-ssl.conf if it is no longer needed.<br>You may need to manually remove \/usr\/local\/etc\/apache24\/extra\/httpd-userdir.conf if it is no longer needed.<br>You may need to manually remove \/usr\/local\/etc\/apache24\/httpd.conf if it is no longer needed.<br>You may need to manually remove \/usr\/local\/etc\/apache24\/mime.types if it is no longer needed.<br><br>Message from apache24-2.4.70:<br><br>The default database format was changed from BerkeleyDB 5<br>(deprecated) from ports to BerkeleyDB 1 from base libc.<br><br>You must rebuild all your (RewriteMap) databases once after<br>upgrading from 2.4.62 to 2.4.62_1 or later.<br><br>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u5185\u3092\u691c\u7d22\u3057\u3066\u3001DBM \u5f62\u5f0f\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3059\u308b\u3002<br>grep -rnE &#8220;RewriteMap.*dbm:|AuthDBM&#8221; \/usr\/local\/etc\/apache24\/<br><br>\u691c\u7d22\u7d50\u679c\u306f\u4f55\u3082\u306a\u3057\u3002DBM \u5f62\u5f0f\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306f\u4f7f\u7528\u3057\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u518d\u69cb\u7bc9\u4f5c\u696d\u306f\u4e0d\u8981\u3060\u3063\u305f\u3002<br><br>\u518d\u8d77\u52d5\u6642\u306e\u30dd\u30fc\u30c8\u7af6\u5408\u30a8\u30e9\u30fc\u306e\u89e3\u6c7a<br>\u8a2d\u5b9a\u3092\u53cd\u6620\u3055\u305b\u308b\u305f\u3081 Apache \u3092\u518d\u8d77\u52d5\u3057\u3088\u3046\u3068\u3057\u305f\u3068\u3053\u308d\u3001\u30dd\u30fc\u30c8 80 \u304c\u3059\u3067\u306b\u4f7f\u7528\u4e2d\u3068\u3044\u3046\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u8d77\u52d5\u306b\u5931\u6557\u3057\u305f\u3002<br><br>service apache24 restart<br><br>Performing sanity check on apache24 configuration:<br>Syntax OK<br>apache24 not running? (check \/var\/run\/httpd.pid).<br>Performing sanity check on apache24 configuration:<br>Syntax OK<br>Starting apache24.<br>(48)Address already in use: AH00072: make_sock: could not bind to address [::]:80<br>(48)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80<br>no listening sockets available, shutting down<br>AH00015: Unable to open logs<br>\/usr\/local\/etc\/rc.d\/apache24: WARNING: failed to start apache24<br><br><code>httpd.pid<\/code> \u304c\u305a\u308c\u3066\u53e4\u3044\u30d7\u30ed\u30bb\u30b9\u304c\u6b8b\u3063\u305f\u307e\u307e\u306b\u306a\u3063\u3066\u3044\u305f\u305f\u3081\u3001\u30dd\u30fc\u30c8 80 \u3092\u63b4\u3093\u3067\u3044\u308b\u30d7\u30ed\u30bb\u30b9\u3092\u78ba\u8a8d\u3057\u3066\u505c\u6b62\u3055\u305b\u308b\u3002<br>sockstat -46 -l | grep :80<br>killall httpd<br><br>Apache \u306e\u8d77\u52d5\u3068\u52d5\u4f5c\u78ba\u8a8d<br>\u53e4\u3044\u30d7\u30ed\u30bb\u30b9\u3092\u505c\u6b62\u3057\u305f\u3042\u3068\u3001\u6539\u3081\u3066\u8d77\u52d5\u3092\u5b9f\u884c\u3002<br><br>service apache24 start<br><br>Performing sanity check on apache24 configuration:<br>Syntax OK<br>Starting apache24.<br><br>\u7121\u4e8b\u306b\u8d77\u52d5\u5b8c\u4e86\u3002<code>curl<\/code> \u3067\u30ed\u30fc\u30ab\u30eb\u304b\u3089\u306e\u5fdc\u7b54\u3092\u78ba\u8a8d\u3057\u3001HTTPS \u3078\u306e 301 \u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u304a\u3088\u3073 WordPress \u30b5\u30a4\u30c8\u306e\u8868\u793a\u3082\u554f\u984c\u306a\u3044\u3053\u3068\u3092\u78ba\u8a8d\u3057\u305f\u3002<br>curl -I <a href=\"http:\/\/localhost\/\">http:\/\/localhost\/<\/a><br>HTTP\/1.1 301 Moved Permanently<br>Date: Wed, 11 Nov 2026 04:09:40 GMT<br>Server: Apache<br>Location: <a href=\"https:\/\/mydns.jp\">https:\/\/mydns.jp<\/a><br>Content-Type: text\/html; charset=iso-8859-1<br><br><br>pkg info apache24<br><br>apache24-2.4.70<br>Name : apache24<br>Version : 2.4.70<br>Installed on : Wed Nov 11 12:46:35 2026 JST<br>Origin : www\/apache24<br>Architecture : FreeBSD:14:amd64<br>Prefix : \/usr\/local<br>Categories : www<br>Licenses : APACHE20<br>Maintainer : <a href=\"mailto:apache@FreeBSD.org\">apache@FreeBSD.org<\/a><br>WWW : <a href=\"https:\/\/httpd.apache.org\/\">https:\/\/httpd.apache.org\/<\/a><br>Comment : Version 2.4.x of Apache web server<\/p>\n","protected":false},"excerpt":{"rendered":"<p>FreeBSD \u3067 apache24 \u3092 2.4.70 \u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u305f\u969b\u3001\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u305f\u3002You may need to manually remove \/usr\/local\/etc\/apache24&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"image","meta":{"footnotes":""},"categories":[4],"tags":[1522],"class_list":["post-10670","post","type-post","status-publish","format-image","hentry","category-bsd","tag-apache24-2-4-70","post_format-post-format-image"],"_links":{"self":[{"href":"https:\/\/jg7sfr.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts\/10670","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jg7sfr.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jg7sfr.mydns.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jg7sfr.mydns.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jg7sfr.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10670"}],"version-history":[{"count":1,"href":"https:\/\/jg7sfr.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts\/10670\/revisions"}],"predecessor-version":[{"id":10671,"href":"https:\/\/jg7sfr.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts\/10670\/revisions\/10671"}],"wp:attachment":[{"href":"https:\/\/jg7sfr.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10670"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jg7sfr.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10670"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jg7sfr.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10670"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}