I suffered a pain with Python on the MacPorts. I'd like to connect Trac with Subversion to use it efficiently. But there were always a problem when its plugins were active. Finally I fixed it and knew what was a problem. 

The Trac's guide  suggests below procedures. 
sudo port install apache2
sudo port install subversion +mod_dav_svn
sudo port install trac

After these the problem is occurred when it is linked with Subversion. Python is crashed with below error message.   
Fatal Python error: Interpreter not initialized (version mismatch?)

You have to follow below procedures after setting the MacPorts python as default to solve this problem. 
sudo port -f uninstall subversion-python25bindings
sudo port clean --all subversion-python25bindings
sudo port install subversion-python25bindings

After all, I could have my own knowledgebase system. ^^


  1. Les habitants de Pernes-les-Fontaines ont d? être bien surpris en voyant le nom de leur commune transformé en "Boney M City" dans la nuit, http://www.moncleroutletespain.com/ moncler outlet. A Althen-des-Paluds, le panneau signalisant la commune a lui, été remplacé par un "Ségolène-Royal-en-forêt" , http://www.moncleroutletespain.com/ moncler online, Avignon s'est transformé en "Groville" et Carpentras en "Maroufle", http://www.moncleroutletespain.com/ moncler chaquetas...Une blague d'un certain Fesseman, farceur du collectif "tuesuncon.com", http://www.moncleroutletespain.com/ moncler españa, rapporte mercredi le quotidien régional la Provence. ?Le nom des villes ou communes ainsi été masqué par des papiers collés et rebaptisés avec les appellations farfelues de Groland, http://www.moncleroutletespain.com/ http://www.moncleroutletespain.com/, l'émission de Canal Plus, http://www.moncleroutletespain.com/ moncler. Une mission qui ne devrait pas s'arrêter là puisque le blagueur projette de se rendre à Paris pour renommer Matignon en "h?tel Fran?ois Pignon"...??? Insolite Une fillette canadienne de dix ans découvre une supernova Insolite Le policier qui a verbalisé un tracteur à Paris attendu en guest-star à GouzougnatRelated articles:

    http://lparam.tistory.com/10 http://lparam.tistory.com/10

    http://www.jkun.net/24 http://www.jkun.net/24

  2. Deux jeunes de 16 ans et 18 ans ont été interpellés au début de la semaine à Paris, http://www.moncleroutletespain.com/ moncler españa, soup, http://www.moncleroutletespain.com/ http://www.moncleroutletespain.com/?onnés d'avoir agressé puis poignardé un homme dans son hall d'immeuble pour lui voler son téléphone portable, http://www.moncleroutletespain.com/ moncler online, a-t-on appris vendredi de source policière, http://www.moncleroutletespain.com/ moncler outlet.Related articles:

    http://joon81.tistory.com/17 http://joon81.tistory.com/17

    http://heohyoungsam.tistory.com/?page=18 http://heohyoungsam.tistory.com/?page=18

  3. Open this <a href="http://Essaysservice.com">link</a> in case you want to purchase excellent college research paper and take in the whole beauty our good custom writing papers.

A few years ago, I felt that it is need to take a knowledge base system to support my tired brain. It is very stressful to work as a security consultant and a penetration tester because many techniques are being out of the world. Moreover a security professional must know more information and techniques better than its local professionals such as programmers, network engineers, system engineers. So it is important to keep the past information as much as to study new information. 

I decided to build my own using the Trac. Past I tried to build my department KB using the MoniWiki. I thought the Trac is more powerful. Currently I think it was right. 
It is easy to install the Trac on Mac OS X using the MacPorts. Please refer its installation guide how to install the MacPorts on your Mac OS X. You can install the Trac using 'port' command. It is more detail to view the Trac's installation guide.  
sudo port install apache2
sudo port install subversion + mod_dav_svn
sudo port install trac

After installation it is need to create your project. My project base directory is under my home directory. 
trac-admin /Users/bar4mi/Trac/mykb initenv

To use authentication it is need to make passwd using htpasswd which is inclued in apache package.
sudo htpasswd -c /Users/bar4mi/Trac/.htpasswd bar4mi

