• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Postgres
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Postgres


  • Subject: Re: Postgres
  • From: Giorgio Valoti <email@hidden>
  • Date: Wed, 29 Oct 2003 16:51:57 +0100

On Mercoledl, ott 29, 2003, at 16:15 Europe/Rome, Philip Mvtteli wrote:

Am 29.10.2003 um 15:29 schrieb Giorgio Valoti:
On Mercoledl, ott 29, 2003, at 14:38 Europe/Rome, Philip Mvtteli wrote:
sudo -u postgres /sw/bin/pg_ctl start -D /sw/var/postgresql/data -l /sw/var/postgresql/logfile -o -i

should be enough. So, let's see... Is your pg_hba.conf file correctly configured? With something like this:


# TYPE DATABASE IP_ADDRESS MASK AUTH_TYPE AUTH_ARGUMENT
host all 127.0.0.1 255.255.255.255 trust

When I put just this, I have the following error from Webmin: "SQL select version() failed : No pg_hba.conf entry for host localhost, user postgres, database template1"


And from EOModeler isn't any change, nor any log messages.


Before I had this:

# TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD
local all all trust
host all all 127.0.0.1 255.255.255.255 trust



local is for UNIX domain sockets, which could explain why you can connect with Webmin but not with eomodeler.
The second entry should be enough to let access your db from the loopback interface. You can enable your whole local subnet, but you should have the same results:


...	IP_ADDRESS	MASK               ...
...	192.168.93.0	255.255.255.0      ...


I also see, that in your list, there's no USER? How come?

I'm using pgSQL 7.2

--
Giorgio Valoti
-------------
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Postgres
      • From: Philip Mötteli <email@hidden>
    • WO Adapter for Mysql
      • From: Franck Leveneur <email@hidden>
References: 
 >Re: Postgres (From: Philip Mötteli <email@hidden>)

  • Prev by Date: Re: Postgres
  • Next by Date: Re: getting the lastObject value from an NSArray - How to has escaped me
  • Previous by thread: Re: Postgres
  • Next by thread: WO Adapter for Mysql
  • Index(es):
    • Date
    • Thread