postgres access problem http://dev.libresource.org/home/community/forum/daf41403c0a8001e012d30c2a9a6e2d9 RE : postgres access problem http://dev.libresource.org/home/community/forum/daf41403c0a8001e012d30c2a9a6e2d9/03678af6c0a8001e0090a60e7d34bd40 Guest 2006-03-16T15:13:38+01:00 RE : postgres access problem http://dev.libresource.org/home/community/forum/daf41403c0a8001e012d30c2a9a6e2d9/db69089dc0a8001e00ec544d4103ee43 Sebastien Jourdain 2006-03-08T20:50:27+01:00 Which system user did you use to create the libresource database ?

If you run it manually you should start it with this command line:

postmaster -D FULL_PATH_OF_DATABASE -i

And you should use the same user login with no password to access to the database...

The "-i" option is needed to allow the LibreSource serveur to connect to the database in TCP.

For the configuration of postgres you can keep the default one for simple demonstration.]]> postgres access problem http://dev.libresource.org/home/community/forum/daf41403c0a8001e012d30c2a9a6e2d9/daf41418c0a8001e010a78187a65305a Guest 2006-03-08T18:42:42+01:00

listen_addresses = '*'
  1. what IP interface(s) to listen on;
  2. defaults to localhost, '*' = any
port = 5432 max_connections = 100
  1. note: increasing max_connections costs about 500 bytes of shared
  2. memory per connection slot, in addition to costs from shared_buffers
  3. and max_locks_per_transaction.
#superuser_reserved_connections = 2 #unix_socket_directory = '' #unix_socket_group = '' #unix_socket_permissions = 0777 # octal #rendezvous_name = '' # defaults to the computer name

pg_hba.conf

@authcomment@
  1. TYPE DATABASE USER CIDR-ADDRESS METHOD
local all all 127.0.0.1 trust
  1. IPv4 local connections:
host all all 127.0.0.1/32 @authmethod@
  1. IPv6 local connections:
host all all ::1/128 @authmethod@

and when I run the install *.jar,

I got the message:

unable to connect to the server
ERROR>> Aconnection error has occured: org.postgresql.util.PSQLexception:FATAL:authentification ident échouée pour l'utilisateur "kevin"

I tried with postgres user, without success.

Do you know my mistake???

Thanks

keV

]]>