Гость
Форумы / PostgreSQL [игнор отключен] [закрыт для гостей] / A non-fatal error occured whilst loading database modules. / 7 сообщений из 7, страница 1 из 1
03.09.2012, 08:16
    #37940769
recvezitor
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
A non-fatal error occured whilst loading database modules.
Windows7x64. Пытаюсь поставить посгрю 9.0 или 9.1. ОТваливается с описанной ошибкой. Перепробовал все что нашел:
1. Пользователь на латинице
2. Папки куда ставлю разрешены всем с полным доступом
3. Галочку read only проверил и во время установки иногда пытаюсь ее повторно снять
4. Владельцем сделал пользователя postgres
5. пробовал как в одну и ту же папку ставить сам сервер и данные так и в разные.
6. Антивирус отключил

Что ОНО от меня хочет? все время не может создать нормальную структуру в папке data. изза этого есно не запускается сервис.
Пытался подсунуть готовую структуру с другого компа. В логах просто таймаут запуска сервиса без описания ошибки. в логе установщика тоже ничего особенного:
Код: sql
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
55.
56.
57.
58.
59.
60.
61.
62.
63.
64.
65.
66.
67.
68.
69.
70.
71.
72.
73.
74.
75.
76.
77.
78.
79.
80.
81.
82.
83.
84.
85.
86.
87.
88.
89.
90.
91.
92.
93.
94.
95.
96.
97.
98.
99.
100.
101.
102.
103.
104.
105.
106.
107.
108.
109.
110.
111.
112.
113.
114.
115.
116.
117.
118.
119.
120.
121.
122.
123.
124.
125.
126.
127.
128.
129.
130.
131.
132.
133.
134.
135.
136.
137.
138.
139.
140.
141.
142.
143.
144.
145.
146.
147.
148.
149.
150.
151.
152.
153.
154.
155.
156.
...
Unpacking C:\postgres\symbols\uuid-ossp.pdb
Unpacking C:\postgres\symbols\vacuumdb.pdb
Unpacking C:\postgres\symbols\vacuumlo.pdb
Unpacking C:\postgres\symbols\zic.pdb
[16:06:13] Running the post-installation/upgrade actions:
[16:06:13] Delete the temporary scripts directory...
[16:06:13] Write the base directory to the ini file...
[16:06:13] Write the version number to the ini file...
Initialising the database cluster (this may take a few minutes)...
Executing cscript //NoLogo "C:\postgres/installer/server/initcluster.vbs" "postgres" "postgres" "****" "C:\postgres" "C:\postgres\data" 5432 "DEFAULT"
Script exit code: 0

Script output:
 WScript.Shell Initialized...
Scripting.FileSystemObject initialized...

WScript.Network initialized...
Called IsVistaOrNewer()...
    'winmgmts' object initialized...
    Version:6.1
    MajorVersion:6
Ensuring we can read the path C: (using icacls) to dimas:
    Executing batch file 'rad84AE9.bat'...
    Rц яцRўя--«c ¤яc<: C:\
"Ўф?Ё-R Rц яцRўя-R 1 ¤яc<Rч; -? Јэя<RЎ¬ Rц яцRўяў¬ 0 ¤яc<Rч

Called IsVistaOrNewer()...
    'winmgmts' object initialized...
    Version:6.1
    MajorVersion:6
Ensuring we can read the path C:\postgres (using icacls) to dimas:
    Executing batch file 'rad84AE9.bat'...
    Rц яцRўя--«c ¤яc<: C:\postgres
"Ўф?Ё-R Rц яцRўя-R 1 ¤яc<Rч; -? Јэя<RЎ¬ Rц яцRўяў¬ 0 ¤яc<Rч

Called IsVistaOrNewer()...
    'winmgmts' object initialized...
    Version:6.1
    MajorVersion:6
Ensuring we can read the path C:\postgres\data (using icacls) to dimas:
    Executing batch file 'rad84AE9.bat'...
    Rц яцRўя--«c ¤яc<: C:\postgres\data
"Ўф?Ё-R Rц яцRўя-R 1 ¤яc<Rч; -? Јэя<RЎ¬ Rц яцRўяў¬ 0 ¤яc<Rч

Called IsVistaOrNewer()...
    'winmgmts' object initialized...
    Version:6.1
    MajorVersion:6
Ensuring we can write to the data directory (using icacls) to  dimas:
Reading:    objConfFile is nothing...
Writing:    objConfFile is nothing...
Called IsVistaOrNewer()...
    'winmgmts' object initialized...
    Version:6.1
    MajorVersion:6
Ensuring the service account can read the path C: (using icacls) to postgres:
Called IsVistaOrNewer()...
    'winmgmts' object initialized...
    Version:6.1
    MajorVersion:6
Ensuring the service account can read the path C:\postgres (using icacls) to postgres:
Called IsVistaOrNewer()...
    'winmgmts' object initialized...
    Version:6.1
    MajorVersion:6
Ensuring the service account can read the path C:\postgres\data (using icacls) to postgres:
Called IsVistaOrNewer()...
    'winmgmts' object initialized...
    Version:6.1
    MajorVersion:6
Granting service account access to the data directory (using icacls) to postgres:
initcluster.vbs ran to completion

Script stderr:
 

Configuring database server startup...
Executing cscript //NoLogo "C:\postgres\installer\server\startupcfg.vbs" 9.0 "postgres" "****" "C:\postgres" "C:\postgres\data" "postgresql-x64-9.0"
Script exit code: 0

Script output:
 startupcfg.vbs ran to completion

Script stderr:
 

Creating menu shortcuts...
Executing cscript //NoLogo "C:\postgres\installer\server\createshortcuts.vbs" 9.0 "postgres" 5432 "PostgreSQL 9.0" "C:\postgres" "C:\postgres\data" "postgresql-x64-9.0"
Script exit code: 0

Script output:
 Start FixupFile(C:\postgres\scripts\serverctl.vbs)...
   Opening file for reading...
   Closing file (reading)...
   Replacing placeholders...
   Opening file for writing...
   Closing file...
  End FixupFile()...
Start FixupFile(C:\postgres\scripts\runpsql.bat)...
   Opening file for reading...
   Closing file (reading)...
   Replacing placeholders...
   Opening file for writing...
   Closing file...
  End FixupFile()...
createshortcuts.vbs ran to completion

Script stderr:
 

Starting the database server...
Executing cscript //NoLogo "C:\postgres\installer\server\startserver.vbs" postgresql-x64-9.0
Script exit code: 0

Script output:
 Starting postgresql-x64-9.0
Service postgresql-x64-9.0 started successfully
startserver.vbs ran to completion

Script stderr:
 

Loading additional SQL modules...
Executing cscript //NoLogo "C:\postgres\installer\server\loadmodules.vbs" "postgres" "****" "C:\postgres" "C:\postgres\data" 5432
Script exit code: 2

Script output:
 Installing the adminpack module in the postgres database...
    Executing 'C:\Users\dimas\AppData\Local\Temp\radED9DD.bat'...
psql: ­Ґ г¤ «®бм Ї®¤Є«озЁвмбп Є бҐаўҐаг: Connection refused (0x0000274D/10061)
	Ћ­ ¤Ґ©б⢨⥫쭮 а Ў®в Ґв Ї®  ¤аҐбг "???"
	 Ё ЇаЁ­Ё¬ Ґв TCP-ᮥ¤Ё­Ґ­Ёп (Ї®ав 5432)?
­Ґ г¤ «®бм Ї®¤Є«озЁвмбп Є бҐаўҐаг: Connection refused (0x0000274D/10061)
	Ћ­ ¤Ґ©б⢨⥫쭮 а Ў®в Ґв Ї®  ¤аҐбг "???"
	 Ё ЇаЁ­Ё¬ Ґв TCP-ᮥ¤Ё­Ґ­Ёп (Ї®ав 5432)?

