Re: [GENERAL] cant connect to the database, even after doing start

2006-07-17 Thread surabhi.ahuja
Title: RE: [GENERAL] cant connect to the database, even after doing start this script is taken from the distribution also   but i think the second check, to do stop -m immidiate is home grown.   thanks, regards Surabhi From: Scott Marlowe [mailto:[EMAIL PROTECTED]Sent: Fri 7/14/2006 9

Re: [GENERAL] cant connect to the database, even after doing start

2006-07-14 Thread Scott Marlowe
On Fri, 2006-07-14 at 02:48, surabhi.ahuja wrote: > this is what is happening > > stop(){ > echo "Stopping ${NAME} service: " > if [ "`uname`" = "Linux" ]; then >/bin/sh -c "$PGCTL stop -D $PGDATA -s -m fast" > /dev/null > 2>&1 > fi > ret=$? > i

Re: [GENERAL] cant connect to the database, even after doing start

2006-07-14 Thread surabhi.ahuja
Title: Re: [GENERAL] cant connect to the database, even after doing start this is what is happening   stop(){    echo "Stopping ${NAME} service: "    if [ "`uname`" = "Linux" ]; then   /bin/sh -c "$PGCTL stop -D $PGDATA -s -m

Re: [GENERAL] cant connect to the database, even after doing start

2006-07-13 Thread Scott Marlowe
On Thu, 2006-07-13 at 01:20, surabhi.ahuja wrote: > Hi all, > i have a script to stop and start postmaster > > However i have noticed this many a time sdnow. I stop postmaster using > that script > and then start using a script. > > However if i try to do psql , it gives me an error saying that

[GENERAL] cant connect to the database, even after doing start of postmaster using a script

2006-07-12 Thread surabhi.ahuja
Hi all, i have a script to stop and start postmaster   However i have noticed this many a time sdnow. I stop postmaster using that script and then start using a script.   However if i try to do psql , it gives me an error saying that the postmaster is not up.   Why is it that the postmaster went