Creating oracle xe database зависает
Репутация: нет
Всего: 17
Ставил я СУБД Oracle XE. становилось все криво и я несколько раз инсталлировал\деинсталлировал програму. Но в итоге в очередной раз все удалив я заметил что у меня остались в сервисах висеть два сервиса - OracleTNSListener и OracleXETNSListener.И теперь установка зависает на этапе "Creating services . ".
Я так понимаю что наличие сервисов, которые не исчезли при удалении мешает программе. Можно ли как их удалить?
P.S. Отключать службы я пробовал - не помогает
Leprechaun Software Developer
Репутация: 18
Всего: 534
Идешь в HKLM\SYSTEM\CurrentControlSet\Services, находишь там свои сервисы и грохаешь их. (на забудь сделать бекап реестра на всякий случай).
Disclaimer: this post contains explicit depictions of personal opinion. So, if it sounds sarcastic, don't take it seriously. If it sounds dangerous, do not try this at home or at all. And if it offends you, just don't read it.
Репутация: нет
Всего: 17
Leprechaun Software Developer
Репутация: 18
Всего: 534
Цитата(Artiom @ 27.10.2006, 09:39 ) |
Инсталляция теперь и правда завершается |
Цитата(Artiom @ 27.10.2006, 09:39 ) |
все равно не становится |
Сервис не создается, не запускается, к базе нельзя присоединиться?
Disclaimer: this post contains explicit depictions of personal opinion. So, if it sounds sarcastic, don't take it seriously. If it sounds dangerous, do not try this at home or at all. And if it offends you, just don't read it.
Репутация: нет
Всего: 17
счас объясню
После завершения инсталляции Oracle остается "невидимым"
Если через законнектится под sys as sysdba, то sqlplus пишет
Сервисы все запущены. Но я обратил внимание что при инсталляции этап когда создаются системные таблицы пролетает как-то быстро и каталог Oraclexe\oradata\XE остается пустым.
Leprechaun Software Developer
Репутация: 18
Всего: 534
Попробуй запусть базу вручную. Когда соединишься через SQL*Plus, набери: startup.
Disclaimer: this post contains explicit depictions of personal opinion. So, if it sounds sarcastic, don't take it seriously. If it sounds dangerous, do not try this at home or at all. And if it offends you, just don't read it.
Репутация: нет
Всего: 17
Цитата(LSD @ 27.10.2006, 11:20 ) |
Попробуй запусть базу вручную. Когда соединишься через SQL*Plus, набери: startup. |
В ответ получаю
[qoute]
ORA-01078: failure in processing system parameters
ORA-01565: error in itentifying file 'C:\oraclexe\app\oracle\product\10.2.0\server\dbs/spfileXE.ora'
ORA-27041: unable to open file
ORA-04002: unable to open file
[/qoute]
Файла spfileXE.ora действительно нет
Leprechaun Software Developer
Репутация: 18
Всего: 534
Похоже, что при установке у тебя не была создана база. К сожалению DBCA в XE нет (да и вообще создать второй экземпляр нельзя). Так что надо делать это руками. Соединяешься SQL*Plus-ом, и CREATE DATABASE.
Но вначале попробуй все же полностью подчистить систему (удали стандартными средствами Oracle, удали все его файлы, удали в реестре ветвь HKLM\SOFTWARE\ORACLE) и переставить его.
Disclaimer: this post contains explicit depictions of personal opinion. So, if it sounds sarcastic, don't take it seriously. If it sounds dangerous, do not try this at home or at all. And if it offends you, just don't read it.
Репутация: нет
Всего: 17
Цитата(LSD @ 27.10.2006, 11:59 ) |
Но вначале попробуй все же полностью подчистить систему (удали стандартными средствами Oracle, удали все его файлы, удали в реестре ветвь HKLM\SOFTWARE\ORACLE) и переставить его. |
Это я уже пробовал. Эффекта не дает.
А какую базу нужно создать? как ее назвать? какие таблицы? или смысл в том что создать хоть что-то?
Репутация: нет
Всего: 329
Leprechaun Software Developer
Репутация: 18
Всего: 534
Цитата(Artiom @ 27.10.2006, 13:06 ) |
А какую базу нужно создать? как ее назвать? какие таблицы? или смысл в том что создать хоть что-то? |
Disclaimer: this post contains explicit depictions of personal opinion. So, if it sounds sarcastic, don't take it seriously. If it sounds dangerous, do not try this at home or at all. And if it offends you, just don't read it.
Репутация: нет
Всего: 17
видимо я ничего не могу сделать - попробую может другой сервер поставить как появится
Leprechaun Software Developer
Репутация: 18
Всего: 534
Disclaimer: this post contains explicit depictions of personal opinion. So, if it sounds sarcastic, don't take it seriously. If it sounds dangerous, do not try this at home or at all. And if it offends you, just don't read it.
Данный раздел предназначен для обсуждения проблем с Oracle Database, другие продукты Oracle здесь не обсуждаются. Просьба при создании темы, придерживаться следующих правил:
Если Вам понравилась атмосфера форума, заходите к нам чаще! С уважением, Zloxa, LSD.
0 Пользователей читают эту тему (0 Гостей и 0 Скрытых Пользователей) | |
0 Пользователей: | |
« Предыдущая тема | Oracle | Следующая тема » |
[ Время генерации скрипта: 0.3336 ] [ Использовано запросов: 21 ] [ GZIP включён ]
I am trying to install Oracle 18c XE on Win10 Pro with admin privileges and at about 90-95% progress, it just hangs ("Creating Oracle XE Database"). even when i cancel the operation, after i confirm that i want to cancel it, it doesn't do anything, so the only way to interrupt it is by ending the task. Afterwards, if i try to run the installer again, it says that Oracle is already installed, so i have to uninstall it manually (delete Oracle Win registers, Oracle home directory, Windows user/groups).
I've checked the previous conversations regarding this issue, applied the possible solutions (NetBIOS enabled) and still i get the same result.
Can you please advice what should i try to solve/get around this problem?
Please let me know if i need to attach any logs.
Answers
From what you say, the software installation runs OK (the product) is installed but the DB creation is somehow hanging.
You can try installing again and include the database alert log, it may show any serious error that may occur, or review if any trace file is generated.
Thanks for your interest.
I've checked the database alert logs and ORA-00445 pops-up:
alert_xe.log
Errors in file C:\APP\USER1\PRODUCT\18.0.0\diag\rdbms\xe\xe\trace\xe_mmon_12924.trc (incident=20555) (PDBNAME=CDB$ROOT):
ORA-00445: background process "M000" did not start after 120 seconds
Errors in file C:\APP\USER1\PRODUCT\18.0.0\diag\rdbms\xe\xe\trace\xe_aqpc_11892.trc (incident=20552) (PDBNAME=CDB$ROOT):
ORA-00445: background process "QM03" did not start after 120 seconds
Errors in file C:\APP\USER1\PRODUCT\18.0.0\diag\rdbms\xe\xe\trace\xe_mmon_12924.trc (incident=20556) (PDBNAME=CDB$ROOT):
ORA-00445: background process "MZ01" did not start after 120 seconds
xe_mmon_12924.trc
00007FFA9337F7E4 0000000000000000 0000000000000000 00007ffa93321563 0000000000000000 0000000000000000
00007FFA9331D815 00007FFA9337F7D0 0000000000000000 0000000000000000 0000000000000000 0000000000000000
00007FFA933267C7 00007FFA9331D6B8 0000000000000000 0000000000000000 0000000000000000 0000000000000000
00007FFA93355765 00007FFA9332673C 0000000000000000 0000000000000000 0000000000000000 0000000000000000
00007FFA933556C3 00007FFA933556DC 0000000000000000 ffffffff932e0000 0000000000000000 0000000000000000
00007FFA9335566E 00007FFA93355688 0000000000000000 0000000000000000 0000000000000000 0000000000000000
Call stack acquisition performance stats:
setup time (lock acquis., memory alloc.): 0 ms
frame get time (time the target proc was suspended): 0 ms
symbol translation time: 0 ms
total time: 0 ms
DDE: Problem Key 'ORA 445' was flood controlled (0x4) (incident: 20558)
ORA-00445: background process "MZ01" did not start after 120 seconds
xe_aqpc_11892.trc
DDE: Problem Key 'ORA 445' was flood controlled (0x4) (incident: 20562)
ORA-00445: background process "QM03" did not start after 120 seconds
I don't know what i need to do next, so if anything comes in mind, please share
There are support notes on this error:
- Master Note: Troubleshooting Oracle Background Processes (Doc ID 1509616.1)
- Troubleshooting Guide (TSG) - Ksvcreate: Process(xxxx) Creation Failed / ORA-00445: Background Process "xxxx" Did Not Start After n Seconds (Doc ID 1379200.1)
If you are technically inclined, troubleshoot by setting trace 10281 via custom pfile and do a manual db start.
If you are logically inclined, change from Windows to Linux. Exchange dirty and convoluted complexity for the elegance of simplicity.
Please disable anti-virus and try again.
1) Is ORACLE_HOME or TNS_ADMIN set in the environment? Go to a command prompt, type "set". You will need to temporarily unset any such environment variables.
2) Are you using Windows 10 Home Edition? It is not supported and the installer is not properly checking for it in the Prerequisite check.
3) Are you using Server 2019? Same issue.
4) On your network adapter that you are using, check (enable) "Client for Microsoft Networks" and "File and Printer Sharing for Microsoft Networks".
5) Check to make sure Netbios is enabled on your network connection:
See this link for more info:
6) In some cases, antivirus has interfered with an installation. Try installing without AV.
7) Try creating a local user and adding to local administrator group and then log in and install as that user.
I tried to install express 18c on Win 10 HOME and Win10 PRO and it was hanging at about 90-95% progress also.
The way I did to bypass this issue, working as well as for Win 10 Home as for Pro : all is about administrator account !
log to win 10 using the usual account and run cmd.exe (as administrator) and issue : net user administrator /active:yes
log to win 10 with the real administrator account and run the 18xe setup.exe (no need to run as administrator). Then the install achieved well. Give full access to folder (and all sub-folders and sub-files)18xe was installed in to the win 10 usual account
log to win 10 using the usual account and run cmd.exe (as administrator) and issue : net user administrator /active:no
Hello, I've got the same problem as other people. The installer stalls forever trying to create the first DB. This is Windows 10 Pro version 1903.
At this point, pressing the Cancel button has no effect: the installation is not terminated.
As several messages are in Spanish, I'm going to translate them manually (they may not match the native English messages). This is what I found in several log files:
1) cfgtoollogs\dbca: inside this directory, logs and the lck file are zero bytes in length.
2) cfgtoollogs\netca\netca_OraDB18Home1*.log:
Listener configuration finished.
Configuration of the default local nomenclature finished.
Oracle network services have been configured correctly. Exit code is 0
So far so good, it seems the installation went well. However, the installation process is still stuck at "creating Oracle XE database". I found another log in other directory:
4) dbhomeXE\log\\client\TNSLSNR_9612.log
gipcmodNetworkAsyncComplete: [network] error for endp 000002378D24AEB0, req 000002378D1EB760, type sgipcnreqtypeConnect (1), data 0000000000000000, sret sgipcretConnectionRefused (28)
gipcmodNetworkAsyncComplete: slos op : sgipcwWait
gipcmodNetworkAsyncComplete: slos dep : Remote equipment rejected the network connection. (1225)
gipcmodNetworkAsyncComplete: slos loc : GetQueueComp
gipcmodNetworkAsyncComplete: slos info: failed for over 000002378BBA0AC0
gipcInternalConnectSync: failed sync request, ret gipcretConnectionRefused (29)
gipcConnectSyncF [clscrsconGipcConnect : clscrscon.c : 681]: EXCEPTION[ ret gipcretConnectionRefused (29) ] failed sync connect endp 000002378D24AEB0 [0000000000000028] < gipcEndpoint : localAddr 'clsc://(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=49886)(GIPCID=00000000-00000000-0))', remoteAddr 'clsc://(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=61003)(GIPCID=00000000-00000000-0))', numPend 0, numReady 0, numDone 0, numDead 0, numTransfer 0, objFlags 0x0, pidPeer 0, readyRef 0000000000000000, ready 0, wobj 000002378D24B8E0, sendp 000002378D24D4F0 status 13flags 0x2008071a, flags-2 0x0, usrFlags 0x0 >, addr 000002378D24E750 [000000000000002b] < gipcAddress : name 'clsc://(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=61003)(GIPCID=00000000-00000000-0))', objFlags 0x0, addrFlags 0x4 >, flags 0x0
ut_read_reg:2:ocr registry key SOFTWARE\Oracle\olr cannot be opened. error 2
What remote equipment is the log referencing? I'm not in a company's network, I'm using my private computer at home.
Also, the process "Java(TM) Platform SE binary" is growing endlessly. I guess you don't control errors inside the code trying to create the db and so the program leaks memory?
At the time I killed it, it was using 1.5 GB of RAM.
C'mon, I've installed in this computer Firebird, MySql, SqlServer and PostgreSql. Guess what? They install quickly and without errors.
Why are you making the Oracle XE installation so painfully complex?
I have in the network adapter "client for MS networks" and "printer and files sharing" but I guess the problem is that I have some services not running. As I said, this is my computer directly connected to the Internet.
I just wanted to refresh my old basic knowledge of stored procs but I see that after many years, Oracle still requires a mastery of black magic to be installed.
Репутация: нет
Всего: 17
Ставил я СУБД Oracle XE. становилось все криво и я несколько раз инсталлировал\деинсталлировал програму. Но в итоге в очередной раз все удалив я заметил что у меня остались в сервисах висеть два сервиса - OracleTNSListener и OracleXETNSListener.И теперь установка зависает на этапе "Creating services . ".
Я так понимаю что наличие сервисов, которые не исчезли при удалении мешает программе. Можно ли как их удалить?
P.S. Отключать службы я пробовал - не помогает
Leprechaun Software Developer
Репутация: 18
Всего: 534
Идешь в HKLM\SYSTEM\CurrentControlSet\Services, находишь там свои сервисы и грохаешь их. (на забудь сделать бекап реестра на всякий случай).
Disclaimer: this post contains explicit depictions of personal opinion. So, if it sounds sarcastic, don't take it seriously. If it sounds dangerous, do not try this at home or at all. And if it offends you, just don't read it.
Репутация: нет
Всего: 17
Leprechaun Software Developer
Репутация: 18
Всего: 534
Цитата(Artiom @ 27.10.2006, 09:39 ) |
Инсталляция теперь и правда завершается |
Цитата(Artiom @ 27.10.2006, 09:39 ) |
все равно не становится |
Сервис не создается, не запускается, к базе нельзя присоединиться?
Disclaimer: this post contains explicit depictions of personal opinion. So, if it sounds sarcastic, don't take it seriously. If it sounds dangerous, do not try this at home or at all. And if it offends you, just don't read it.
Репутация: нет
Всего: 17
счас объясню
После завершения инсталляции Oracle остается "невидимым"
Если через законнектится под sys as sysdba, то sqlplus пишет
Сервисы все запущены. Но я обратил внимание что при инсталляции этап когда создаются системные таблицы пролетает как-то быстро и каталог Oraclexe\oradata\XE остается пустым.
Leprechaun Software Developer
Репутация: 18
Всего: 534
Попробуй запусть базу вручную. Когда соединишься через SQL*Plus, набери: startup.
Disclaimer: this post contains explicit depictions of personal opinion. So, if it sounds sarcastic, don't take it seriously. If it sounds dangerous, do not try this at home or at all. And if it offends you, just don't read it.
Репутация: нет
Всего: 17
Цитата(LSD @ 27.10.2006, 11:20 ) |
Попробуй запусть базу вручную. Когда соединишься через SQL*Plus, набери: startup. |
В ответ получаю
[qoute]
ORA-01078: failure in processing system parameters
ORA-01565: error in itentifying file 'C:\oraclexe\app\oracle\product\10.2.0\server\dbs/spfileXE.ora'
ORA-27041: unable to open file
ORA-04002: unable to open file
[/qoute]
Файла spfileXE.ora действительно нет
Leprechaun Software Developer
Репутация: 18
Всего: 534
Похоже, что при установке у тебя не была создана база. К сожалению DBCA в XE нет (да и вообще создать второй экземпляр нельзя). Так что надо делать это руками. Соединяешься SQL*Plus-ом, и CREATE DATABASE.
Но вначале попробуй все же полностью подчистить систему (удали стандартными средствами Oracle, удали все его файлы, удали в реестре ветвь HKLM\SOFTWARE\ORACLE) и переставить его.
Disclaimer: this post contains explicit depictions of personal opinion. So, if it sounds sarcastic, don't take it seriously. If it sounds dangerous, do not try this at home or at all. And if it offends you, just don't read it.
Репутация: нет
Всего: 17
Цитата(LSD @ 27.10.2006, 11:59 ) |
Но вначале попробуй все же полностью подчистить систему (удали стандартными средствами Oracle, удали все его файлы, удали в реестре ветвь HKLM\SOFTWARE\ORACLE) и переставить его. |
Это я уже пробовал. Эффекта не дает.
А какую базу нужно создать? как ее назвать? какие таблицы? или смысл в том что создать хоть что-то?
Репутация: нет
Всего: 329
Leprechaun Software Developer
Репутация: 18
Всего: 534
Цитата(Artiom @ 27.10.2006, 13:06 ) |
А какую базу нужно создать? как ее назвать? какие таблицы? или смысл в том что создать хоть что-то? |
Disclaimer: this post contains explicit depictions of personal opinion. So, if it sounds sarcastic, don't take it seriously. If it sounds dangerous, do not try this at home or at all. And if it offends you, just don't read it.
Репутация: нет
Всего: 17
видимо я ничего не могу сделать - попробую может другой сервер поставить как появится
Leprechaun Software Developer
Репутация: 18
Всего: 534
Disclaimer: this post contains explicit depictions of personal opinion. So, if it sounds sarcastic, don't take it seriously. If it sounds dangerous, do not try this at home or at all. And if it offends you, just don't read it.
Данный раздел предназначен для обсуждения проблем с Oracle Database, другие продукты Oracle здесь не обсуждаются. Просьба при создании темы, придерживаться следующих правил:
Если Вам понравилась атмосфера форума, заходите к нам чаще! С уважением, Zloxa, LSD.
0 Пользователей читают эту тему (0 Гостей и 0 Скрытых Пользователей) | |
0 Пользователей: | |
« Предыдущая тема | Oracle | Следующая тема » |
[ Время генерации скрипта: 0.3181 ] [ Использовано запросов: 21 ] [ GZIP включён ]
Я загрузил Oracle XE 18c для 64-разрядной версии Windows и попытался установить его на компьютере с Windows 10. Я проверил контрольную сумму SHA-256, и она верна.
(1) Экран «Копирование файлов»
(2) Экран «Откат назад»
(3) Экран «Завершено с ошибками»
Вы уверены, что он не создал файл журнала? Это было бы необычно. См. Здесь и в разделе %Program Files%\Oracle\Inventory\logs . (В любом случае это не по теме . не уверен, что лучше подходит для администратора базы данных или суперпользователя.)
Не настроено ли для %Program Files% другое значение? Или вы уже устанавливали продукты Oracle раньше и уже имеете инвентарь где-то еще?
4 ответа
Я запускаю «setup.exe» от имени администратора вместо «Oracle Database 18c Express Edition.msi», и он отлично работает.
Сегодня у меня была такая же проблема. В моем случае это было вызвано значением переменной PATH в моей среде. Он указывал на некоторые двоичные файлы Oracle DB и библиотеки из «Oracle Instant Client», которые я ранее настроил для библиотеки коннектора Javascript node-oracledb .
Другими словами, убедитесь, что ваш PATH не указывает на какой-либо каталог, содержащий, например, файл oci.dll . Вы можете выполнить where.exe oci.dll (часть '.exe' необходима только для PowerShell) в командной строке, чтобы легко это проверить. Если команда что-то выводит, вам необходимо удалить соответствующие каталоги из вашего PATH , по крайней мере, временно.
Node-oracledb может использовать необходимые клиентские библиотеки Oracle из XE, поэтому вы можете удалить Instant Client (в зависимости от того, какие функции вы хотите получить от версии Instant Client).
Конечно. Я сначала загрузил Instant Client, чтобы иметь доступ к удаленной базе данных Oracle. Но затем я также хотел настроить локальный экземпляр для целей тестирования и столкнулся с этой проблемой при настройке. Просто хотел поделиться решением, которое сработало для меня.
Установите для Oracle_home значение null и перезагрузите систему, а затем повторите попытку.
Я надеюсь, что это сработает.
Примечание.
Перед установкой убедитесь, что у вас есть все права администратора.
Читайте также: