Обсуждение: Re: [HACKERS] Can't start postmaster

Поиск
Список
Период
Сортировка

Re: [HACKERS] Can't start postmaster

От
Bruce Momjian
Дата:
> When I try to start the postmaster from the current sources, I get the
> following error.
> 
> IpcSemaphoreCreate: semget failed (No space left on device) key=5432015, num=16, permission=600
> 
> My command is as follows.
> 
> /usr/local/postgres/bin/postmaster -S -D /usr/local/postgres/data
> 
> The same command works with PostgreSQL 6.5.0 build from sources in
> Feb.  I did a full distclean, reconfigure, build and initdb.  There
> is plenty of space on the system so I assume that the above error is
> bogus but I can't imagine what has changed to make this fail.  Any ideas?
> 

Use pgsql/bin/ipcclean.  You have old shared memory around.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


Re: [HACKERS] Can't start postmaster

От
"D'Arcy" "J.M." Cain
Дата:
Thus spake Bruce Momjian
> > When I try to start the postmaster from the current sources, I get the
> > following error.
> > 
> > IpcSemaphoreCreate: semget failed (No space left on device) key=5432015, num=16, permission=600
> > 
> > My command is as follows.
> > 
> > /usr/local/postgres/bin/postmaster -S -D /usr/local/postgres/data
> > 
> > The same command works with PostgreSQL 6.5.0 build from sources in
> > Feb.  I did a full distclean, reconfigure, build and initdb.  There
> > is plenty of space on the system so I assume that the above error is
> > bogus but I can't imagine what has changed to make this fail.  Any ideas?
> > 
> 
> Use pgsql/bin/ipcclean.  You have old shared memory around.

Hmm.  That didn't do it.  I did reboot and it came up.  I did have to do
an initdb before using it though.

Thanks.

-- 
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 424 2871     (DoD#0082)    (eNTP)   |  what's for dinner.