Sunday, September 30, 2012

Can't get SMTP to work, error message about passwd.db is repeated

I just enabled sendmail on my Mac Air. It works. You don't have to buy a Mac OS X server.

Please refer to this URL:

if you still have problem, refer to following URL:


how to config test report in Jenkins for GHUnit test. or JUnit test.

you have to change your shell script under Build

make clean && WRITE_JUNIT_XML=YES JUNIT_XML_DIR=tmp/test-results make test

Under Post-build Actions, check Publish JUnit test result report and enter the following in Test report XMLs:

Saturday, September 29, 2012

Run GHUnit test in command mode or Jenkins

You may got this error.

/bin/sh -c /Users/mingderwang/Desktop/testAsyncUploadFile/build/ Running: "/Users/mingderwang/Desktop/testAsyncUploadFile/build/Debug-iphonesimulator/" -RegisterForSystemEvents Couldn't register com.katdc.test.Tests with the bootstrap server. Error: unknown error code. This generally means that another instance of this process was already running or is hung in the debugger./Users/mingderwang/Desktop/testAsyncUploadFile/ line 50: 1428 Abort trap: 6 "/Users/mingderwang/Desktop/testAsyncUploadFile/build/Debug-iphonesimulator/" -RegisterForSystemEvents Command /bin/sh failed with exit code 134 ** BUILD FAILED **

Restart your jenkins, you can fix this problem.

Same error logs may happen on "make test" in source code. You can "make clean; make; make test" again.

install Jenkins (Hudson) for CI on AWS EC2 (CentOS)

Jenkins used to call "Hudson", it can building/testing software projects continuously, just like CruiseControl or DamageControl.


1. download jenkins from

sudo wget -O /etc/yum.repos.d/jenkins.repo
sudo rpm --import
     sudo yum install jenkins

2. sudo service jenkins start 

3. browse http://localhost:8080 or your hostname with port 8080.

Remark: Don't forget to add 8080 port to your Security Group for your AWS EC2 instance.

Sunday, September 9, 2012

stop EC2 instance but still charged, why?

I stop my AWS EC2 server, why it still been charged as follow? What is a provisioned storage?

Amazon EC2 EBS
  $0.12 per GB-month of provisioned storage2.133 GB-Mo0.26

the answer is :