[BUGS] hi-problem while installing postgressql 7.2 version

2002-10-30 Thread 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








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

http://archives.postgresql.org



Re: [BUGS] hi-problem while installing postgressql 7.2 version

2002-11-01 Thread 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: [EMAIL PROTECTED]
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.




---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html



[BUGS] hi-problem in creating database in postgresql 7.2.2

2002-11-01 Thread saurabh garg
hi
  i have sucessfully installed postgresql. now while creating database it
gives the following error. i'm running pgsqlserver on localhost.

 i give the command createdb -D /usr/local/share/data/data


  $ createdb -D /usr/local/share/data/data
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
createdb: database creation failed

  similar problem is there when i create user.

$ createuser saurabh with password 'saurabh';
Shall the new user be allowed to create databases? (y/n) y
Shall the new user be allowed to create more new users? (y/n) y
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
createuser: creation of user "saurabh" failed


 can u help me please? thnx in advance.


regards,


saurabh garg





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

http://archives.postgresql.org



[BUGS] Fwd: hi-problem in creating database & user in postgresql

2002-11-01 Thread saurabh garg
 Note: forwarded message attached. 


Missed your favourite TV serial last night? Try the new, Yahoo! TV.
   visit http://in.tv.yahoo.com
--- Begin Message ---
hi
  while creating user in postgresql. i'm giving these
command on cygwin. it's giving the below error.

  
$ createuser administrator with password ' ';
Shall the new user be allowed to create databases?
(y/n) y
Shall the new user be allowed to create more new
users? (y/n) n
psql: could not connect to server: No such file or
directory
Is the server running locally and accepting
connections on Unix domain socket
"/tmp/.s.PGSQL.5432"?
createuser: creation of user " " failed

 similar error while creating db.


$ createdb mydb
psql: could not connect to server: No such file or
directory
Is the server running locally and accepting
connections on Unix domain socket
"/tmp/.s.PGSQL.5432"?
createdb: database creation failed


 can u help me please? thnx in advance.


regards,


saurabh


Missed your favourite TV serial last night? Try the new, Yahoo! TV.
   visit http://in.tv.yahoo.com
--- End Message ---

---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly



[BUGS] hi-problem in postgresql postmaster service

2002-11-01 Thread saurabh garg
hi 

  when i give the postmaster -D option it gives the
error below. although i can start post master through
pg_ctl command. but when i connect it through jdbc it
gives whether your postmaster is running with -i
option. i can't give -i option in pg_ctl.  

$ /usr/bin/postmaster -D /usr/local/saurabh -i -p 666
DEBUG:  database system was shut down at 2002-11-01
19:48:27 IST
DEBUG:  checkpoint record is at 0/11FA38
DEBUG:  redo record is at 0/11FA38; undo record is at
0/0; shutdown TRUE
DEBUG:  next transaction id: 95; next oid: 16557
DEBUG:  database system is ready


please help me. thanx a lot.


regards,


saurabh


Missed your favourite TV serial last night? Try the new, Yahoo! TV.
   visit http://in.tv.yahoo.com

---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly