![](https://seccdn.libravatar.org/avatar/eb285856d0e2555b263c3583d0abf430.jpg?s=120&d=mm&r=g)
Art Fore wrote:
when I enter psql template1 I get could not connect to server: No such file or directory is the server running locally and accepting connection on Unix domain socket "tmp/.s.PSQL.5432"?
See my previous post about the "-i" option, this is the most common error people make.
I am trying to run this on localhost. I had it running at one time, but it quit. I uninstalled and reinstalled, and still cannot even rcpostgresql start. I get Initializing the Postgresql database at location /var/lib/pgsql/data failed. You can find a log of the initialisation in "postgres/initlog. Have no idea where this log is. There is an initlog in /var/lib/pgsql but that has no information.
/var/log/postgresql
There was a config file before that I changed for the host, etc., but can't find it again.
/var/lib/pgsql/data/pg_hba.conf For simplest usage (no security), change the host line like this: local all trust #host all 127.0.0.1 255.255.255.255 trust host all 0.0.0.0 0.0.0.0 trust -- ============================================================== Glenn Holmer (Linux registered user #16682) -------------------------------------------------------------- If you make a small change to a program, it can result in an enormous change in what the program does. If nature worked that way, the universe would crash all the time. -------------------------------------------------------------- -Jaron Lanier ==============================================================