Re: Can't start service but works from command line

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: Can't start service but works from command line
Дата
Msg-id gvarjt$lk0$1@ger.gmane.org
обсуждение исходный текст
Ответ на Can't start service but works from command line  ("Dejan" <kolufild@gmail.com>)
Список pgsql-general
Dejan wrote on 24.05.2009 01:19:
> Computer which hosted a database crashed, but I managed to save "data"
> folder. I copied it to another computer and pointed postgres to that folder
> (stopping the service first). But, the service cannot start. Progress bar
> just goes for awhile, and then a pop-up tells me that the service stopped.
>
> I found in Services that command for starting the service is this
>
> "C:\Program Files\PostgreSQL\8.2\bin\pg_ctl.exe" runservice -w -N
> "pgsql-8.2" -D "f:\PostgreSQL\data\"

Hmm, the command to start a service in Windows is "net start serviceName", so
that should be:

net start "pgsql-8.2"

in your case.

В списке pgsql-general по дате отправления:

Предыдущее
От: Lew
Дата:
Сообщение: Re: Code tables, conditional foreign keys?
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Can't start service but works from command line