Skip site navigation (1) Skip section navigation (2)

trouble running "intdb"

From: ming lap chow <mlchow(at)lbl(dot)gov>
To: pgsql-ports(at)postgresql(dot)org
Cc: mlchow(at)lbl(dot)gov
Subject: trouble running "intdb"
Date: 1999-03-10 02:02:40
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-ports
Dear Postgres: I have downloaded a binary distribution of PostgreSQL 6.4.2 from and the file name is 
PostgreSQL-6.4.2-Solaris_7_sparc.gz. I followed the installation instruction as 
described in README.Solaris (see attachment to this e-mail). The installation 
was "successful" until I began to run the initdb command: (under csh)

initdb --pglib=/usr/local/pgsql/lib --pgdata=/usr/local/pgsql/data

it complaint: pg_id: fatal: open failed: No such file or directory
Unable to determine a valid username.  If you are running
initdb without an explicit username specified, then there
may be a problem with finding the Postgres shared library
and/or the pg_id utility.

I then tried:

initdb -u SUPERUSER --pglib=/usr/local/pgsql/lib --pgdata=/usr/local/pgsql/data

The result was the same. I am wondering what was wrong. I even created a 
directory "data" and chown to pgsql. The result was still the same. Why is life 
so difficult? Would you please tell me what to do? 
Thank you.
-- Ming Chow

Attachment: README.Solaris
Description: text/plain (1.0 KB)

pgsql-ports by date

Next:From: Unprivileged userDate: 1999-03-10 05:31:05
Subject: Port Bug Report: Commands in psql that return nothing cause connection to backend to be closed
Previous:From: secretDate: 1999-03-09 19:17:54
Subject: Re: [PORTS] Port Bug Report: Backend crashes daily.

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group