dbTalk Databases Forums  

[BUGS] hpux 11.11 initdb error

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] hpux 11.11 initdb error in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ed Stouder
 
Posts: n/a

Default [BUGS] hpux 11.11 initdb error - 12-19-2003 , 11:47 AM






HP-UX 11.11

PostgreSQL Version 7.4


installation to non default location

../configure --prefix=/usr/local/pgsql74


After make and instalation which appears to have worked, the initdb process
fails with the following.

creating conversions... ERROR: could not access file
"$libdir/ascii_and_mic": N
o such file or directory


Example:

$ /usr/local/pgsql74/bin/initdb -D /pgsql
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 /pgsql... ok
creating directory /pgsql/base... ok
creating directory /pgsql/global... ok
creating directory /pgsql/pg_xlog... ok
creating directory /pgsql/pg_clog... ok
selecting default max_connections... 50
selecting default shared_buffers... 1000
creating configuration files... ok
creating template1 database in /pgsql/base/1... ok
initializing pg_shadow... ok
enabling unlimited row size for system tables... ok
initializing pg_depend... ok
creating system views... ok
loading pg_description... ok
creating conversions... ERROR: could not access file
"$libdir/ascii_and_mic": N
o such file or directory


Based on some simple testing it appears initdb is looking for the files in
the default location not the prefix location.

On a test system copied directory /usr/local/pgsql74 to /usr/local/pgsql and
did"/usr/local/pgsql74/bin/initdb -D /pgsql". This worked.

Ed Stouder








---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.