One thing you have to know is a problem using the Trac with mod_python25. I tried to install it with the mod_python25 but to fail it. it is the problem of the MacPorts package. I think so. So I run it with standalone mode. (Additionally to know is that the Mac OS X includes it's bundle apache. It's location is /usr/sbin/apachectl, the apache on the Macports is /opt/local/apacche2/bin/apachectl. Don't forget it! )
tracd -p 8000 --basic-auth=mykb,/Users/bar4mi/Trac/.htpasswd,"" /Users/bar4mi/Trac/mykb

So I have my private knowledge base system. What to remain is to fill it up. 


  1. 정우철 2009.03.12 14:36

    전 다 구현해놓고 Wiki만 쓰고 있네요 ^^;;

  2. 나도 현재는 그러네 ㅎㅎㅎ 일과 학업에 쫓기다보니....
    일단은 뭔가 그럴싸하게 시작한다는 의미보다는 그때 그때 잘 활용하고 쌓자는 방법으로 접근하고 있어 :)
    쌓다가 보면 뭔가 하나가 나올 듯

    현재는 Trac, MindManager, DevonThink를 이용해서 지식을 관리하고 있는 중... 기초적 사용법부터 시작해서 차차 고급화로 가자는 것이 나의 생각 ^^ 그런데 너무 편리하다는 거~ 모든 사람들한테 권하고 싶넹 ㅎㅎㅎ

  3. 아.. 수집한 문서(E-Book, Bookmark, Txt)는 DevonThink를 이용해서 관리하고, 생각과 글을 정리하는 도구로는 MindManager를 활용. 그리고 뭔가 적어두고 해야 할 때는 Word나 Txt 형태보다 Trac을 이용해서 Link-to-Link로 문서를 작성해두니까....편리하다는 :)

    올해 논문 3개를 계획하고 있는데... 이걸 적극적으로 활용하면 나올 수도 -_-v

    무엇보다 Apache 구동해서 Trac 운영하고 VMWare로 윈도우즈 연동하고 이런 저런 애플리케이션을 띄워도 버벅거림이 거의 없는 맥이 날 돕고 있넹 ㅋㅋㅋ

Last week I failed to demonstrate the usage of Metasploit. Because it had problem with ruby 1.8.7. You can find this issue at Metasploit's blog. It's very late time in Korea. So I'd like to write this subject shortly. 

1st, We verify the ruby's version which we want to install. We can find its revision number from below site. I found the revision number(36429) what I want to install.

2nd, We have to set up a local repository(mkdir /Users/Shared/dports) and in /opt/local/etc/macports/sources.conf add below line before rsync.

3rd, install ruby port into our local repository.
svn co -r 36429 http://svn.macports.org/repository/trunk/dports/lang/ruby/ lang/ruby/
svn co -r 36429 http://svn.macports.org/repository/macports/trunk/dports/lang/ruby/ lang/ruby/

4th, run portindex. 
portindex /Users/Shared/dports

5th, verify our ruby's port number in ports list. You can see the 1.8.6-p114.
port list

6th, install our old ruby port.
port install ruby @1.8.6-p114

We can see simple lines for installing ruby ports below. 
--->  Fetching ruby
--->  Attempting to fetch ruby-1.8.6-p114.tar.gz from http://www.ibiblio.org/pub/languages/ruby/1.8
--->  Attempting to fetch ruby-1.8.6-p114.tar.gz from http://mirrors.sunsite.dk/ruby/1.8
--->  Attempting to fetch ruby-1.8.6-p114.tar.gz from ftp://xyz.lcs.mit.edu/pub/ruby/1.8
--->  Verifying checksum(s) for ruby
--->  Extracting ruby
--->  Applying patches to ruby
--->  Configuring ruby
--->  Building ruby with target all
--->  Staging ruby into destroot
--->  Installing ruby 1.8.6-p114_0+darwin_9+thread_hooks
--->  Activating ruby 1.8.6-p114_0+darwin_9+thread_hooks
--->  Cleaning ruby

Finally, we can verify our installed ruby version. 
ruby -v

Good night! and be careful cold. T.T 


  1. popeye 2008.09.29 12:13

    I just deactived 1.8.7 and active 1.8.6, and MSF looks working good.


  2. dpkg lover 2008.10.23 21:45

    Fix typo in 3rd.
    - svn co -r 36429 http://svn.macports.org/repository/trunk/dports/lang/ruby/ lang/ruby/
    + svn co -r 36429 http://svn.macports.org/repository/macports/trunk/dports/lang/ruby/ lang/ruby/

  3. Thank you, dpkg lover
    I modified it as what you recommended. :)

이전 1 다음