X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Tue, 18 Aug 2009 17:05:40 +0800 Message-ID: Subject: PostgerSQL startup script bug From: Huang Bambo To: The Cygwin Mailing List Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com The cygwin 1.7 don't need =93server=94 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 proper= ly" 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