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

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

java - More than one row with the given identifier was found: 1, for class: com.model.Diagnosis -