I try delete and then add sendmail resource. However, it seem the configuration page still having some problem without stack trace but seem no user configuration parameter are allowed to key in.
Anyway, I've fresh install the server and the agent, now everything running well.