pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Problem starting postmaster
3+ messages / 3 participants
[nested] [flat]

* Problem starting postmaster
@ 2001-04-03 19:07 Homayoun Yousefi'zadeh <homayounyz@home.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Homayoun Yousefi'zadeh @ 2001-04-03 19:07 UTC (permalink / raw)
  To: pgsql-admin

Hello there,

I am migrating from MySQL to PostgreSQL.
I have built pgsql 7.0.3 on Redhat 7.0.
All of the nevironmental variables have been
set properly. When I try to start the database
server using the following

bash-2.04$  /usr/local/pgsql/bin/postmaster

I get

IpcMemoryCreate: shmget failed (Identifier removed) key=5432010, 
size=144, permission=700
This type of error is usually caused by an improper
shared memory or System V IPC semaphore configuration.
For more information, see the FAQ and platform-specific
FAQ's in the source directory pgsql/doc or on our
web site at http://www.postgresql.org.
IpcMemoryIdGet: shmget failed (Identifier removed) key=5432010, 
size=144, permission=0
IpcMemoryAttach: shmat failed (Invalid argument) id=-2
FATAL 1:  AttachSLockMemory: could not attach segment

I have read the docs. The only probable cause is the
lack of SYS V IPC support or small size of configured
shared memory in the kernel. However, neither one of
these suggestions applies to my case. I have even tried

bash-2.04$ /usr/local/pgsql/bin/postmaster -B 64

and the problem still persists.

Can somebody shed some light here?

Thanks,
HY





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Problem starting postmaster
@ 2002-09-14 16:04 Adam Witney <awitney@sghms.ac.uk>
  2002-09-16 06:52 ` Re: Problem starting postmaster dima <_pppp@mail.ru>
  0 siblings, 1 reply; 3+ messages in thread

From: Adam Witney @ 2002-09-14 16:04 UTC (permalink / raw)
  To: pgsql-admin


I have installed 7.2.2 on MacOSX 10.2 using fink. I shutdown the postmaster,
and am now trying to restart it using

/sw/bin/pg_ctl start -D /sw/var/postgresql/data/ -o '-i'

(fink installs in a non standard location and sets up and super user account
called pgsql instead of postgres)

But I get this error

postmaster successfully started
FATAL:  could not set group of /tmp/.s.PGSQL.5432: Operation not permitted
/sw/bin/postmaster: cannot create UNIX stream port

I am guessing it is write permissions somewhere but I can't seem to fix it

Any ideas would be greatly appreciated

Thanks

Adam


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Problem starting postmaster
  2002-09-14 16:04 Problem starting postmaster Adam Witney <awitney@sghms.ac.uk>
@ 2002-09-16 06:52 ` dima <_pppp@mail.ru>
  0 siblings, 0 replies; 3+ messages in thread

From: dima @ 2002-09-16 06:52 UTC (permalink / raw)
  To: Adam Witney <awitney@sghms.ac.uk>; +Cc: pgsql-admin

> postmaster successfully started
> FATAL:  could not set group of /tmp/.s.PGSQL.5432: Operation not permitted
> /sw/bin/postmaster: cannot create UNIX stream port
chmod 777 /tmp
is it possible @ your box (i mean for security reasons or smth)?





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2002-09-16 06:52 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-04-03 19:07 Problem starting postmaster Homayoun Yousefi'zadeh <homayounyz@home.com>
2002-09-14 16:04 Problem starting postmaster Adam Witney <awitney@sghms.ac.uk>
2002-09-16 06:52 ` dima <_pppp@mail.ru>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox