For the PostgreSQL problem, you have to "createuser nsadmin" first if you haven't already done so.
Sincerely,