Re: postmaster executable ... missing?
От | joek hondius |
---|---|
Тема | Re: postmaster executable ... missing? |
Дата | |
Msg-id | BPEGLGNPDJFJPGEFPMNGMEBGEMAA.jhondius@rem.nl обсуждение исходный текст |
Ответ на | Re: postmaster executable ... missing? (Justin Clift <justin@postgresql.org>) |
Список | pgsql-cygwin |
Hi Copying a symlink under win messes it up. Windows "sees" it as a Shortcut and rewrites it as one. Cygwin does not recognize Shortcuts as sysmlinks. Try it sometime, -before copy explorer: postmaster, Shortcut cyg-bash: postmaster, Symlink -after copy explorer: postmaster, Shortcut cyg-bash: postmaster.lnk, file ms knows some special filename extentions: .lnk .url, that you dont get to see even with show extentions ON. bash does. I am always gratefull for ms making special exceptions ;) JH > -----Oorspronkelijk bericht----- > Van: pgsql-cygwin-owner@postgresql.org > [mailto:pgsql-cygwin-owner@postgresql.org]Namens Justin Clift > Verzonden: woensdag 5 februari 2003 4:04 > Aan: Jan Goller > CC: pgsql-cygwin@postgresql.org > Onderwerp: Re: [CYGWIN] postmaster executable ... missing? > > > Jan Goller wrote: > > Hi! > > > > I try to run PostgreSQL on WinXP. Everything so far works. But > when I type > > > > /cygrunsrv --install postmaster --path /usr/bin/postmaster --args "-D > > /usr/share/postgresql/data -i" --dep ipc-daemon --termsig INT --user > > postgres --shutdown/ > > > > there is always that error message: > > > > /cygrunsrv: Given path doesn't point to a valid executable/ > <snip> > > Hi Jan, > > This happened here a while ago too. Not sure what the cause nor reason > for it is, but the solution that worked for me was to (using the bash > shell): > > 1) Change to the /bin directory > > cd /bin > > 2) Remove the existing "postmaster" symlink > > rm postmaster > > 3) Create a new postmaster symlink > > ln -s /bin/postgres.exe postmaster > > > After that, everything worked fine again. > > Hope that helps. > > Regards and best wishes, > > Justin Clift > > > -- > "My grandfather once told me that there are two kinds of people: those > who work and those who take the credit. He told me to try to be in the > first group; there was less competition there." > - Indira Gandhi > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
В списке pgsql-cygwin по дате отправления: