public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* PostgerSQL startup script bug
@ 2009-08-18  9:05 Huang Bambo
  2009-09-14 20:22 ` Reini Urban
  0 siblings, 1 reply; 2+ messages in thread
From: Huang Bambo @ 2009-08-18  9:05 UTC (permalink / raw)
  To: The Cygwin Mailing List

The cygwin 1.7 don't need “server” tag in CYGWIN environment but the
start up of postgresql 8.2.11 checked this tag.

code:
131 check_cygserver() {
132     # Check for running cygserver processes first.
133     if ps -ef | grep -v grep | grep -q cygserver
134     then
135         echo -n "- cygserver OK - "
136         # echo "OK cygserver running"
137     else
138     echo "ERROR cygserver must be started"
139     echo cygrunsrv -S cygserver
140     exit 1
141     fi
142     # check for CYGWIN containing server
143     if [ -n "${CYGWIN%server}" ]
144     then
145     echo "ERROR CYGWIN must contain server for cygserver to work properly"
146     exit 1
147     fi
148 }
149

from 142 to 147 is not needed in cygwin 1.7

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: PostgerSQL startup script bug
  2009-08-18  9:05 PostgerSQL startup script bug Huang Bambo
@ 2009-09-14 20:22 ` Reini Urban
  0 siblings, 0 replies; 2+ messages in thread
From: Reini Urban @ 2009-09-14 20:22 UTC (permalink / raw)
  To: cygwin

Huang Bambo schrieb:
> The cygwin 1.7 don't need “server” tag in CYGWIN environment but the
> start up of postgresql 8.2.11 checked this tag.
> 
> code:
> 131 check_cygserver() {
> 132     # Check for running cygserver processes first.
> 133     if ps -ef | grep -v grep | grep -q cygserver
> 134     then
> 135         echo -n "- cygserver OK - "
> 136         # echo "OK cygserver running"
> 137     else
> 138     echo "ERROR cygserver must be started"
> 139     echo cygrunsrv -S cygserver
> 140     exit 1
> 141     fi
> 142     # check for CYGWIN containing server
> 143     if [ -n "${CYGWIN%server}" ]
> 144     then
> 145     echo "ERROR CYGWIN must contain server for cygserver to work properly"
> 146     exit 1
> 147     fi
> 148 }
> 149
> 
> from 142 to 147 is not needed in cygwin 1.7

Thanks for the heads up.
This package is still from 1.5.
-- 
Reini Urban
http://phpwiki.org/  http://murbreak.at/

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-09-14 20:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-18  9:05 PostgerSQL startup script bug Huang Bambo
2009-09-14 20:22 ` Reini Urban

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).