bijoy@openlx.com writes:
> psql: FATAL: Missing or erroneous pg_hba.conf file, see postmaster log for
> details
> i dunno what goes wrong...
Take the message's advice and look for details in the postmaster's log.
If you don't have a postmaster log, then either set the database to log
to syslog or fix your start script to send postmaster's stderr someplace
more useful than /dev/null.
regards, tom lane