內建的apache2 與 macport build的 svn 版本相衝的問題記錄
[Thu Apr 28 23:52:36 2011] [error] [client ::1] (20014)Internal error: Expected FS format '2'; found format '4', referer: https://localhost/svn/
[Thu Apr 28 23:52:36 2011] [error] [client ::1] Could not fetch resource information. [500, #0], referer: https://localhost/svn/
[Thu Apr 28 23:52:36 2011] [error] [client ::1] Could not open the requested SVN filesystem [500, #160043], referer: https://localhost/svn/
[Thu Apr 28 23:52:36 2011] [error] [client ::1] Could not open the requested SVN filesystem [500, #160043], referer: https://localhost/svn/
[Thu Apr 28 23:52:36 2011] [error] [client ::1] File does not exist: /Library/WebServer/Documents/favicon.ico, referer: https://localhost/svn/wap/
10.5.8 built-in apache2 參考的 /usr/bin/svn 1.4.4
但 /var/svn 是用 /opt/local/bin/svnadmin 1.6.16 建立出來的
Apr 29 06:10:39 pbg4-17 org.apache.httpd[65275]: httpd: Syntax error on line 485 of /private/etc/apache2/httpd.conf: Syntax error on line 3 of /private/etc/apache2/extra/httpd-subversion.conf: Cannot load /usr/libexec/apache2/mod_dav_svn_1.6.16.so into server: dlopen(/usr/libexec/apache2/mod_dav_svn_1.6.16.so, 10): Library not loaded: /usr/local/lib/libsvn_fs_base-1.0.dylib\n Referenced from: /usr/libexec/apache2/mod_dav_svn_1.6.16.so\n Reason: image not found
就算重build一個 mod_dav_svn_1.6.16.so, 也是沒有辦法
看起來是 apache2 參考到的 /usr/local/lib/libsvn_fs_base-1.0.dylib
沒有辦法打開這個 so
所以目前的方式是重新用 /usrbin/svnadmin 建立 repository
下一步可能考慮重新build apache2 2.2.17 and svn 1.6.16
[Fri Apr 29 06:17:43 2011] [notice] Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.7l DAV/2 SVN/1.4.4 configured -- resuming normal operations
No comments:
Post a Comment