problems...

Started by Alejandro Delualmost 23 years ago2 messagesbugs
Jump to latest
#1Alejandro Delu
alejandro_delu@siu.edu.ar

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=1, num=17, 03600) failed: Function not implemented

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=5432001, size=1499136, 03600) failed: Function not i
mplemented

Thanks..

Alejandro.

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Alejandro Delu (#1)
Re: problems...

"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