Craig White wrote:
> logs say...
> Nov 8 20:18:26 srv1 postgresql: Starting postgresql service: succeeded
> Nov 8 20:18:39 srv1 postgres[21020]: PAM audit_open() failed:
> Permission denied
> Nov 8 20:18:39 srv1 postgres[21020]: [2-1] LOG: pam_authenticate
> failed: System error
> Nov 8 20:18:39 srv1 postgres[21020]: [3-1] FATAL: PAM authentication
> failed for user "craig"
I'm not at all familiar with PAM error message wording, but are you
aware that you must create the user "craig" inside the database _as
well_ as on whatever PAM layer you use?
The "audit_open(): Permission denied" message sounds like Postgres is
not authorized to consult PAM though.
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support