initdb problem at solaris 8 for intel.

From: Koujiro Iuchi <iuchi(at)yano-el(dot)co(dot)jp>
To: pgsql-admin(at)postgresql(dot)org
Subject: initdb problem at solaris 8 for intel.
Date: 2000-06-07 07:45:23
Message-ID: 393DFD8F.2C74DF7A@yano-el.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi...
My name is Iuchi,
Please follow up my problem.

I try install and build Postgresql-7.0 server now.
Environment:
solaris 8 for intel Free license ( SUN OS release 5.8 Generic)
CDE 1.4, X11 ver 6.4.1
Postgresql-7.0 source
gcc compiler and gmake

Problem:

Could not be execute "initdb --pgdata=/usr/local/pgsql/data
--pglib=/usr/local/pgsql/lib"
Return message is /usr/local/pgsql/bin/pg_id: Permission denied.

gmake compile at postgres user and install at root into Solaris 8
Server.
No eeror about all make and install.

Result of execute initdb

fabric# su - postgres
fabric% initdb --pgdata=/usr/local/pgsql/data
--pglib=/usr/local/pgsql/lib

/usr/local/pgsql/bin/pg_id: Permission denied
Could not determine current user name. You are really hosed.

I checked files and directory permission under directory of
/usr/local/pgsql,
It seem like a postgres's GID and UID indicate numeric,
I can't understand that phenomenom.

Please reply me??

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

Postgres user environment value below,

fabric% setenv
HOME=/usr/local/pgsql
PATH=/bin:/usr/bin:/usr/local/bin:/usr/ucb:/usr/ccs/bin:/etc:/opt/sfw/bin:/usr/l

ocal/pgsql/bin
LOGNAME=postgres
HZ=
TZ=Japan
TERM=dtterm
SHELL=/bin/csh
PWD=/usr/local/pgsql
LD_LIBRARY_PATH=/usr/local/pgsql/lib
PGLIB=/usr/local/pgsql/lib
PGDATA=/usr/local/pgsql/data

Browse pgsql-admin by date

  From Date Subject
Next Message Loïc TREGOUËT 2000-06-07 09:20:19 debian cron.d and security
Previous Message Jacopo Silva 2000-06-07 06:28:34 R: POSTMASTER