[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gfarm-discuss:107850] Re: Just starting out with gfarm - need help...



Hi Vic,

Do you use IPv6?  Probably adding the line to the
/var/gfarm-pgsql/pg_hba.conf is enough.

You need to restart postgresql by 

	% service gfarm-pgsql restart

and, start gfmd

	% service gfmd start

Thanks,
Osamu

On Sat, 8 Jan 2011 12:38:36 -0000 (GMT)
"Vic" <gfarm@xxxxxxxxxxx> wrote:

> 
> Hi All.
> 
> I'm just trying to have a quick play with gfarm, but I've hit a snag with
> the Postgresql setup. Not being a PG user, I don't know how to fix it.
> 
> Starting gfmd fails with the following error:
> 
> 
> Starting gfmd:gfmd: [1000422] connecting PostgreSQL: FATAL:  no
> pg_hba.conf entry for host "::1", user "gfarm", database "gfarm", SSL off
> 
> gfmd: [1000209] database initialization failed: connection refused
>                                                            [FAILED]
> 
> 
> gfarm builds a pg_hba.conf in /var/gfarm-pgsql, and I modified this to add
> the line :-
> 
> host    gfarm           gfarm   ::1/128         md5
> 
> (copied from the example further up in that file)
> 
> I've also tried moving that config file around (e.g. to /etc), all to no
> avail.
> 
> Can anyone tell me what I'm doing wrong?
> 
> Thanks!
> 
> Vic.