Обсуждение: Error code 1063

Поиск
Список
Период
Сортировка

Error code 1063

От
Robert Fitzpatrick
Дата:
We have PostgreSQL 8.1 running on Windows 2000 for a few weeks now, when
we try to start the service, it could not start claiming no error
returned. So, I go to the command prompt and run the following:

"C:\Program Files\PostgreSQL\8.1\bin\pg_ctl.exe" runservice -N
"pgsql-8.1" -D "C:\Program Files\PostgreSQL\8.1\data\"
pg_ctl: could not start service "psql-8.1": error code 1063

I tried googling that error code, but come up with nothing. Can someone
tell us what this code means?

--
Robert


Re: Error code 1063

От
"Magnus Hagander"
Дата:
> We have PostgreSQL 8.1 running on Windows 2000 for a few
> weeks now, when we try to start the service, it could not
> start claiming no error returned. So, I go to the command
> prompt and run the following:
>
> "C:\Program Files\PostgreSQL\8.1\bin\pg_ctl.exe" runservice
> -N "pgsql-8.1" -D "C:\Program Files\PostgreSQL\8.1\data\"
> pg_ctl: could not start service "psql-8.1": error code 1063
>
> I tried googling that error code, but come up with nothing.
> Can someone tell us what this code means?

C:\> net helpmsg 1063

The service process could not connect to the service controller.


You can't use "runservice" from the commandline, only from the service
control manager. If you want to start it with pg_ctl, just use "pg_ctl
start".

//Magnus