address@hidden lib]# mkdir /var/lib/pgsql/data1 address@hidden lib]# chown postgres /var/lib/pgsql/data1 address@hidden lib]# 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 # change the port to 5433 address@hidden data1]$ pg_ctl -D /var/lib/pgsql/data1 start server starting address@hidden data1]$ LOG: Datenbanksystem wurde am 2010-09-19 15:30:45 CEST heruntergefahren LOG: Datenbanksystem ist bereit um Verbindungen anzunehmen LOG: Autovacuum-Launcher startet ^C address@hidden data1]$ exit logout address@hidden lib]# address@hidden bootstrap]# cd /usr/lib/gnumed-server/server/bootstrap address@hidden bootstrap]# mcedit bootstrap-latest.sh # change and uncomment the port to 5433 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 ~]$ address@hidden ~]$ exit logout address@hidden server]# cd /usr/lib/gnumed-server/server/ 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"? ^C address@hidden server]#