Re: troubles after updating from 7.4.2 to 7.4.3

From: mike g <mike(at)thegodshalls(dot)com>
To: "zuhans(at)iname(dot)com" <zuhans(at)iname(dot)com>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: troubles after updating from 7.4.2 to 7.4.3
Date: 2004-06-25 03:24:03
Message-ID: 1088133843.2640.5.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

On Thu, 2004-06-24 at 07:52, zuhans(at)iname(dot)com wrote:
> hello,
>
> just for testing/programming (jdbc) purposes i used to start and stop my
> postgresql 7.4.2 with two script files.
>
> after cygwin-update the new version 7.4.3 is installed and my db won't
> start any more!!
>
> has it something to do with my scripts?
> my start-db-script is:
> #!/bin/sh
++CYGWIN=server
> echo
> echo "IPC-Daemon starten..."
++cygserver &
> --ipc-daemon2 &
> ps -f
> echo
> echo "PostgreSQL starten..."
++/var/postgresql/data &
> --postmaster -i -D /usr/share/postgresql/data &
> ps -f
>
>
> my stop-db-script is:
> #!/bin/sh
> echo
> echo "PostgreSQL stoppen..."
++pg_ctl stop -w -D /var/postgresql/data -s -m smart
> --pg_ctl stop -w -D /usr/share/postgresql/data -s -m smart
> ps -f
> echo
> echo "IPC-Daemon stoppen..."
++kill $(ps -f | grep cygserver | awk '{print $2}')
> --kill $(ps -f | grep ipc-d | awk '{print $2}')
> ps -f

the above assumes you ran cygserver.conf for the first time already.

See the cygserver and postgresql readme located in /usr/share/doc/Cygwin

Mike
>
> there is simply no error-message after my install-script, but i can't
> connect to the server any more.
>
> please help me! i must say that i'm a bloody beginner with postgresql!
> greetings
> hans
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message - Barry - 2004-06-25 10:04:36 Re: Uninstalling PostgreSQL
Previous Message Frank Seesink 2004-06-25 03:06:44 Re: troubles after updating from 7.4.2 to 7.4.3