ubuntu - bash: etc/postgresql/8.4/main/pg_hba.conf: No such file or directory -


i159@i159-desktop:~$ psql -u geouser -w -d deodb password user geouser:  psql: fatal:  password authentication failed user "geouser" fatal:  password authentication failed user "geouser" 

after checked in /etc/postgresql/8.4/main/pg_hba.conf.

when executing above command getting error:

bash: etc/postgresql/8.4/main/pg_hba.conf: no such file or directory 

how can fix this?

postgresql doesn't start without file - pg_hba.conf should exist on server.

this file in data directory - can try

 sudo su postgres psql postgres -c "show hba_file" 

Comments

Popular posts from this blog

How to logout from a login page in asp.net -

Stack level too deep error after upgrade to rails 3.2 and ruby 1.9.3 -