dbTalk Databases Forums  

[BUGS] pre-existing shared memory block

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] pre-existing shared memory block in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ed L.
 
Posts: n/a

Default [BUGS] pre-existing shared memory block - 04-18-2006 , 10:22 AM






Not sure this is a bug, but I'm seeing the following message:

pg_ctl: another postmaster may be running; trying to start
postmaster anyway
FATAL: pre-existing shared memory block (key 9812001, ID 655374)
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".
pg_ctl: could not start postmaster
Examine the log output.
pg_ctl: neither postmaster nor postgres running

However, ipcs shows there is no shared memory block in use:

$ ipcs

------ Shared Memory Segments --------
key shmid owner perms bytes nattch
status
0x00000000 327682 root 644 151552 4
dest
0x00000000 360453 root 644 122880 4
dest
0x00000000 393222 root 644 790528 4
dest
0x00000000 720910 ed 666 42900 1
dest

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

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


---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] pre-existing shared memory block - 04-18-2006 , 10:29 AM






"Ed L." <pgsql (AT) bluepolka (DOT) net> writes:
Quote:
FATAL: pre-existing shared memory block (key 9812001, ID 655374)
is still in use

However, ipcs shows there is no shared memory block in use:
What platform is that?

Perhaps you need some non-default switches to ipcs to see all memory
segments? Otherwise, it seems that either your kernel or ipcs is broken.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.