Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
postgresql configuration fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
stephelton
Tux's lil' helper
Tux's lil' helper


Joined: 29 Mar 2004
Posts: 84
Location: Dallas, TX, USA

PostPosted: Wed Dec 23, 2009 7:41 am    Post subject: postgresql configuration fails Reply with quote

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
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Wed Dec 23, 2009 11:56 am    Post subject: Reply with quote

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
View user's profile Send private message
stephelton
Tux's lil' helper
Tux's lil' helper


Joined: 29 Mar 2004
Posts: 84
Location: Dallas, TX, USA

PostPosted: Wed Dec 23, 2009 4:33 pm    Post subject: Reply with quote

No love )=
_________________
http://blog.stephenashelton.com/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum