Compatibility : Windows 7, 8, Vista, XP
Download Size : 6MB
Requirements : 300 MHz Processor, 256 MB Ram, 22 MB HDD
Limitations: This download is a free evaluation version. To unlock all features and tools, a purchase is required.
Postgresql Error Code 1063 Error Codes are caused in one way or another by misconfigured system files in your windows operating system.
If you have Postgresql Error Code 1063 errors then we strongly recommend that you Download (Postgresql Error Code 1063) Repair Tool .
This article contains information that shows you how to fix Postgresql Error Code 1063 both (manually) and (automatically) , In addition, this article will help you troubleshoot some common error messages related to Postgresql Error Code 1063 error code that you may receive.
Note: This article was updated on 2023-01-09 and previously published under WIKI_Q210794
Contents
What is Postgresql Error Code 1063 error?
The Postgresql Error Code 1063 error is the Hexadecimal format of the error caused. This is common error code format used by windows and other windows compatible software and driver vendors.
This code is used by the vendor to identify the error caused. This Postgresql Error Code 1063 error code has a numeric error number and a technical description. In some cases the error may have more parameters in Postgresql Error Code 1063 format .This additional hexadecimal code are the address of the memory locations where the instruction(s) was loaded at the time of the error.
What causes Postgresql Error Code 1063 error?
The Postgresql Error Code 1063 error may be caused by windows system files damage. The corrupted system files entries can be a real threat to the well being of your computer.
There can be many events which may have resulted in the system files errors. An incomplete installation, an incomplete uninstall, improper deletion of applications or hardware. It can also be caused if your computer is recovered from a virus or adware/spyware attack or by an improper shutdown of the computer. All the above actives may result in the deletion or corruption of the entries in the windows system files. This corrupted system file will lead to the missing and wrongly linked information and files needed for the proper working of the application.
How to easily fix Postgresql Error Code 1063 error?
There are two (2) ways to fix Postgresql Error Code 1063 Error:
Advanced Computer User Solution (manual update):
1) Start your computer and log on as an administrator.
2) Click the Start button then select All Programs, Accessories, System Tools, and then click System Restore.
3) In the new window, select «Restore my computer to an earlier time» option and then click Next.
4) Select the most recent system restore point from the «On this list, click a restore point» list, and then click Next.
5) Click Next on the confirmation window.
6) Restarts the computer when the restoration is finished.
Novice Computer User Solution (completely automated):
2) Install program and click Scan button.
3) Click the Fix Errors button when scan is completed.
4) Restart your computer.
How does it work?
This tool will scan and diagnose, then repairs, your PC with patent pending technology that fix your windows operating system registry structure.
basic features: (repairs system freezing and rebooting issues , start-up customization , browser helper object management , program removal management , live updates , windows structure repair.)
Источник
Невозможно запустить PostgreSQL как службу Windows
У меня было это в моих службах Windows:
Он никогда не прекращает выполнение. Но если бы я сделал это в оболочке dos:
Обратите внимание, что я только изменил «runservice» на «start», и он работает нормально.
11 ответы
Команду runservice может выполнять только диспетчер служб.
чтобы исправить мой localhost windows 7 для запуска postgres как службы, я использовал следующую команду для запуска данных
Потом проверил статус на наличие ошибок
если вы получите ошибку 1063, это более чем вероятные разрешения, я выполнил следующую команду
затем повторно запустите запуск / статус, он показал все нормально, но диспетчер служб не запускал службу
Итак, в Services-> postgresql-> options-> logon я установил вход как локальную системную учетную запись вместо пользователя postgres, и вуаля, это сработало.
Создан 13 июля ’12, 17:07
У меня это тоже сработало. postgresql 9.5.2. Вкратце: в сервисах выберите сервис и просмотрите его свойства и измените логин на локальную систему — Александр Риос
Вместо postgres пользователь, я использовал NETWORK_SERVICE Пользователь. Подробнее см. Здесь: stackoverflow.com/a/38563535/363573 — Stephan
это случилось со мной, потому что я установил каталог данных где-то там, где учетная запись пользователя postgres Windows не имела доступа.
Это ИМЕННО причина, по которой это происходит! Вы должны изменить каталог данных во время установки, чтобы избежать этой проблемы — Анонимный
Для случайного читателя вот простой способ правильно установить права доступа к каталогу данных: stackoverflow.com/a/38563535/363573. — Stephan
Следует отметить, что по умолчанию PostgreSQL в Windows, похоже, использует NetworkService в качестве пользователя. — Барт Фридрихс
Я столкнулся с той же проблемой после перемещение вручную файлов данных базы данных (Каталог PG_DATA) без воссоздания всех необходимых разрешений.
Вот как я решил свою проблему:
1. Проверьте права доступа к старому каталогу PG_DATA:
2. Проверьте права доступа к новому каталогу PG_DATA:
3. Сравните выходы из 1. и 2.
Найдите различия между пользователями и / или разрешениями, а затем синхронизируйте их.
Примечание: Мне было проще использовать explorer для шага синхронизации, а не использовать cacls прямо из командной строки.
Создан 25 июля ’16, 10:07
У меня была эта проблема в Windows после сбоя системы. Выполнение первой команды показало неверные данные в C:Program FilesPostgreSQL9.1datapostmaster.pid . Удаление этого файла помогло. Ссылка.
ответ дан 06 дек ’13, 19:12
Если вы изменили pg_hba.conf , возможно, вы что-то пропустили в файле. Например, в этом файле после IP должен быть CIDR. Должно быть 192.168.1.100/32
Если вы забыли поставить 32, то сервер не перезагружается.
Ключом к разгадке может быть исследование журналов запуска. Дело в том, что проблема в pg_hba.conf можно было увидеть что-то вроде этого:
Вам нужно проверить свои файлы журналов и журнал событий Windows, чтобы понять, в чем проблема. Если там вообще ничего нет, вам нужно вырвать что-то вроде Process Monitor и получить трассировку стека, где он завис.
ответ дан 09 авг.
У меня была эта проблема в прошлом, и дело было в том, что установщик неправильно настроил разрешения для пользователя, от имени которого должна была запускаться служба.
ответ дан 27 авг.
Я также столкнулся с этой проблемой с выбросом postgresql и ошибкой после попытки инициализировать кластер базы данных. После анализа файлов журнала и запуска сценариев командной строки в течение 4 часов у меня есть решение для всех, кто сталкивается с этой проблемой для версий Windows.
Это не подробное описание того, почему это происходит. Я устанавливал odoo 10, 11, 12 и 13 много раз на бесчисленное количество клиентских серверов и систем Windows, и это первый раз, когда я столкнулся с этой проблемой. Я не могу сказать, потому что у меня установлен MS VS Enterprise и Android Studio на этом компьютере или что-то в этом роде. Но ниже приводится простой ответ о том, как это исправить, инициализировать кластер и создать файлы базы данных в папке данных.
Откройте папку данных для postgresql. — Для установки Odoo это обычно будет «C: Program Files (x86) Odoo 13.0 PostgreSQL», если вы не выбрали другое место при установке.
Удалите все или все файлы из этой папки — в противном случае вы получите сообщение об ошибке при запуске initdb.exe.
Щелкните правой кнопкой мыши папку с данными и откройте для нее свойства. Щелкните вкладку «Безопасность», а затем нажмите кнопку «Дополнительно» внизу.
Вам необходимо изменить владельца этой папки на openpgsvc. Нажмите «Изменить», введите openpgsvc и нажмите «ОК». После этого установите флажок ниже, говоря, что вы хотите, чтобы это изменение также повлияло на контейнеры с этим контейнером.
Затем на вкладке «Разрешения» нажмите кнопку «Добавить» внизу. Вам необходимо добавить openpgsvc в качестве пользователя и предоставить этому пользователю полные права. Нажмите «Применить» и «ОК», чтобы закрыть все свойства папки.
Теперь вам нужно открыть cmd.exe — после открытия мы вызовем initdb.exe и также передадим ему некоторые значения.
Сначала запустите chdir и измените рабочий каталог на место initdb.exe. Для меня, когда я запускаю odoo 13 на машине с Windows 10, это расположение ..
«C: Program Files (x86) Odoo 13.0 PostgreSQL bin»
- Есть еще одна переменная, которую также необходимо передать, чтобы эта работа работала, — это список. НЕОБХОДИМО ВКЛЮЧИТЬ В ЗВОНОК initdb.exe
Каталог данных Postgres: «C: Program Files (x86) Odoo 13.0 PostgreSQL data»
Конечный результат с параметром для моей установки будет выглядеть так:
Источник
How to fix Postgresql Error Code 1063 —> Error?
Click here follow the steps to fix Postgresql Error Code 1063 and related errors.
To Fix (Postgresql Error Code 1063) error you need to follow the steps below:
Click ‘Fix All‘ and you’re done! |
Compatibility : Windows 7, 8, Vista, XP Limitations: This download is a free evaluation version. To unlock all features and tools, a purchase is required. Postgresql Error Code 1063 Error Codes are caused in one way or another by misconfigured system files in your windows operating system. If you have Postgresql Error Code 1063 errors then we strongly recommend that you Download (Postgresql Error Code 1063) Repair Tool . This article contains information that shows you how to fix Postgresql Error Code 1063 both (manually) and (automatically) , In addition, this article will help you troubleshoot some common error messages related to Postgresql Error Code 1063 error code that you may receive. Note: This article was updated on 2023-01-09 and previously published under WIKI_Q210794 ContentsWhat is Postgresql Error Code 1063 error?The Postgresql Error Code 1063 error is the Hexadecimal format of the error caused. This is common error code format used by windows and other windows compatible software and driver vendors. This code is used by the vendor to identify the error caused. This Postgresql Error Code 1063 error code has a numeric error number and a technical description. In some cases the error may have more parameters in Postgresql Error Code 1063 format .This additional hexadecimal code are the address of the memory locations where the instruction(s) was loaded at the time of the error. What causes Postgresql Error Code 1063 error?The Postgresql Error Code 1063 error may be caused by windows system files damage. The corrupted system files entries can be a real threat to the well being of your computer. There can be many events which may have resulted in the system files errors. An incomplete installation, an incomplete uninstall, improper deletion of applications or hardware. It can also be caused if your computer is recovered from a virus or adware/spyware attack or by an improper shutdown of the computer. All the above actives may result in the deletion or corruption of the entries in the windows system files. This corrupted system file will lead to the missing and wrongly linked information and files needed for the proper working of the application. How to easily fix Postgresql Error Code 1063 error?There are two (2) ways to fix Postgresql Error Code 1063 Error: Advanced Computer User Solution (manual update): 1) Start your computer and log on as an administrator. 2) Click the Start button then select All Programs, Accessories, System Tools, and then click System Restore. 3) In the new window, select «Restore my computer to an earlier time» option and then click Next. 4) Select the most recent system restore point from the «On this list, click a restore point» list, and then click Next. 5) Click Next on the confirmation window. 6) Restarts the computer when the restoration is finished. Novice Computer User Solution (completely automated): 2) Install program and click Scan button. 3) Click the Fix Errors button when scan is completed. 4) Restart your computer. How does it work? This tool will scan and diagnose, then repairs, your PC with patent pending technology that fix your windows operating system registry structure. Источник Почему может не запускаться служба Postgres?Всех приветствую, подскажите, скачал и установил PostgreSQL 12.1.3 для Windows, для изучения, система у меня — Windows 7×64 со всеми обновами, уже на этапе установки выскакивает ошибка что невозможно законнектится к службе постргреса, если продолжить то потом при входе в админскую панель в браузере с помощью pgAdmin4 невозможно создать сервер — коннект к службе так же невозможен Пробовал гуглить — проблема ненова но в основном она у всех после длительного использования — кэш почистили настройки некоторые сбросили — и все запустилось, а у меня нечего чистить и сбрасывать — чистая новая установка, странно, что делать? Источник Читайте также: Transistor tester gm328 прошивка Adblock |
---|
Instructions
Installing PostgreSQL 10 On Windows 7 (yes the clock is ticking…). I first tried the latest version 11 which completely failed to install… not a good sign for Windows users. Anyway.
Quick answer: Change the account in the Windows Services panel from Network to Local.
Details of my case
During installation I created/selected a data folder in the user profile folder, because obviously the folder suggested by default, within the program folder, wouldn’t work, and if it worked it would be a very idea to put data here (I don’t know whether it’s usual to do that on Unix/Linux, but for Windows it’s it’s not allowed for a long time).
At the end (when populating the data cluster) I received an error:
Failed to load SQL Modules into database Cluster
but the installation was able to complete. I found two pages about previous error, here and here, but they didn’t seem relevant to my case, so I just started pgAdmin and, on the left «browser», saw the server wasn’t active.
I tried to start it from here (had to type the main password), but it went inactive immediately again. So I tried to use the Windows services panel to start «postgresql-x64-10», no joy. I copied the command from this panel and pasted it into a Windows console (cmd.exe) where I finally received this
error 1063.
Searching I found this related question, and was convinced the problem was about permissions.
Solution working for my case
In the services panel I changed the account used to start the service from Network Service to Local System as suggested in a comment by @AlexanderRios.
Содержание
- Невозможно запустить PostgreSQL как службу Windows
- 11 ответы
- 1. Проверьте права доступа к старому каталогу PG_DATA:
- 2. Проверьте права доступа к новому каталогу PG_DATA:
- 3. Сравните выходы из 1. и 2.
- Re: Error code 1063
- Почему может не запускаться служба Postgres?
- pg_ctl: could not start service «pgsql-8.2»: error code 1063
- Responses
- Browse pgsql-general by date
- Re: pg_ctl: could not start service «pgsql-8.2»: error code 1063
Невозможно запустить PostgreSQL как службу Windows
У меня было это в моих службах Windows:
Он никогда не прекращает выполнение. Но если бы я сделал это в оболочке dos:
Обратите внимание, что я только изменил «runservice» на «start», и он работает нормально.
11 ответы
Команду runservice может выполнять только диспетчер служб.
чтобы исправить мой localhost windows 7 для запуска postgres как службы, я использовал следующую команду для запуска данных
Потом проверил статус на наличие ошибок
если вы получите ошибку 1063, это более чем вероятные разрешения, я выполнил следующую команду
затем повторно запустите запуск / статус, он показал все нормально, но диспетчер служб не запускал службу
Итак, в Services-> postgresql-> options-> logon я установил вход как локальную системную учетную запись вместо пользователя postgres, и вуаля, это сработало.
Создан 13 июля ’12, 17:07
У меня это тоже сработало. postgresql 9.5.2. Вкратце: в сервисах выберите сервис и просмотрите его свойства и измените логин на локальную систему — Александр Риос
Вместо postgres пользователь, я использовал NETWORK_SERVICE Пользователь. Подробнее см. Здесь: stackoverflow.com/a/38563535/363573 — Stephan
это случилось со мной, потому что я установил каталог данных где-то там, где учетная запись пользователя postgres Windows не имела доступа.
Это ИМЕННО причина, по которой это происходит! Вы должны изменить каталог данных во время установки, чтобы избежать этой проблемы — Анонимный
Для случайного читателя вот простой способ правильно установить права доступа к каталогу данных: stackoverflow.com/a/38563535/363573. — Stephan
Следует отметить, что по умолчанию PostgreSQL в Windows, похоже, использует NetworkService в качестве пользователя. — Барт Фридрихс
Я столкнулся с той же проблемой после перемещение вручную файлов данных базы данных (Каталог PG_DATA) без воссоздания всех необходимых разрешений.
Вот как я решил свою проблему:
1. Проверьте права доступа к старому каталогу PG_DATA:
2. Проверьте права доступа к новому каталогу PG_DATA:
3. Сравните выходы из 1. и 2.
Найдите различия между пользователями и / или разрешениями, а затем синхронизируйте их.
Примечание: Мне было проще использовать explorer для шага синхронизации, а не использовать cacls прямо из командной строки.
Создан 25 июля ’16, 10:07
У меня была эта проблема в Windows после сбоя системы. Выполнение первой команды показало неверные данные в C:Program FilesPostgreSQL9.1datapostmaster.pid . Удаление этого файла помогло. Ссылка.
ответ дан 06 дек ’13, 19:12
Если вы изменили pg_hba.conf , возможно, вы что-то пропустили в файле. Например, в этом файле после IP должен быть CIDR. Должно быть 192.168.1.100/32
Если вы забыли поставить 32, то сервер не перезагружается.
Ключом к разгадке может быть исследование журналов запуска. Дело в том, что проблема в pg_hba.conf можно было увидеть что-то вроде этого:
Вам нужно проверить свои файлы журналов и журнал событий Windows, чтобы понять, в чем проблема. Если там вообще ничего нет, вам нужно вырвать что-то вроде Process Monitor и получить трассировку стека, где он завис.
ответ дан 09 авг.
У меня была эта проблема в прошлом, и дело было в том, что установщик неправильно настроил разрешения для пользователя, от имени которого должна была запускаться служба.
ответ дан 27 авг.
Я также столкнулся с этой проблемой с выбросом postgresql и ошибкой после попытки инициализировать кластер базы данных. После анализа файлов журнала и запуска сценариев командной строки в течение 4 часов у меня есть решение для всех, кто сталкивается с этой проблемой для версий Windows.
Это не подробное описание того, почему это происходит. Я устанавливал odoo 10, 11, 12 и 13 много раз на бесчисленное количество клиентских серверов и систем Windows, и это первый раз, когда я столкнулся с этой проблемой. Я не могу сказать, потому что у меня установлен MS VS Enterprise и Android Studio на этом компьютере или что-то в этом роде. Но ниже приводится простой ответ о том, как это исправить, инициализировать кластер и создать файлы базы данных в папке данных.
Откройте папку данных для postgresql. — Для установки Odoo это обычно будет «C: Program Files (x86) Odoo 13.0 PostgreSQL», если вы не выбрали другое место при установке.
Удалите все или все файлы из этой папки — в противном случае вы получите сообщение об ошибке при запуске initdb.exe.
Щелкните правой кнопкой мыши папку с данными и откройте для нее свойства. Щелкните вкладку «Безопасность», а затем нажмите кнопку «Дополнительно» внизу.
Вам необходимо изменить владельца этой папки на openpgsvc. Нажмите «Изменить», введите openpgsvc и нажмите «ОК». После этого установите флажок ниже, говоря, что вы хотите, чтобы это изменение также повлияло на контейнеры с этим контейнером.
Затем на вкладке «Разрешения» нажмите кнопку «Добавить» внизу. Вам необходимо добавить openpgsvc в качестве пользователя и предоставить этому пользователю полные права. Нажмите «Применить» и «ОК», чтобы закрыть все свойства папки.
Теперь вам нужно открыть cmd.exe — после открытия мы вызовем initdb.exe и также передадим ему некоторые значения.
Сначала запустите chdir и измените рабочий каталог на место initdb.exe. Для меня, когда я запускаю odoo 13 на машине с Windows 10, это расположение ..
«C: Program Files (x86) Odoo 13.0 PostgreSQL bin»
- Есть еще одна переменная, которую также необходимо передать, чтобы эта работа работала, — это список. НЕОБХОДИМО ВКЛЮЧИТЬ В ЗВОНОК initdb.exe
Каталог данных Postgres: «C: Program Files (x86) Odoo 13.0 PostgreSQL data»
Конечный результат с параметром для моей установки будет выглядеть так:
Источник
Re: Error code 1063
From: | «Magnus Hagander» |
---|---|
To: | «Robert Fitzpatrick» , «PostgreSQL» |
Subject: Re: Error code 1063 Date: 2006-07-12 12:13:51 Message-ID: 6BCB9D8A16AC4241919521715F4D8BCEA0FAEC@algol.sollentuna.se Views: Raw Message | Whole Thread | Download mbox | Resend email Thread: Lists: pgsql-general
> 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 FilesPostgreSQL8.1binpg_ctl.exe» runservice
> -N «pgsql-8.1» -D «C:Program FilesPostgreSQL8.1data»
> 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».
Источник
Почему может не запускаться служба Postgres?
Всех приветствую, подскажите, скачал и установил PostgreSQL 12.1.3 для Windows, для изучения, система у меня — Windows 7×64 со всеми обновами, уже на этапе установки выскакивает ошибка что невозможно законнектится к службе постргреса,
если продолжить то потом при входе в админскую панель в браузере с помощью pgAdmin4 невозможно создать сервер — коннект к службе так же невозможен
Если открыть панель служб винды то там служба postgresql-x64-12 висит со статусом остановлена — запустить её вручную неудается — выходит сообщение — служба была запущена и сразу установлена, пробовал скопировать строчку запуска службы —
«C:PostgreSQL12binpg_ctl.exe» runservice -N «postgresql-x64-12» -D «C:PostgreSQL12data» -w
И вставил её в командную строку — ни в обычной ни в админской коммандн.строке не запускается:
C:>»C:PostgreSQL12binpg_ctl.exe» runservice -N «postgresql-x64-12» -D «C:PostgreSQL12data» -w
pg_ctl: не удалось запустить службу «postgresql-x64-12» (код ошибки: 1063)
Пробовал гуглить — проблема ненова но в основном она у всех после длительного использования — кэш почистили настройки некоторые сбросили — и все запустилось, а у меня нечего чистить и сбрасывать — чистая новая установка, странно, что делать?
Источник
pg_ctl: could not start service «pgsql-8.2»: error code 1063
From: | Stefano T |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | pg_ctl: could not start service «pgsql-8.2»: error code 1063 |
Date: | 2007-05-05 16:45:10 |
Message-ID: | 1178383510.463603.250330@h2g2000hsg.googlegroups.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi everybody.
Well.. i’ve a probelm. pg doesn’t start at boot. if i copy the string
of command and try execute:
C:ProgramsPostgreSQL8.2binpg_ctl.exe runservice -N «pgsql-8.2» -D
«C:ProgramsPostgreSQL8.2data»
the output is:
pg_ctl: could not start service «pgsql-8.2»: error code 1063
and if i try to execute this:
C:WINDOWSsystem32net.exe start pgsql-8.2
The PostgreSQL Database Server 8.2 service is starting.
The PostgreSQL Database Server 8.2 service could not be started.
The service did not report an error.
and the execution of this:
C:ProgramsPostgreSQL8.2bin>psql.exe
psql: could not connect to server: Connection refused (0x0000274D/
10061)
Is the server running on host «. » and accepting
TCP/IP connections on port 5432?
some one can help me? how can i fix this problem?
Responses
- Re: pg_ctl: could not start service «pgsql-8.2»: error code 1063 at 2007-05-07 17:14:50 from Magnus Hagander
Browse pgsql-general by date
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Nolan | 2007-05-05 21:50:49 | Refreshing a warm spare with WAL files |
Previous Message | Sebastian Hennebrueder | 2007-05-05 15:54:33 | Re: Feature Request — was: PostgreSQL Performance Tuning |
Copyright © 1996-2022 The PostgreSQL Global Development Group
Источник
Re: pg_ctl: could not start service «pgsql-8.2»: error code 1063
From: | Magnus Hagander |
---|---|
To: | Stefano T |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: pg_ctl: could not start service «pgsql-8.2»: error code 1063 |
Date: | 2007-05-07 17:14:50 |
Message-ID: | 463F5E8A.4090306@hagander.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Stefano T wrote:
> Hi everybody.
> Well.. i’ve a probelm. pg doesn’t start at boot. if i copy the string
> of command and try execute:
>
> C:ProgramsPostgreSQL8.2binpg_ctl.exe runservice -N «pgsql-8.2» -D
> «C:ProgramsPostgreSQL8.2data»
> the output is:
> pg_ctl: could not start service «pgsql-8.2»: error code 1063
runservice can only be used fromthe service control manager, as the
error indicates.
> and if i try to execute this:
> C:WINDOWSsystem32net.exe start pgsql-8.2
>
> the output is:
>
> The PostgreSQL Database Server 8.2 service is starting.
> The PostgreSQL Database Server 8.2 service could not be started.
> The service did not report an error.
What do you get in the eventlog and/or the postgresql log at this time?
Источник
Установка PostgreSQL 10 в Windows 7 (да, время идет …). Сначала я попробовал последнюю версию 11, которая полностью не установилась … плохой знак для пользователей Windows. Так или иначе.
Быстрый ответ: измените учетную запись на панели служб Windows с сети на локальную.
Подробности моего дела
Во время установки я создал / выбрал папку данных в папке профиля пользователя, потому что, очевидно, папка, предложенная по умолчанию в папке программы, не будет работать, и если бы она сработала, было бы неплохо разместить данные здесь (я не Не знаю, принято ли это делать в Unix / Linux, но для Windows это давно не разрешено).
В конце (при заполнении кластера данных) я получил ошибку:
Не удалось загрузить модули SQL в кластер базы данных
но установку удалось завершить. Я нашел две страницы о предыдущей ошибке, здесь и здесь, но они не казались подходящими для моего случая, поэтому я просто запустил pgAdmin и в левом «браузере» увидел, что сервер неактивен.
Я попытался запустить его отсюда (пришлось ввести основной пароль), но он сразу снова стал неактивным. Итак, я попытался использовать панель служб Windows для запуска «postgresql-x64-10», безуспешно. Я скопировал команду с этой панели и вставил ее в консоль Windows (cmd.exe), где я наконец получил это
1063 ошибки.
При поиске я нашел этот связанный вопрос и был убежден, что проблема связана с разрешениями.
Решение работает для моего случая
На панели служб я изменил учетную запись, используемую для запуска службы, с сетевой службы на локальную систему, как это было предложено в комментарии @AlexanderRios.
Click here follow the steps to fix Postgres Error Code 1063 and related errors.
|
|
To Fix (Postgres Error Code 1063) error you need to |
|
Step 1: |
|
---|---|
Download (Postgres Error Code 1063) Repair Tool |
|
Step 2: |
|
Click the «Scan» button | |
Step 3: |
|
Click ‘Fix All‘ and you’re done! | |
Compatibility:
Limitations: |
Postgres Error Code 1063 Error Codes are caused in one way or another by misconfigured system files
in your windows operating system.
If you have Postgres Error Code 1063 errors then we strongly recommend that you
Download (Postgres Error Code 1063) Repair Tool.
This article contains information that shows you how to fix
Postgres Error Code 1063
both
(manually) and (automatically) , In addition, this article will help you troubleshoot some common error messages related to Postgres Error Code 1063 error code that you may receive.
Note:
This article was updated on 2023-02-03 and previously published under WIKI_Q210794
Contents
- 1. What is Postgres Error Code 1063 error?
- 2. What causes Postgres Error Code 1063 error?
- 3. How to easily fix Postgres Error Code 1063 errors
What is Postgres Error Code 1063 error?
The Postgres Error Code 1063 error is the Hexadecimal format of the error caused. This is common error code format used by windows and other windows compatible software and driver vendors.
This code is used by the vendor to identify the error caused. This Postgres Error Code 1063 error code has a numeric error number and a technical description. In some cases the error may have more parameters in Postgres Error Code 1063 format .This additional hexadecimal code are the address of the memory locations where the instruction(s) was loaded at the time of the error.
What causes Postgres Error Code 1063 error?
The Postgres Error Code 1063 error may be caused by windows system files damage. The corrupted system files entries can be a real threat to the well being of your computer.
There can be many events which may have resulted in the system files errors. An incomplete installation, an incomplete uninstall, improper deletion of applications or hardware. It can also be caused if your computer is recovered from a virus or adware/spyware
attack or by an improper shutdown of the computer. All the above actives
may result in the deletion or corruption of the entries in the windows
system files. This corrupted system file will lead to the missing and wrongly
linked information and files needed for the proper working of the
application.
How to easily fix Postgres Error Code 1063 error?
There are two (2) ways to fix Postgres Error Code 1063 Error:
Advanced Computer User Solution (manual update):
1) Start your computer and log on as an administrator.
2) Click the Start button then select All Programs, Accessories, System Tools, and then click System Restore.
3) In the new window, select «Restore my computer to an earlier time» option and then click Next.
4) Select the most recent system restore point from the «On this list, click a restore point» list, and then click Next.
5) Click Next on the confirmation window.
6) Restarts the computer when the restoration is finished.
Novice Computer User Solution (completely automated):
1) Download (Postgres Error Code 1063) repair utility.
2) Install program and click Scan button.
3) Click the Fix Errors button when scan is completed.
4) Restart your computer.
How does it work?
This tool will scan and diagnose, then repairs, your PC with patent
pending technology that fix your windows operating system registry
structure.
basic features: (repairs system freezing and rebooting issues , start-up customization , browser helper object management , program removal management , live updates , windows structure repair.)
Asked
11 years, 5 months ago
Viewed
12k times
This happened after i modified the pg_hba.conf file. It is currently set on trust but the server still asks for a password (even tho when clicking properties the password field is disabled ) . I treied restarting and now the damn thing wont start at all (the server that is; i have no postgres processes now). I also installed postgres 9.0 now and it works . But i would realy like to regain access to the old server. I have also tried a solution involving resetxlog -f but to no avail
Here is what else i tried :
E:Program FilesPostgreSQL8.4.8bin>pg_ctl.exe start -N "postgresql-8.4.8" -D
"E:Program FilesPostgreSQL8.4.8data" -w
waiting for server to start...2011-09-15 08:17:29 EEST LOG: could not create fi
le "postmaster.opts": Permission denied
............................................................could not start serv
er
E:Program FilesPostgreSQL8.4.8bin>pg_ctl.exe runservice -N "postgresql-8.4"
-D "E:PostgreSQL8.4.8data" -w
pg_ctl: could not start service "postgresql-8.4": error code 1063
poige
9,3142 gold badges25 silver badges52 bronze badges
asked Sep 15, 2011 at 5:34
7
While reviewing my pg_hba.conf
file I noticed that there was an O
at the beginning in stead of a #
.
I learned two things from this:
- Always check for the most incredibly stupid mistakes first
- Don’t throw your TV out the window unless you have money to buy another one
Wesley
32.4k9 gold badges80 silver badges116 bronze badges
answered Sep 15, 2011 at 7:43
SammySammy
411 bronze badge
1
If the logs show that the server process could not create a listener socket on the default port of 5432, the reason might be «administrative post exclusions», which include the default TCP port of 5432.
2021-08-14 13:12:44.165 AEST [19176] LOG: could not bind IPv4 address "127.0.0.1": Permission denied
The solution ist to either remove 5432 from the exclusions or choose a different local port, e.g. 55432, as described here
answered Jan 10, 2022 at 12:14