內建的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
Showing posts with label mac. Show all posts
Showing posts with label mac. Show all posts
Friday, April 29, 2011
Monday, March 21, 2011
svn on leopard
svn on leopard experience
refer to http://www.sonzea.com/articles/subversion-trac.html
Error 1
bServer/Documents/favicon.ico, referer: https://localhost/repo
[Sun Mar 20 23:51:47 2011] [error] [client ::1] (20014)Internal error: Expected FS format '2'; found format '4'
[Sun Mar 20 23:51:47 2011] [error] [client ::1] Could not fetch resource information. [500, #0]
[Sun Mar 20 23:51:47 2011] [error] [client ::1] Could not open the requested SVN filesystem [500, #160043]
[Sun Mar 20 23:51:47 2011] [error] [client ::1] Could not open the requested SVN filesystem [500, #160043]
[Sun Mar 20 23:51:47 2011] [error] [client ::1] File does not exist: /Library/WebServer/Documents/favicon.ico, referer: https://localhost/repo
Reason
After google, the problem is that there are two versions of svnadmin in my leopard, one is the built-in /usr/bin/svnadmin, and the other is /opt/local/bin/svnadmin. I used /opt/local/bin/svnadmin to create the repository, but Apache used /usr/bin/svnadmin to process the repository, so the problem "(20014)Internal error: Expected FS format '2'; found format '4'" happened.
refer to http://www.sonzea.com/articles/subversion-trac.html
Error 1
bServer/Documents/favicon.ico, referer: https://localhost/repo
[Sun Mar 20 23:51:47 2011] [error] [client ::1] (20014)Internal error: Expected FS format '2'; found format '4'
[Sun Mar 20 23:51:47 2011] [error] [client ::1] Could not fetch resource information. [500, #0]
[Sun Mar 20 23:51:47 2011] [error] [client ::1] Could not open the requested SVN filesystem [500, #160043]
[Sun Mar 20 23:51:47 2011] [error] [client ::1] Could not open the requested SVN filesystem [500, #160043]
[Sun Mar 20 23:51:47 2011] [error] [client ::1] File does not exist: /Library/WebServer/Documents/favicon.ico, referer: https://localhost/repo
Reason
After google, the problem is that there are two versions of svnadmin in my leopard, one is the built-in /usr/bin/svnadmin, and the other is /opt/local/bin/svnadmin. I used /opt/local/bin/svnadmin to create the repository, but Apache used /usr/bin/svnadmin to process the repository, so the problem "(20014)Internal error: Expected FS format '2'; found format '4'" happened.
Wednesday, August 13, 2008
mac的怪事
在此記錄mac上遇到的trobuleshooting
Q:原本可以連上的sshd, 忽然連不上
A:有一天公司對外的網路不通, 然後我的ssh就連不上同一個網段的ubuntu, 這個時候, 可以ping到那台主機, 也可以從那台主機連到我的iBook, 不過就是不能夠從我的iBook連到那台去, 之後, 對外的網路通了之後, 這問題也自然解決了, 懷疑是否lookupd的問題?
Q:原本可以連上的sshd, 忽然連不上
A:有一天公司對外的網路不通, 然後我的ssh就連不上同一個網段的ubuntu, 這個時候, 可以ping到那台主機, 也可以從那台主機連到我的iBook, 不過就是不能夠從我的iBook連到那台去, 之後, 對外的網路通了之後, 這問題也自然解決了, 懷疑是否lookupd的問題?
Wednesday, March 19, 2008
my leopard tutorial
最近想要寫iphone的application, 但iphone SDK只能在intel-based, 而且要10.5以上才能跑, 無奈我只有2台 10.4.11 的pb跟ibook
iphone SDK只能在intel-basd的機器上跑, 這方面已經有其他方法可以避開, 請參考 http://3by9.com/85/
不過aspen(iphone 模擬器)還是被限制只能在 10.5 才能夠跑
所以就把我的PB, 從10.4.11升級到10.5
升級完後, 就發現整個系統回應超級慢 儘管spotlight已經做完index
開個資料夾 彩球就開始轉
過了一個白天的考慮 覺得應該是升級的問題
所以打算先重灌10.4, 然後再升級 10.5試試
如果再不行的話 可能要去買 10.5完整版了
最後,
花了3個小時重新安裝10.4
裝完之後, 馬上升級10.5
升級完後, 再做online software update到10.5.2
這樣子下來, 果然不一樣
整個系統非常順, 不再有彩球轉不停的現象出現
當然 我的aspen也可以正常執行啦
再來 就是要抓VLC看影片
重點是如何播中文字幕
有2個地方要做設定
1) Video > Subtitles/OSD > Text renderer > Font請選擇中文字體
2) Input/Codes > Other codes > Subtitles > Subtitles text encoding 請選 big5
iphone SDK只能在intel-basd的機器上跑, 這方面已經有其他方法可以避開, 請參考 http://3by9.com/85/
不過aspen(iphone 模擬器)還是被限制只能在 10.5 才能夠跑
所以就把我的PB, 從10.4.11升級到10.5
升級完後, 就發現整個系統回應超級慢 儘管spotlight已經做完index
開個資料夾 彩球就開始轉
過了一個白天的考慮 覺得應該是升級的問題
所以打算先重灌10.4, 然後再升級 10.5試試
如果再不行的話 可能要去買 10.5完整版了
最後,
花了3個小時重新安裝10.4
裝完之後, 馬上升級10.5
升級完後, 再做online software update到10.5.2
這樣子下來, 果然不一樣
整個系統非常順, 不再有彩球轉不停的現象出現
當然 我的aspen也可以正常執行啦
再來 就是要抓VLC看影片
重點是如何播中文字幕
有2個地方要做設定
1) Video > Subtitles/OSD > Text renderer > Font請選擇中文字體
2) Input/Codes > Other codes > Subtitles > Subtitles text encoding 請選 big5
Wednesday, March 12, 2008
Tiger, 香草輸入法, 無蝦米
之前我的小白是跑10.3.9, 一直沒有打算想要升級成10.4
不過自從買了iphone之後, 似乎只能在Tiger上跑同步
所以就毅然決然的 升級到 Tiger
一開始為了要重新安裝或是用升級的方式 苦惱了一天
最後還是想要碰碰運氣 所以就大膽的從panther用升級的方法灌Tiger
大約花了1個小時的時間 就升級好了
之後 再更新到10.4.11
一切運作都還好 沒發現什麼大問題
比如 spotlight會先建立index 耗了滿多資源
Xcode 2.0 也得額外再安裝
再來 比較大的問題就是無蝦米輸入法不見了
最後找到香草輸入法+liu5.cin
(安裝完香草輸入法後, 將liu5.cin拷到/Library/OpenVanilla/0.8/Modules/OVMGeneric下)
所以現在也還滿順手
update for 10.5/10.6/10.7
0) Download OpenVanilla-OSX-Leopard-0.9.1.zip — OpenVanilla 0.9.1 for Mac OS X Leopard/Snow Leopard
1) copy OpenVanilla.app to ~/Library/Input Methods
2) logout
3) enable OpenVanilla in System Preferences > Language & Text > Input sources
4) logout
5) copy liu5.cin to ~/Library/Application Support/OpenVanilla/UserData/OVIMGeneric
不過自從買了iphone之後, 似乎只能在Tiger上跑同步
所以就毅然決然的 升級到 Tiger
一開始為了要重新安裝或是用升級的方式 苦惱了一天
最後還是想要碰碰運氣 所以就大膽的從panther用升級的方法灌Tiger
大約花了1個小時的時間 就升級好了
之後 再更新到10.4.11
一切運作都還好 沒發現什麼大問題
比如 spotlight會先建立index 耗了滿多資源
Xcode 2.0 也得額外再安裝
再來 比較大的問題就是無蝦米輸入法不見了
最後找到香草輸入法+liu5.cin
(安裝完香草輸入法後, 將liu5.cin拷到/Library/OpenVanilla/0.8/Modules/OVMGeneric下)
所以現在也還滿順手
update for 10.5/10.6/10.7
0) Download OpenVanilla-OSX-Leopard-0.9.1.zip — OpenVanilla 0.9.1 for Mac OS X Leopard/Snow Leopard
1) copy OpenVanilla.app to ~/Library/Input Methods
2) logout
3) enable OpenVanilla in System Preferences > Language & Text > Input sources
4) logout
5) copy liu5.cin to ~/Library/Application Support/OpenVanilla/UserData/OVIMGeneric
Saturday, October 27, 2007
new apple bluetooth keyboard
Subscribe to:
Posts (Atom)