Re: initdb fails
От | Jason Tishler |
---|---|
Тема | Re: initdb fails |
Дата | |
Msg-id | 20010420115848.G294@dothill.com обсуждение исходный текст |
Ответ на | Re: initdb fails (schopen@dimdi.de) |
Список | pgsql-cygwin |
Michael, On Fri, Apr 20, 2001 at 08:54:41AM +0200, schopen@dimdi.de wrote: > >> On Wed, Apr 18, 2001 at 06:13:43PM +0200, schopen@dimdi.de wrote: > >> bash-2.04$ bin/initdb When I first saw the above, I thought that it was strange... > Thanks, Jason. After replacing shapshot 20010416 by 20010413 nothing changed. I suggested using 20010413 (to the entire pgsql-cygwin list not just you) to workaround the Cygwin AF_UNIX socket problem -- not to solve your original problem. > Then I followed your advice and located the call in the initdb script. > I removed "-o /dev/null" from PGSQL_OPT and realized that the path to > postgres was wrong: > "//bin/postgres". The above will be interpreted by Cygwin as a UNC path. In this case, Cygwin will look for share "postgres" on machine "bin". > I called initdb with -L and everything worked fine. > I think the reason is that I have the whole cygnus stuff under c:\cygwin > and not under c:\ No! It is discouraged from installing Cygwin under the root directory of a drive. The default is "C:\Cygwin" and I suggest that you use it. If your Cygwin installation is set up correctly, then you should be able to just type: $ initdb Hence, I believe that you environment (i.e., PATH) is not set up correctly. If you cannot determine what is wrong yourself, then send the output from cygcheck -s -r v to the Cygwin mailing list: cygwin@cygwin.com Jason -- Jason Tishler Director, Software Engineering Phone: +1 (732) 264-8770 x235 Dot Hill Systems Corp. Fax: +1 (732) 264-8798 82 Bethany Road, Suite 7 Email: Jason.Tishler@dothill.com Hazlet, NJ 07730 USA WWW: http://www.dothill.com
В списке pgsql-cygwin по дате отправления: