Discussion:
cygwin installation problem (windows platform)
(too old to reply)
Harry
2004-06-16 13:00:07 UTC
Permalink
Hi all,
I install cygwin in my windows2000 so as to install postgresql. When I
use the postgresql installed together with cygwin, I came into this problem:
First, I run
ipc-daemon2 &
Second, when I try to initialize the database by running the following
command,
initdb -D /usr/local/pgsql/data
I got some problem, here are the output
.....(the above step is OK)
creating configuration files... ok
creating template1 database in /usr/local/pgsql/data/base/1... Signal 12
initdb: failed
I download the source code of postgresql (7.4.2) and compile it under the
cygwin and run the above again. The same problem happens. Here are the
output after running initdb.
........( The above is OK)
creating configuration files... ok
creating template1 database in /usr/local/pgsql/data/base/1... FATAL:
semctl(35
, 16, SETVAL, 536) failed: Invalid argument
initdb: failed

What shall I do with this problem?

Thanks
Harry
mike g
2004-06-21 04:17:57 UTC
Permalink
What version of postgres did you install? If it is 7.4.2 or later then
you must install the cygserver package and start that. ipc-daemon2 is
not being used anymore.

Mike
Post by Harry
Hi all,
I install cygwin in my windows2000 so as to install postgresql. When I
First, I run
ipc-daemon2 &
Second, when I try to initialize the database by running the following
command,
initdb -D /usr/local/pgsql/data
I got some problem, here are the output
.....(the above step is OK)
creating configuration files... ok
creating template1 database in /usr/local/pgsql/data/base/1... Signal 12
initdb: failed
I download the source code of postgresql (7.4.2) and compile it under the
cygwin and run the above again. The same problem happens. Here are the
output after running initdb.
........( The above is OK)
creating configuration files... ok
semctl(35
, 16, SETVAL, 536) failed: Invalid argument
initdb: failed
What shall I do with this problem?
Thanks
Harry
---------------------------(end of broadcast)---------------------------
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ***@postgresql.org so that your
message can get through to the mailing list cleanly
Harry
2004-06-29 08:39:25 UTC
Permalink
Hi Mike,
I've tried that. It works!
Thanks a lot.

Harry
Post by mike g
What version of postgres did you install? If it is 7.4.2 or later then
you must install the cygserver package and start that. ipc-daemon2 is
not being used anymore.
Mike
Post by Harry
Hi all,
I install cygwin in my windows2000 so as to install postgresql. When I
First, I run
ipc-daemon2 &
Second, when I try to initialize the database by running the following
command,
initdb -D /usr/local/pgsql/data
I got some problem, here are the output
.....(the above step is OK)
creating configuration files... ok
creating template1 database in /usr/local/pgsql/data/base/1... Signal 12
initdb: failed
I download the source code of postgresql (7.4.2) and compile it under the
cygwin and run the above again. The same problem happens. Here are the
output after running initdb.
........( The above is OK)
creating configuration files... ok
semctl(35
, 16, SETVAL, 536) failed: Invalid argument
initdb: failed
What shall I do with this problem?
Thanks
Harry
---------------------------(end of broadcast)---------------------------
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
message can get through to the mailing list cleanly
Loading...