Thread: SIGNAL 12 on initDB command

SIGNAL 12 on initDB command

From
"Chatari S. Ramesh"
Date:
Hello,

     I am installing Cygwin in my Windows XP machine to use
PostgreSql.

     I have been having trouble running the initdb command.  Intially
I tried using the ipc-daemon2.  After reading the archieve I found
that I need to use the Cygserver instead of ipc-daemon2.  I followed
the documentation for Cygserver, did all the steps mentioned therein
and tried the initdb command.  Still it fails with a lot of SIGNAL 12
messages as it did while using the ipc-daemon2.  I would appreciate if
I could get some info. on how to fix this problem. The screen print
from my initdb command is shown below:

  $ initdb -D /usr/local/pgsql/data
The files belonging to this database system will be owned by user
"c-chatari.ramesh".
This user must also own the server process.

The database cluster will be initialized with locale C.

creating directory /usr/local/pgsql/data... ok
creating directory /usr/local/pgsql/data/base... ok
creating directory /usr/local/pgsql/data/global... ok
creating directory /usr/local/pgsql/data/pg_xlog... ok
creating directory /usr/local/pgsql/data/pg_clog... ok
selecting default max_connections... Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
10
selecting default shared_buffers... Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
50
creating configuration files... ok
creating template1 database in /usr/local/pgsql/data/base/1... Signal
12

initdb: failed
initdb: removing data directory "/usr/local/pgsql/data"

Thanks,
Chatari Ramesh

Re: SIGNAL 12 on initDB command

From
mike g
Date:
Did you add Cygserver to your path?

Are you trying to run these as services?  If so you probably need to
uninstall the postmaster service and reinstall referencing cygserver
instead of ipc-daemon2.

Did you see the postmaster readme in the same directory as the cygserver
readme?  It has the updated installation instructions.

Mike
On Thu, 2004-07-01 at 17:26, Chatari S. Ramesh wrote:
> Hello,
>
>      I am installing Cygwin in my Windows XP machine to use
> PostgreSql.
>
>      I have been having trouble running the initdb command.  Intially
> I tried using the ipc-daemon2.  After reading the archieve I found
> that I need to use the Cygserver instead of ipc-daemon2.  I followed
> the documentation for Cygserver, did all the steps mentioned therein
> and tried the initdb command.  Still it fails with a lot of SIGNAL 12
> messages as it did while using the ipc-daemon2.  I would appreciate if
> I could get some info. on how to fix this problem. The screen print
> from my initdb command is shown below:
>
>   $ initdb -D /usr/local/pgsql/data
> The files belonging to this database system will be owned by user
> "c-chatari.ramesh".
> This user must also own the server process.
>
> The database cluster will be initialized with locale C.
>
> creating directory /usr/local/pgsql/data... ok
> creating directory /usr/local/pgsql/data/base... ok
> creating directory /usr/local/pgsql/data/global... ok
> creating directory /usr/local/pgsql/data/pg_xlog... ok
> creating directory /usr/local/pgsql/data/pg_clog... ok
> selecting default max_connections... Signal 12
> Signal 12
> Signal 12
> Signal 12
> Signal 12
> Signal 12
> 10
> selecting default shared_buffers... Signal 12
> Signal 12
> Signal 12
> Signal 12
> Signal 12
> Signal 12
> Signal 12
> Signal 12
> Signal 12
> Signal 12
> Signal 12
> 50
> creating configuration files... ok
> creating template1 database in /usr/local/pgsql/data/base/1... Signal
> 12
>
> initdb: failed
> initdb: removing data directory "/usr/local/pgsql/data"
>
> Thanks,
> Chatari Ramesh
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
>                http://archives.postgresql.org

Re: SIGNAL 12 on initDB command

From
"Chatari S. Ramesh"
Date:
Hi Mike,

     Thanks. Adding Cygserver to the path fixed the problem.

Thanks,

Chatari Ramesh

On Thu, 01 Jul 2004 22:54:19 -0500
  mike g <mike@thegodshalls.com> wrote:
>Did you add Cygserver to your path?
>
>Are you trying to run these as services?  If so you probably need to
>uninstall the postmaster service and reinstall referencing cygserver
>instead of ipc-daemon2.
>
>Did you see the postmaster readme in the same directory as the
>cygserver
>readme?  It has the updated installation instructions.
>
>Mike
>On Thu, 2004-07-01 at 17:26, Chatari S. Ramesh wrote:
>> Hello,
>>
>>      I am installing Cygwin in my Windows XP machine to use
>> PostgreSql.
>>
>>      I have been having trouble running the initdb command.
>> Intially
>> I tried using the ipc-daemon2.  After reading the archieve I found
>> that I need to use the Cygserver instead of ipc-daemon2.  I followed
>> the documentation for Cygserver, did all the steps mentioned therein
>> and tried the initdb command.  Still it fails with a lot of SIGNAL
>>12
>> messages as it did while using the ipc-daemon2.  I would appreciate
>>if
>> I could get some info. on how to fix this problem. The screen print
>> from my initdb command is shown below:
>>
>>   $ initdb -D /usr/local/pgsql/data
>> The files belonging to this database system will be owned by user
>> "c-chatari.ramesh".
>> This user must also own the server process.
>>
>> The database cluster will be initialized with locale C.
>>
>> creating directory /usr/local/pgsql/data... ok
>> creating directory /usr/local/pgsql/data/base... ok
>> creating directory /usr/local/pgsql/data/global... ok
>> creating directory /usr/local/pgsql/data/pg_xlog... ok
>> creating directory /usr/local/pgsql/data/pg_clog... ok
>> selecting default max_connections... Signal 12
>> Signal 12
>> Signal 12
>> Signal 12
>> Signal 12
>> Signal 12
>> 10
>> selecting default shared_buffers... Signal 12
>> Signal 12
>> Signal 12
>> Signal 12
>> Signal 12
>> Signal 12
>> Signal 12
>> Signal 12
>> Signal 12
>> Signal 12
>> Signal 12
>> 50
>> creating configuration files... ok
>> creating template1 database in /usr/local/pgsql/data/base/1...
>>Signal
>> 12
>>
>> initdb: failed
>> initdb: removing data directory "/usr/local/pgsql/data"
>>
>> Thanks,
>> Chatari Ramesh
>>
>> ---------------------------(end of
>>broadcast)---------------------------
>> TIP 6: Have you searched our list archives?
>>
>>                http://archives.postgresql.org