Thread: postmaster does not start

postmaster does not start

From
"Toon van Doorn"
Date:
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


Re: postmaster does not start

From
Frank Bax
Date:
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.


Re: postmaster does not start

From
"Toon van Doorn"
Date:
###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