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 - not really solved


From: Michael Schütt
Subject: Re: [Gnumed-devel] bootstrap error on Mandriva 2010 - not really solved
Date: Sat, 25 Sep 2010 13:52:40 +0200

Am Thu, 23 Sep 2010 12:44:11 +0200
schrieb Sebastian Hilbert <address@hidden>:


> 
> A while back GNUmed-server was changed to gnumed-server so the log
> file should be there. The other one is an old one.
> 
> If you can run the bootstraping again and have a look where at the
> console output. It should tell you where it stores the log file.
> 
> Sebastian
> 
Whats wrong with my mail???
Here the consoleoutput:
address@hidden Downloads]# urpmi gnumed-server*
Um die Abhängigkeit von »postgresql-plpython« zu erfüllen, wird eines
der folgenden Pakete benötigt: 1-
postgresql8.5-plpython-8.5-0.alpha3.1mdv2010.1.i586: The PL/Python
procedural language for PostgreSQL (zu installieren) 2-
postgresql8.4-plpython-8.4.4-1mdv2010.1.i586: The PL/Python procedural
language for PostgreSQL (zu installieren) 3-
postgresql8.3-plpython-8.3.11-1mdv2010.1.i586: The PL/Python procedural
language for PostgreSQL (zu installieren) 4-
postgresql8.2-plpython-8.2.17-1mdv2010.1.i586: The PL/Python procedural
language for PostgreSQL (zu installieren) Ihre Wahl? (1-4) 2 Um die
Abhängigkeit von »postgresql-plpgsql« zu erfüllen, wird eines der
folgenden Pakete benötigt: 1-
postgresql8.5-plpgsql-8.5-0.alpha3.1mdv2010.1.i586: The PL/PgSQL
procedural language for PostgreSQL (zu installieren) 2-
postgresql8.4-plpgsql-8.4.4-1mdv2010.1.i586: The PL/PgSQL procedural
language for PostgreSQL (zu installieren) 3-
postgresql8.3-plpgsql-8.3.11-1mdv2010.1.i586: The PL/PgSQL procedural
language for PostgreSQL (zu installieren) 4-
postgresql8.2-plpgsql-8.2.17-1mdv2010.1.i586: The PL/PgSQL procedural
language for PostgreSQL (zu installieren) Ihre Wahl? (1-4) 2 Um die
Abhängigkeiten zu erfüllen, werden die folgenden Pakete installiert:
Paket                          Version      Release       Arch (Medium
»Main (Official2010.1-1)«) libpq8.4_5                     8.4.4
1mdv2010.1    i586 postgresql8.4                  8.4.4
1mdv2010.1    i586 postgresql8.4-plpgsql          8.4.4
1mdv2010.1    i586 postgresql8.4-plpython         8.4.4
1mdv2010.1    i586 postgresql8.4-server           8.4.4
1mdv2010.1    i586 (Medium »Main Updates (Official2010.1-2)«)
sudo                           1.7.2        0.p7.1.1mdv2> i586 (Medium
»Contrib (Official2010.1-9)«) python-egenix-mx-base
3.1.3        1mdv2010.1    i586 python-psycopg2
2.0.13       1mdv2010.1    i586 (Befehlszeile)
gnumed-server                  14.2         8.1           i586 50MB
zusätzlicher Speicher wird benötigt 23MB an Paketen wird geholt
Fortfahren mit der Installation der 9 Pakete? (J/n) 


    $MIRRORLIST:
    media/main/release/postgresql8.4-8.4.4-1mdv2010.1.i586.rpm
    $MIRRORLIST:
    media/main/release/postgresql8.4-plpython-8.4.4-1mdv2010.1.i586.rpm
    $MIRRORLIST:
    media/main/release/postgresql8.4-plpgsql-8.4.4-1mdv2010.1.i586.rpm
    $MIRRORLIST:
    media/main/release/libpq8.4_5-8.4.4-1mdv2010.1.i586.rpm
    $MIRRORLIST:
    media/main/release/postgresql8.4-server-8.4.4-1mdv2010.1.i586.rpm
    $MIRRORLIST:
    media/main/updates/sudo-1.7.2-0.p7.1.1mdv2010.1.i586.rpm
    $MIRRORLIST:
    media/contrib/release/python-psycopg2-2.0.13-1mdv2010.1.i586.rpm
    $MIRRORLIST:
    media/contrib/release/python-egenix-mx-base-3.1.3-1mdv2010.1.i586.rpm
    python-psycopg2-2.0.13-1mdv2010.1.i586.rpm
    postgresql8.4-plpython-8.4.4-1mdv2010.1.i586.rpm
    postgresql8.4-8.4.4-1mdv2010.1.i586.rpm
    postgresql8.4-plpgsql-8.4.4-1mdv2010.1.i586.rpm
    libpq8.4_5-8.4.4-1mdv2010.1.i586.rpm
    python-egenix-mx-base-3.1.3-1mdv2010.1.i586.rpm
    sudo-1.7.2-0.p7.1.1mdv2010.1.i586.rpm
    postgresql8.4-server-8.4.4-1mdv2010.1.i586.rpm
    von /var/cache/urpmi/rpms wird installiert Vorbereiten
    …                    ######################################## 1/9:
    libpq8.4_5            ######################################## 2/9:
    postgresql8.4         ######################################## 3/9:
    postgresql8.4-server  ######################################## 4/9:
    python-egenix-mx-base ######################################## 5/9:
    python-psycopg2       ######################################## 6/9:
    postgresql8.4-plpython ########################################
    7/9: postgresql8.4-plpgsql ########################################
    8/9: sudo                  ########################################
    ----------------------------------------------------------------------
    Mehr Informationen über das Paket
    postgresql8.4-server-8.4.4-1mdv2010.1.i586 You just installed or
    updated postgresql server. You can find important information about
    mandriva postgresql rpms and database management in:

