Thanks for your answer. I think the reason was that nsadmin wasn't in the web group like postgres and though files in the pgsql/bin dir were 755, the pgsql dir was not and therefore it didn't work.