Home > Archive > PHP with PostgreSQL > September 2005 > postmaster does not start









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author postmaster does not start
Toon van Doorn

2005-09-28, 7:24 am

Hello,

I hope someone has the solution:

Our freebsd server rebooted but when i run the command to start postgres

/usr/local/etc/rc.d/010.pgsql.sh start -D /usr/local/pgsql/data

I get the message:
pg_ctl: postmaster does not start

What could be the cause?


Greets and thanks in advanced

Toon


---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql
.org so that your
message can get through to the mailing list cleanly

Frank Bax

2005-09-28, 9:24 am

At 07:44 AM 9/28/05, Toon van Doorn wrote:
>Our freebsd server rebooted but when i run the command to start postgres
>
>/usr/local/etc/rc.d/010.pgsql.sh start -D /usr/local/pgsql/data
>
>I get the message:
>pg_ctl: postmaster does not start
>
>What could be the cause?



Check your pg log file for an error message.


---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql
.org so that your
message can get through to the mailing list cleanly

Toon van Doorn

2005-09-28, 11:24 am

###Logfile says:
IpcSemaphoreCreate: semget(key=5432004, num=17, 03600) failed: No space left
on device

This error does *not* mean that you have run out of disk space.

It occurs when either the system limit for the maximum number of
semaphore sets (SEMMNI), or the system wide maximum number of
semaphores (SEMMNS), would be exceeded. You need to raise the
respective kernel parameter. Alternatively, reduce PostgreSQL's
consumption of semaphores by reducing its max_connections parameter
(currently 64).

The PostgreSQL Administrator's Guide contains more information about
configuring your system for PostgreSQL.
############
I lowered the
#max_connections = 64
max_connections = 32

And it started perfectly thanks for the help


Greetz Toon.

(Yeah Dutch)

-----Oorspronkelijk bericht-----
Van: pgsql-php-owner@postgresql.org [mailto:pgsql-php-owner@postgresql.org]
Namens Frank Bax
Verzonden: woensdag 28 september 2005 15:46
Aan: pgsql-php@postgresql.org
Onderwerp: Re: [PHP] postmaster does not start

At 07:44 AM 9/28/05, Toon van Doorn wrote:
>Our freebsd server rebooted but when i run the command to start
>postgres
>
>/usr/local/etc/rc.d/010.pgsql.sh start -D /usr/local/pgsql/data
>
>I get the message:
>pg_ctl: postmaster does not start
>
>What could be the cause?



Check your pg log file for an error message.


---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql
.org so that your
message can get through to the mailing list cleanly


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

http://archives.postgresql.org

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com