Обсуждение: problem connecting to pg.

Поиск
Список
Период
Сортировка

problem connecting to pg.

От
"postgresql"
Дата:
I am experimenting with running PG 7.1.2 on Mac OSX. I seem to 
have a problem with getting my users to connect. This works 
beautifully when connect to my linux box.

Any ideas?



[localhost:/etc] postgres% /usr/local/pgsql/bin/postmaster -i -p5444 -D /users/postgres/pgdata
DEBUG:  database system was shut down at 2001-08-14 09:03:12 EDT
DEBUG:  CheckPoint record at (0, 2571948)
DEBUG:  Redo record at (0, 2571948); Undo record at (0, 0); 
Shutdown TRUE
DEBUG:  NextTransactionId: 750; NextOid: 35106
DEBUG:  database system is in production state
Unable to connect to Ident server on the host which is trying to 
connect to Postgres (IP address 192.168.0.2, Port 113). errno = 
Connection refused (61)
IDENT authentication failed for user 'postgres'




Re: problem connecting to pg.

От
"Josh Berkus"
Дата:
"postgresql":

> I am experimenting with running PG 7.1.2 on Mac OSX. I seem to
> have a problem with getting my users to connect. This works
> beautifully when connect to my linux box.

Hmm ... this probably isn't the right list for you.  Try pgsql-general
or pgsql-interfaces.  As yet, there is no specific OSX resource.

Some general advice (and please take this off-list if you reply):
1. Make sure that postmaster is starting successfully (and not crashing
right after start).
2. Make sure that postmaster is starting in TCP/IP mode ( -i ).
3. Make sure that OSX's built-in firewall isn't blocking Port 5432.
4. Try setting a log file for postgresql and monitor it when you try to
connect.
5. Make sure that the access file (pg_hba.conf) allows access from your
client machine.

Personally, I'd be interested in hearing about your problems/successes.
We're planning to port Postgres to OSX.1 as soon as it comes out.

-Josh Berkus


______AGLIO DATABASE SOLUTIONS___________________________
                                       Josh Berkus
  Complete information technology      josh@agliodbs.com
   and data management solutions       (415) 565-7293
  for law firms, small businesses        fax 621-2533
    and non-profit organizations.      San Francisco

Вложения