/usr/share/doc/postgresql8.4-server/postgresql.mdv.releasenote

Please read it.

----------------------------------------------------------------------


Warnung: gnumed-server-14.2-8.1.i586.rpm: Header V3 DSA-Signatur:
NOKEY, Schlüssel-ID 27cbcf35 Folgendes Paket hat eine inkorrekte
Signatur: gnumed-server-14.2-8.1.i586.rpm: Falsche Signatur (NOT OK (no
key): gnumed-server-14.2-8.1.i586.rpm: Header V3 DSA-Signatur: NOKEY,
Schlüssel-ID 27cbcf35) Wollen Sie die Installation fortsetzen? (j/N) j
gnumed-server-14.2-8.1.i586.rpm wird installiert Vorbereiten
…                    ######################################## 9/9:
gnumed-server         ########################################
address@hidden Downloads]# mkdir /var/lib/pgsql/data1 address@hidden
Downloads]# chown postgres /var/lib/pgsql/data1 address@hidden
Downloads]# su - postgressu su: Benutzer postgressu existiert nicht
address@hidden Downloads]# su - postgres
address@hidden ~]$ /usr/bin/initdb --locale=de_DE.UTF-8
-D /var/lib/pgsql/data1 The files belonging to this database system
will be owned by user "postgres". This user must also own the server
process.

The database cluster will be initialized with locale de_DE.UTF-8.
The default database encoding has accordingly been set to UTF8.
The default text search configuration will be set to "german".

fixing permissions on existing directory /var/lib/pgsql/data1 ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 28MB
creating configuration files ... ok
creating template1 database in /var/lib/pgsql/data1/base/1 ... ok
initializing pg_authid ... ok
initializing dependencies ... ok
creating system views ... ok
loading system objects' descriptions ... ok
creating conversions ... ok
creating dictionaries ... ok
setting privileges on built-in objects ... ok
creating information schema ... ok
vacuuming database template1 ... ok
copying template1 to template0 ... ok
copying template1 to postgres ... ok

WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the -A option the
next time you run initdb.

Success. You can now start the database server using:

    /usr/bin/postgres -D /var/lib/pgsql/data1
or
    /usr/bin/pg_ctl -D /var/lib/pgsql/data1 -l logfile start

address@hidden ~]$ mcedit /var/lib/pgsql/data1/postgresql.conf

address@hidden ~]$ g_ctl -D /var/lib/pgsql/data1 start
-bash: g_ctl: command not found
address@hidden ~]$ pg_ctl -D /var/lib/pgsql/data1 start
server starting
address@hidden ~]$ LOG:  Datenbanksystem wurde am 2010-09-25
13:21:14 CEST heruntergefahren LOG:  Datenbanksystem ist bereit um
Verbindungen anzunehmen LOG:  Autovacuum-Launcher startet

address@hidden ~]$ exit
logout
address@hidden Downloads]# cd /usr/lib/gnumed-server/server/bootstrap
address@hidden bootstrap]# mcedit bootstrap-latest.sh

address@hidden bootstrap]# su - postgres
address@hidden ~]$ psql -p 5433 -l
                                  List of databases
   Name    |  Owner   | Encoding |  Collation  |    Ctype    |   Access
privileges
-----------+----------+----------+-------------+-------------+-----------------------
postgres  | postgres | UTF8     | de_DE.UTF-8 | de_DE.UTF-8 | template0
| postgres | UTF8     | de_DE.UTF-8 | de_DE.UTF-8 | =c/postgres :
postgres=CTc/postgres template1 | postgres | UTF8     | de_DE.UTF-8 |
de_DE.UTF-8 | =c/postgres : postgres=CTc/postgres
(3 rows)


address@hidden ~]$ pg_ctl -D /var/lib/pgsql/data1 stop 
LOG:  intelligentes Herunterfahren verlangt
waiting for server to shut down....LOG:  Autovacuum-Launcher f?hrt
herunter LOG:  fahre herunter
LOG:  Datenbanksystem ist heruntergefahren
 done
server stopped
address@hidden ~]$ exit
logout
address@hidden bootstrap]# cd /usr/lib/gnumed-server/server/
address@hidden server]# su - postgres
address@hidden ~]$ pg_ctl -D /var/lib/pgsql/data1 start
server starting
address@hidden ~]$ LOG:  Datenbanksystem wurde am 2010-09-25
13:27:24 CEST heruntergefahren LOG:  Datenbanksystem ist bereit um
Verbindungen anzunehmen LOG:  Autovacuum-Launcher startet

address@hidden ~]$ exit
logout
address@hidden server]# ./gm-bootstrap_server
psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
Your PostgreSQL installation seems not to have lc_ctype UTF-8 or C.
This will most probably lead to failures of the GNUmed server
installation.
===========================================================
Bootstrapping latest GNUmed database.

This will set up a GNUmed database of version v14
with the name "gnumed_v14".
psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
^C





reply via email to

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