pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
initdb failed
3+ messages / 3 participants
[nested] [flat]

* initdb failed
@ 2002-04-06 13:39 Empus (Mike) <empus@userservice.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Empus (Mike) @ 2002-04-06 13:39 UTC (permalink / raw)
  To: pgsql-admin

Upon installing and configuring PostgreSQL completely fine - no errors, I go
to run initdb... and:

gnuworld@userservice:/usr/local/pgsql/bin$ ./initdb -D /usr/local/pgsql/data
The files belonging to this database system will be owned by user
"gnuworld".
This user must also own the server process.

Fixing permissions on existing directory /usr/local/pgsql/data... ok
creating directory /usr/local/pgsql/data/base... ok
creating directory /usr/local/pgsql/data/global... ok
creating directory /usr/local/pgsql/data/pg_xlog... ok
creating directory /usr/local/pgsql/data/pg_clog... ok
creating template1 database in /usr/local/pgsql/data/base/1...
IpcSemaphoreCreate: semget(key=1, num=17, 03600) failed: Function not
implemented

initdb failed.
gnuworld@userservice:/usr/local/pgsql/bin$


Why is this occurring, how can it be fixed?  tcl8.3, PostgreSQL 7.2,
FreeBSD-4.5, gmake-3.79.1

Please reply to empus@userservice.org, as I am not subscribed to this list.

Kind Regards,

	- Mike
	Empus@IRC




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* initdb failed ...
@ 2002-12-11 19:50 Flavio Hallais <fhallais@intco.com>
  2002-12-12 06:08 ` Re: initdb failed ... Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 3+ messages in thread

From: Flavio Hallais @ 2002-12-11 19:50 UTC (permalink / raw)
  To: pgsql-admin

Hi all,


After a successful installation of version 7.3, when I tried the 
command:

initdb -D /usr/local/pgsql/data

I got the following messages:

creating directory /usr/local/pgsql/data ... ok
creating directory /usr/local/pgsql/data/base ... ok
creating directory /usr/local/pgsql/data/global ... ok
creating directory /usr/local/pgsql/data/pg-xlog ... ok
creating directory /usr/local/pgsql/data/pg-clog ... ok
creating template1 database in /usr/local/pgsql/database/1 ... 

initdb failed
removing /usr/local/pgsql/data

I am lost because I install a use several previous versions
on the same box and never had any problems.

Thanks for any help.


Flavio Hallais
InterNetworking Technologies

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: initdb failed ...
  2002-12-11 19:50 initdb failed ... Flavio Hallais <fhallais@intco.com>
@ 2002-12-12 06:08 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2002-12-12 06:08 UTC (permalink / raw)
  To: Flavio Hallais <fhallais@intco.com>; +Cc: pgsql-admin

"Flavio Hallais" <fhallais@intco.com> writes:
> initdb -D /usr/local/pgsql/data
> ...
> initdb failed

By default, initdb is the strong silent type :-( ... if it fails you
will get no useful indication why.  Please try it like this:

	initdb -d [other options as usual]  2>init.err

and send us the last few dozen lines of init.err.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2002-12-12 06:08 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-04-06 13:39 initdb failed Empus (Mike) <empus@userservice.org>
2002-12-11 19:50 initdb failed ... Flavio Hallais <fhallais@intco.com>
2002-12-12 06:08 ` Re: initdb failed ... Tom Lane <tgl@sss.pgh.pa.us>

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