gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] bootstrap error on Mandriva 2010 - solved


From: Michael Schütt
Subject: Re: [Gnumed-devel] bootstrap error on Mandriva 2010 - solved
Date: Sun, 25 Jul 2010 17:03:53 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.10) Gecko/20100628 Mandriva/3.0.5-1mdv2010.1 (2010.1) Thunderbird/3.0.5

Am 25.07.2010 16:19, schrieb Sebastian Hilbert:

>> address@hidden Gnumed]# ./gm-bootstrap_server
>> psql: konnte nicht mit dem Server verbinden: Datei oder Verzeichnis
>> nicht gefunden
>>      Läuft der Server lokal und akzeptiert er Verbindungen
>>      auf dem Unix-Domain-Socket »/tmp/.s.PGSQL.5432«?
> 
> gm-bootstrap is still tryin port 5432.
> 
> You have a few options.
> 
> Go to bootstrap-latest.sh
> uncomment the line #export GM_DB_PORT="5433" 

I set the port before and I'm confused about the errormessage.

> 
....
> 
> See above. Ah. Your log indicated you already set the port to 5433.

yes.

> 
> Can your provide the output of
> 
> psql -l
> 
> (as user postgres)
> 
> This will show us what encoding the clusters have I guess.

here it is:
address@hidden server]# su postgres
address@hidden server]$ psql -l
                              List of databases
   Name    |  Owner   | Encoding  | Collation | Ctype |   Access
privileges
-----------+----------+-----------+-----------+-------+-----------------------
 postgres  | postgres | SQL_ASCII | C         | C     |
 template0 | postgres | SQL_ASCII | C         | C     | =c/postgres
                                                      :
postgres=CTc/postgres
 template1 | postgres | SQL_ASCII | C         | C     | =c/postgres
                                                      :
postgres=CTc/postgres
(3 rows)

address@hidden server]$
> 
> This is in the log
> 
>> password not defined, assuming connect via IDENT/TRUST
> 
> Please supply the file pg_hba.conf (in private if you have sensitive 
> information in there)

And the pg_hba.conf:
address@hidden data1]# cat /var/lib/pgsql/data1/pg_hba.conf

# PostgreSQL Client Authentication Configuration File
# ===================================================
#
...
##### only a lot of comments
...
#
# TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD

# "local" is for Unix domain socket connections only
local   all         all                               trust
# IPv4 local connections:
host    all         all         127.0.0.1/32          trust
# IPv6 local connections:
host    all         all         ::1/128               trust
address@hidden data1]#

Michael



reply via email to

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