Thread: problems...

problems...

From
"Alejandro Delu"
Date:
I have next error:

$ initdb -D /usr/local/postgresql/data/bases1
The files belonging to this database system will be owned by user "sp01ad".
This user must also own the server process.

The database cluster will be initialized with locale C.

creating directory /usr/local/postgresql/data/bases1... ok
creating directory /usr/local/postgresql/data/bases1/base... ok
creating directory /usr/local/postgresql/data/bases1/global... ok
creating directory /usr/local/postgresql/data/bases1/pg_xlog... ok
creating directory /usr/local/postgresql/data/bases1/pg_clog... ok
creating template1 database in /usr/local/postgresql/data/bases1/base/1... =
IpcSe
maphoreCreate: semget(key=3D1, num=3D17, 03600) failed: Function not implem=
ented

initdb failed.
Removing /usr/local/postgresql/data/bases1.




I had Postgresql 7.2.1
I update to Postgresql 7.3.3
When I want to init the database, It does the previous error, what's wrong?=
??


If I want to run Postmaster, it does the next error:
$ postmaster -i -D /usr/local/postgresql/data/bases
IpcMemoryCreate: shmget(key=3D5432001, size=3D1499136, 03600) failed: Funct=
ion not i
mplemented



Thanks..

Alejandro.=

Re: problems...

From
Tom Lane
Date:
"Alejandro Delu" <alejandro_delu@siu.edu.ar> writes:
> IpcSe
> maphoreCreate: semget(key=3D1, num=3D17, 03600) failed: Function not implem=
> ented
> When I want to init the database, It does the previous error, what's wrong?=
> ??

Looks like your kernel doesn't have SysV shared memory support enabled.
There are some tips about this in the PG administrator's guide... but
since you did not tell us which platform you are on, you're not likely
to get any specific answers here.

            regards, tom lane