Обсуждение: hi-problem while installing postgressql 7.2 version

Поиск
Список
Период
Сортировка

hi-problem while installing postgressql 7.2 version

От
"saurabh garg"
Дата:
hi
  while Creating a database cluster postgressql it just hangs. i'm using
these command on cygwin. i gave the command
./configure
make
make install
make install-all-headers
  all above are sucessful. after that i set the environmental path in
profile. now i give initdb -D /usr/local/pgsql/data this command..



Fixing permissions on existing 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
creating template1 database in /usr/local/pgsql/data/base/1...

   it just hangs here, now no move further.


can u help me please. thnx in advance.


regards,


saurabh

Re: hi-problem while installing postgressql 7.2 version

От
Stephan Szabo
Дата:
On Wed, 30 Oct 2002, saurabh garg wrote:

>   while Creating a database cluster postgressql it just hangs. i'm using
> these command on cygwin. i gave the command
> ./configure
> make
> make install
> make install-all-headers
>   all above are sucessful. after that i set the environmental path in
> profile. now i give initdb -D /usr/local/pgsql/data this command..
>
>
>
> Fixing permissions on existing 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
> creating template1 database in /usr/local/pgsql/data/base/1...
>
>    it just hangs here, now no move further.

Are you sure you've started the ipc daemon?  I know that it hangs in
initdb if you haven't.

Re: hi-problem while installing postgressql 7.2 version

От
Stephan Szabo
Дата:
On Thu, 31 Oct 2002, saurabh garg wrote:

> HI
>   thanx, it's true. now this step is clear, but again in the next step
> postmaster it's giving problem. when i give pg_ctl -D ......., its giving
> the listed below prblem. can u help me please.
>
>  thanx in advance once again.
>
>
>
>   santosh kumar singh@SANTOSH /cygdrive/c/cygwin/usr/local/pgsql/bin
> $ ./pg_ctl -D /usr/local/pgsql/data/data -l logfile start
> postmaster successfully started
>
> santosh kumar singh@SANTOSH /cygdrive/c/cygwin/usr/local/pgsql/bin
> $ C:\cygwin\usr\local\pgsql\bin\postgres.exe: *** recreate_mmaps_after
> _fork_failed
> C:\cygwin\usr\local\pgsql\bin\postgres.exe: *** recreate_mmaps_after_f
> ork_failed
> C:\cygwin\usr\local\pgsql\bin\postgres.exe: *** recreate_mmaps_after_f
> ork_failed

I remember past messages about bugs in cygwin 1.1.8 that showed this
behavior.  People on pgsql-cygwin probably know more though.

Re: hi-problem while installing postgressql 7.2 version

От
"saurabh garg"
Дата:
HI
  thanx, it's true. now this step is clear, but again in the next step
postmaster it's giving problem. when i give pg_ctl -D ......., its giving
the listed below prblem. can u help me please.

 thanx in advance once again.



  santosh kumar singh@SANTOSH /cygdrive/c/cygwin/usr/local/pgsql/bin
$ ./pg_ctl -D /usr/local/pgsql/data/data -l logfile start
postmaster successfully started

santosh kumar singh@SANTOSH /cygdrive/c/cygwin/usr/local/pgsql/bin
$ C:\cygwin\usr\local\pgsql\bin\postgres.exe: *** recreate_mmaps_after
_fork_failed
C:\cygwin\usr\local\pgsql\bin\postgres.exe: *** recreate_mmaps_after_f
ork_failed
C:\cygwin\usr\local\pgsql\bin\postgres.exe: *** recreate_mmaps_after_f
ork_failed


regards,


saurabh




-----Original Message-----
From: Stephan Szabo [mailto:sszabo@megazone23.bigpanda.com]
Sent: Wednesday, October 30, 2002 9:15 PM
To: saurabh garg
Cc: pgsql-bugs@postgresql.org
Subject: Re: [BUGS] hi-problem while installing postgressql 7.2 version


On Wed, 30 Oct 2002, saurabh garg wrote:

>   while Creating a database cluster postgressql it just hangs. i'm using
> these command on cygwin. i gave the command
> ./configure
> make
> make install
> make install-all-headers
>   all above are sucessful. after that i set the environmental path in
> profile. now i give initdb -D /usr/local/pgsql/data this command..
>
>
>
> Fixing permissions on existing 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
> creating template1 database in /usr/local/pgsql/data/base/1...
>
>    it just hangs here, now no move further.

Are you sure you've started the ipc daemon?  I know that it hangs in
initdb if you haven't.