Failed to install the 'adminpack' module in the 'postgres' database
loadmodules.vbs ran to completion

Script stderr:
 Program ended with an error exit code

Error running cscript //NoLogo "C:\postgres\installer\server\loadmodules.vbs" "postgres" "****" "C:\postgres" "C:\postgres\data" 5432 : Program ended with an error exit code
[16:06:31] Write the data directory to the ini file...
[16:06:31] Write the port number, service ID, locale and superuser to the ini file...
[16:06:31] Write ServiceID(postgresql-x64-9.0) to registry/ini...
Problem running post-install step. Installation may not complete correctly
 Error reading file C:/postgres/data/postgresql.conf
Creating Uninstaller
Creating uninstaller 25%
Creating uninstaller 50%
Creating uninstaller 75%
Creating uninstaller 100%
Installation completed
Log finished 09/03/2012 at 16:06:40



немного смущают кракозябры в логе. Но все равно нипанятна
...
Рейтинг: 0 / 0
03.09.2012, 11:57
    #37941023
A non-fatal error occured whilst loading database modules.
> Connection refused (0x0000274D/10061)
...
>failed to install the 'adminpack' module in the 'postgres' database
adminpack устанавливается на уже запущенный ( и настроенный ) сервер.
Кракозяблы это неизменный привет тебе от M$! Привыкай, в виндовс консоли ты будешь
их встречать регулярно!
...
Рейтинг: 0 / 0
03.09.2012, 22:05
    #37942087
A non-fatal error occured whilst loading database modules.
recvezitor<..>
немного смущают кракозябры в логе. Но все равно нипанятнаоткрой лог в браузере, подбери кодировку.
потом можешь открывать в ч-либо, что поддерживает априо/постериорную смену кодировок
...
Рейтинг: 0 / 0
04.09.2012, 10:28
    #37942386
recvezitor
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
A non-fatal error occured whilst loading database modules.
короче ничего не помогло. Решил взять папку data c другого компа и тот же установщик что был там. Только после этого установилось
...
Рейтинг: 0 / 0
Период между сообщениями больше года.
21.04.2014, 20:02
    #38620829
Wild Pointer
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
A non-fatal error occured whilst loading database modules.
recvezitorкороче ничего не помогло. Решил взять папку data c другого компа и тот же установщик что был там. Только после этого установилось

Я тоже перепробовал все перечисленные способы. Но не помогало.
Оказалось всё гораздо проще. Нужно было просто отключить антивирус (у меня Касперского 2012 v.12.0.0.374).

ЗЫЖ Знаю что прошло много времени. Но т.к. я ответа в сабже не нашёл, то разобравшись решил запостить. Вдруг кому пригодится.
...
Рейтинг: 0 / 0
Период между сообщениями больше года.
13.03.2018, 11:55
    #39614028
tokanava
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
A non-fatal error occured whilst loading database modules.
Спасибо! специально зарегился чтобы подтвердить информацию.
шел 2018 год. Win serv 2008R2 так же не ставился postgresql-9.6.6-3-windows-x64.
После отключения - установка прошла без ошибок. Этот пост сэкономил бы мне часа 3 разбирательств, но нашел я его под конец истории.
...
Рейтинг: 0 / 0
13.03.2018, 12:01
    #39614032
tokanava
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
A non-fatal error occured whilst loading database modules.
Ошибка была
Problem running post-install step. Installation may not complete correctly. Error reading file C:\Program Files\PostgreSQL\9.6\data\postgresql.conf
...
Рейтинг: 0 / 0
Форумы / PostgreSQL [игнор отключен] [закрыт для гостей] / A non-fatal error occured whilst loading database modules. / 7 сообщений из 7, страница 1 из 1
Целевая тема:
Создать новую тему:
Автор:
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]