CONTENTS
#contents
----
Lastmodified &lastmod;
----
*Shared object "libdb-4.8.so.0" not found, required by "httpd" [#ca3ea81f]
http://icesquare.com/wordpress/freebsdshared-object-libaprutil-1-so-5-not-found-required-by-httpd/

pkg upgrade でApacheが入れ替わったあと、apachectl restart すると

 # apachectl restart
 Shared object "libdb-4.8.so.0" not found, required by "httpd"

というエラーがでる。で、

 portinstall databases/db48

すると、

 # apachectl restart
 Performing sanity check on apache22 configuration:
 httpd: Syntax error on line 106 of /usr/local/etc/apache22/httpd.conf:
 Cannot load /usr/local/libexec/apache22/libphp5.so into server: Cannot open "/usr/local/libexec/apache22/libphp5.so"

 root@piano2nd:/usr/local/lib # locate libphp5
 /usr/Backups/Blackcube/usr/local/libexec/apache22/libphp5.so
 /usr/local/libexec/apache22/libphp5.so
 root@piano2nd:/usr/local/lib # cp /usr/Backups/Blackcube/usr/local/libexec/apache22/libphp5.so /usr/local/libexec/apache22/

 root@piano2nd:/usr/local/lib # apachectl restart
 Performing sanity check on apache22 configuration:
 httpd: Syntax error on line 106 of /usr/local/etc/apache22/httpd.conf:
 Cannot load /usr/local/libexec/apache22/libphp5.so into server: Shared object "libpcre.so.1" not found, required by "libphp5.so"


 root@piano2nd:/usr/local/lib # locate libpcre.so
 /usr/Backups/Blackcube/usr/local/lib/libpcre.so
 /usr/Backups/Blackcube/usr/local/lib/libpcre.so.1
 /usr/local/lib/libpcre.so
 /usr/local/lib/libpcre.so.3
 root@piano2nd:/usr/local/lib # cp /usr/Backups/Blackcube/usr/local/lib/libpcre.so.1 /usr/local/lib/

 root@piano2nd:/usr/local/lib # apachectl restart
 Performing sanity check on apache22 configuration:
 Syntax OK
 Stopping apache22.
 Waiting for PIDS: 1358.
 Performing sanity check on apache22 configuration:
 Syntax OK
 Starting apache22.

----
Total access &counter(total);:本日 &counter(today);:昨日 &counter(yesterday);
#counter([total|today|yesterday]);

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS