postgres startup blues: pre-existing shared memory block (key 5432001, ID 0) is still in use

Nick Urbanik nicku at nicku.org
Sat Apr 26 04:33:07 UTC 2008


Dear Folks,

F8
all updates applied.
P4 AGP.
$ uname -r
2.6.24.4-64.fc8

after booting this new kernel, I haven't been able to start
PostgreSQL; I get this appearing in /var/lib/pgsql/pgstartup.log:
FATAL:  pre-existing shared memory block (key 5432001, ID 0) is still in use
HINT:  If you're sure there are no old server processes still running,
remove the shared memory block with the command "ipcclean", "ipcrm",
or just delete the file "postmaster.pid".  A reboot didn't help.

However, ipcs doesn't seem to indicate that it is used:
$ ipcs

------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status      
0x00000000 0          root      644        40         2                       
0x00000000 32769      root      644        16384      2                       
0x00000000 65538      root      644        268        2                       
0xb7390001 98307      root      666        77716      2                       
0x00000000 131076     root      777        139264     1                       
0x00000000 229381     nicku     600        393216     2          dest         
0x00000000 262150     nicku     600        393216     2          dest         
0x00000000 294919     nicku     600        393216     2          dest         
0x00000000 327688     nicku     600        393216     2          dest         
0x00000000 360457     nicku     600        393216     2          dest         
0x00000000 393226     nicku     600        393216     2          dest         
0x00000000 425995     nicku     600        393216     2          dest         
0x00000000 458764     nicku     600        393216     2          dest         

------ Semaphore Arrays --------
key        semid      owner      perms      nsems     

------ Message Queues --------
key        msqid      owner      perms      used-bytes   messages    

Any ideas or suggestions to understand this problem better, please?
-- 
Nick Urbanik   RHCE         http://nicku.org        nicku at nicku.org
GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24
I disclaim, therefore I am.
"What you have told us is rubbish. The world is really a flat plate
supported on the back of a giant disclaimer."
"What is the disclaimer standing on?"
"But it's disclaimers all the way down!"    (sorry Stephen Hawking.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080426/d2a830cf/attachment-0001.sig>


More information about the fedora-list mailing list