gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] trying to bootstrap database on Mac "Cannot bootstrap


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] trying to bootstrap database on Mac "Cannot bootstrap bundles."
Date: Mon, 5 Jul 2010 21:52:10 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

On Mon, Jul 05, 2010 at 12:35:46PM -0700, Jim Busser wrote:

> > For bootstrapping, however, it isn't even necessary :-)
> 
> I *think* the newest bootstrapper as recently checked-in
> (to master) -- supplemented by my uncommenting prompts for
> postgres password -- works even despite letting the
> downloaded master.tgz reside in user space (and not, as
> Sebastian previously found necessary, to copy it to /tmp/).

Yes, we fixed that today. The password still needs to be
set. Currently no way around that.

> However, in regard to the need (or lack of need) for
> 
>       local   samegroup   +gm-logins   md5
> 
> which was missing from my freshly-reinstalled postgres, the bottom of the 
> bootstrap log yielded the following, in which it seemed to look for 
> 
>       regex: local.*samegroup.*\+gm-logins
> 
> making me wonder...was that just for information, or are the warnings 
> relevant?

The console should have said something along the lines:

        print_msg('==> sanity checking PostgreSQL authentication settings ...')
        print_msg('')
        print_msg('Note that even after successfully bootstrapping the GNUmed ')
        print_msg('database PostgreSQL may still need to be configured to')
        print_msg('allow GNUmed clients to connect to it.')
        print_msg('')
        print_msg('In many standard PostgreSQL installations this amounts to')
        print_msg('adding the authentication directive:')
        print_msg('')
        print_msg('  "local   samegroup   +gm-logins   md5"')
        print_msg('')
        print_msg('in the proper place of the file:')
        print_msg('')
        print_msg('  %s' % hba_file)
        print_msg('')
        print_msg('For details refer to the GNUmed documentation at:')
        print_msg('')
        print_msg('  http://wiki.gnumed.de/bin/view/Gnumed/ConfigurePostgreSQL')
        print_msg('')

> 2010-07-05 12:03:30  INFO      gm.bootstrapper 
> (./bootstrap_gm_db_system.py::check_holy_auth_line() #893): hba file: 
> /Library/PostgreSQL/8.4/data/pg_hba.conf
> 2010-07-05 12:03:30  INFO      gm.bootstrapper 
> (./bootstrap_gm_db_system.py::check_holy_auth_line() #912): did not find 
> standard GNUmed authentication directive in pg_hba.conf
> 2010-07-05 12:03:30  INFO      gm.bootstrapper 
> (./bootstrap_gm_db_system.py::check_holy_auth_line() #913): regex: 
> local.*samegroup.*\+gm-logins

I added some code to say in the log:

        "bootstrapping is likely to have succeeded but clients probably cannot 
connect yet"

right after the above lines.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

[Prev in Thread] Current Thread [Next in Thread]