View previous topic :: View next topic |
Author |
Message |
stephelton Tux's lil' helper
Joined: 29 Mar 2004 Posts: 84 Location: Dallas, TX, USA
|
Posted: Wed Dec 23, 2009 7:41 am Post subject: postgresql configuration fails |
|
|
I've got postgres installed:
Code: |
eix postgres
...
[I] dev-db/postgresql
Available versions: 7.3.21 7.4.19 ~7.4.26 8.0.15 ~8.0.22 8.1.11 ~8.1.18 ~8.2.6 ~8.2.7 ~8.2.14 {doc kerberos kernel_linux nls pam perl pg-intdatetime python readline selinux ssl tcl test xml zlib}
Installed versions: 8.1.11(01:30:39 12/23/09)(pam perl python readline ssl tcl zlib -doc -kerberos -nls -pg-intdatetime -selinux -test -xml)
Homepage: http://www.postgresql.org/
Description: Sophisticated and powerful Object-Relational DBMS.
...
|
and am having trouble running the configuration script:
Code: |
emerge postgresql --config
Configuring pkg...
* Creating the data directory ...
* Initializing the database ...
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 C.
fixing permissions on existing directory /var/lib/postgresql/data ... ok
creating directory /var/lib/postgresql/data/global ... ok
creating directory /var/lib/postgresql/data/pg_xlog ... ok
creating directory /var/lib/postgresql/data/pg_xlog/archive_status ... ok
creating directory /var/lib/postgresql/data/pg_clog ... ok
creating directory /var/lib/postgresql/data/pg_subtrans ... ok
creating directory /var/lib/postgresql/data/pg_twophase ... ok
creating directory /var/lib/postgresql/data/pg_multixact/members ... ok
creating directory /var/lib/postgresql/data/pg_multixact/offsets ... ok
creating directory /var/lib/postgresql/data/base ... ok
creating directory /var/lib/postgresql/data/base/1 ... ok
creating directory /var/lib/postgresql/data/pg_tblspc ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 1000
creating configuration files ... ok
creating template1 database in /var/lib/postgresql/data/base/1 ... ok
initializing pg_authid ... ok
enabling unlimited row size for system tables ... ok
initializing dependencies ... ok
creating system views ... ok
loading pg_description ... ok
creating conversions ... FATAL: dynamic load not supported
child process exited with exit code 1
initdb: removing contents of data directory "/var/lib/postgresql/data"
*
* You can use the '/etc/init.d/postgresql' script to run PostgreSQL instead of 'pg_ctl'.
*
|
I'm not able to find anything remotely useful online. This is an old system, so there could be some old nastiness laying around. That said, a revdep rebuild found no problems.
Any thoughts? _________________ http://blog.stephenashelton.com/ |
|
Back to top |
|
|
richard.scott Veteran
Joined: 19 May 2003 Posts: 1497 Location: Oxfordshire, UK
|
Posted: Wed Dec 23, 2009 11:56 am Post subject: |
|
|
try removing that version and emerge these:
Code: | virtual/postgresql-base
virtual/postgresql-server
|
You may need to unmask/keyword these packages:
Code: | virtual/postgresql-base
virtual/postgresql-server
dev-db/postgresql-base
dev-db/postgresql-server
app-admin/eselect-postgresql |
You can then run the latest 8.4 version
Rich. |
|
Back to top |
|
|
stephelton Tux's lil' helper
Joined: 29 Mar 2004 Posts: 84 Location: Dallas, TX, USA
|
|
Back to top |
|
|
|