pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Koujiro Iuchi <iuchi@yano-el.co.jp>
To: pgsql-admin@postgresql.org
Subject: initdb problem at solaris 8 for intel.
Date: Wed, 07 Jun 2000 16:45:23 +0900
Message-ID: <393DFD8F.2C74DF7A@yano-el.co.jp> (raw)

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











Message-ID: <393DFD8F.2C74DF7A@yano-el.co.jp>
Permalink:  ../393DFD8F.2C74DF7A@yano-el.co.jp/
Also on:    postgresql.org/message-id/393DFD8F.2C74DF7A@yano-el.co.jp

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: iuchi@yano-el.co.jp
  Subject: Re: initdb problem at solaris 8 for intel.
  In-Reply-To: <393DFD8F.2C74DF7A@yano-el.co.jp>
  References: <393DFD8F.2C74DF7A@yano-el.co.jp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox