On Thu, 2004-06-24 at 07:52, zuhans@iname.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@postgresql.org so that your
> message can get through to the mailing list cleanly