Maybe your psql command linked to a wrong cygpq.dll.
2010/7/21 David Einstein <dei...@gmail.com>: > Windows 7 64 bit > > When I run the cygwin provided psql it immediately returns. Even if I > run 'psql --help' or 'psql -v'. > > I tried recompiling postgres from source, and got the same behavior. > > All the dlls seem to be in place. > > I have attached the output of > > cygcheck -s -r -v > > in cygcheck.out and the output of > > cygcheck psql > > cygcheck_psql.out > > > /usr/bin/cygrunsrv: warning: OpenService failed for 'DcomLaunch': Win32 error > 5 > Access is denied. > /usr/bin/cygrunsrv: warning: OpenService failed for 'odserv': Win32 error 5 > Access is denied. > /usr/bin/cygrunsrv: warning: OpenService failed for 'ose': Win32 error 5 > Access is denied. > /usr/bin/cygrunsrv: warning: OpenService failed for 'pla': Win32 error 5 > Access is denied. > /usr/bin/cygrunsrv: warning: OpenService failed for 'QWAVE': Win32 error 5 > Access is denied. > /usr/bin/cygrunsrv: warning: OpenService failed for 'RpcEptMapper': > Win32 error 5 > Access is denied. > /usr/bin/cygrunsrv: warning: OpenService failed for 'RpcSs': Win32 error 5 > Access is denied. > > -- > 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 > -- 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