Oracle database не запускается
This appendix contains the following information about troubleshooting:
G.8 Troubleshooting Screen Display Issues
If you connect to Oracle database with the screen resolution 640 X 480 or 800 X 600, then the Next button in the GUI is not visible as it hides behind the Taskbar. In order to counter this problem, do one of the following:
Hide the Taskbar.
Move the Oracle Universal Installer screen up.
Set the screen resolution to 1024 X 768 or higher.
G.1 Verifying Requirements
Before you try any of the troubleshooting steps in this appendix, do the following:
Check Chapter 3, "Oracle Database Preinstallation Tasks" to ensure that the system meets the requirements and that you have completed all of the preinstallation tasks.
Read the release notes for the product on your platform before installing it. You can find the latest version of the release notes on the Oracle Technology Network website:
G.5 Troubleshooting Host Name Changes and CSS
If you change the host name for Oracle Automatic Storage Management, then the Oracle CSS service does not start. In order to solve this problem, use the following steps:
Log in as a user with Administrator privileges.
Run roothas.bat to deconfigure CSS.
Starting with Oracle Database 12 c Release 1 (12.1.0.2), the roothas.bat script replaces the roothas.pl script in the Oracle Grid Infrastructure home.
This removes any configuration related files on the system that referenced the old host name.
Run gridconfig.bat script to reconfigure CSS using the new host name:
Go to the grid home's bin directory. Use the srvctl add database command with the -c SINGLE flag to add the database in an Oracle Restart configuration. Also use the srvctl add command to add the listener, the Oracle ASM instance, all Oracle ASM disk groups, and any database services to the Oracle Restart configuration.
G.9 Cleaning Up After a Failed Installation
If an installation fails, you must remove files that Oracle Universal Installer created during the attempted installation and remove the Oracle home directory.
Follow the instructions in "Removing Oracle Database Software" to run the Deinstallation tool.
G.6.2 Irrecoverable Errors
If you receive an irrecoverable error while a configuration assistant is running:
Remove the failed installation as described in the "Cleaning Up After a Failed Installation" section.
Correct the cause of the irrecoverable error.
Reinstall the Oracle software.
G.7 Troubleshooting Inventory Issues
If you face any of the following situations for Oracle home, then run the opatch lsinventory -detail command to list the contents of the inventory and see section "Recovering from inventory corruption" in the Oracle Universal Installer and OPatch User's Guide for Windows and UNIX for information about fixing the issue.
Oracle home is cloned without completing the inventory steps.
There is bad inventory.
Inventory is not available but it is created when the Oracle Enterprise Manager Agent is installed in a separate Oracle home.
G.6 Troubleshooting Configuration Assistants
To troubleshoot an installation error that occurs when a configuration assistant is running:
Review the installation log files listed in the "Reviewing the Log of an Installation Session" section.
Review the specific configuration assistant log file located in the ORACLE_BASE \ cfgtoollogs directory. Try to fix the issue that caused the error.
Ensure that there is no space in the path.
If you see the "Fatal Error. Reinstall message", look for the cause of the problem by reviewing the log files. See "Irrecoverable Errors" for more information.
G.3 Reviewing the Log of an Installation Session
During an installation, Oracle Universal Installer records all the actions that it performs in a log file. If you encounter problems during the installation, review the log file for information about possible causes of the problem. By default, the log files are located in the following directory:
Log filenames from interactive installations take the form:
For example, if an interactive installation occurred at 9:00:56 a.m. on October 14, 2005, the log file would be named:
Do not delete or manually alter the Inventory directory or its contents. Doing so can prevent Oracle Universal Installer from locating products that you install on your system.
G.10 Continuing Installations or Upgrades After Server Restarts
During an Oracle Grid Infrastructure for a standalone server installation or upgrade, the server might require a restart and you may see an error similar to the following:
The workaround is to perform the following steps:
Restart the computer.
Log in as the Oracle Installation User for the Oracle home, and run the gridconfig.bat script located in the path Grid_home\crs\config .
To complete the installation or upgrade, run the configToolAllCommands script, located in the path ORACLE_HOME \cfgtoollogs\configToolAllCommands .
, пишет ошибку "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor". Только после перезапуска службы Oracle, база начинает работать.
нужна помощь в подборе замены компрессора, Samsung RL34ECMS после остановки мотор не запускается
всем доброго здравия. поступил в ремонт Samsung RL34ECMS после первого включения компрессор.
Не запускается BIOS после включения, запускается после 4-5 минут работы системника
ПК 6 лет, от пыли чищу. Недавно стал плохо включаться, сначала просто все стало долго. Потом при.
Определите, на каких маршрутах можно добраться от остановки X до остановки Y
Я новичок в прологе. Пытаюсь что-то сделать, но ничего не компилится) Скоро сдавать. Задание.
Вернуться в терминал после остановки dm
Добрый день! есть debian 7, установленный без иксов. цель - докрутить к нему иксы, отключенные.
1. Не понял. Обычно startup и shutdown выполняются из SQL*Plus
2. в listener.ora добавь описание своей БД (можно через Net Manager)
Tue May 21 10:27:40 2013
Shutting down instance: further logons disabled
Tue May 21 10:27:40 2013
Stopping background process QMNC
Tue May 21 10:27:41 2013
Stopping background process MMNL
Tue May 21 10:27:42 2013
Stopping background process MMON
Tue May 21 10:27:43 2013
Shutting down instance (immediate)
Tue May 21 10:27:43 2013
Stopping background process CJQ0
License high water mark = 3
Tue May 21 10:27:44 2013
Stopping Job queue slave processes
Tue May 21 10:27:44 2013
Job queue slave processes stopped
Waiting for dispatcher 'D000' to shutdown
All dispatchers and shared servers shutdown
Tue May 21 10:27:47 2013
ALTER DATABASE CLOSE NORMAL
Tue May 21 10:27:48 2013
SMON: disabling tx recovery
SMON: disabling cache recovery
Tue May 21 10:27:48 2013
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
Thread 1 closed at log sequence 86
Successful close of redo thread 1
Tue May 21 10:27:49 2013
Completed: ALTER DATABASE CLOSE NORMAL
Tue May 21 10:27:49 2013
ALTER DATABASE DISMOUNT
Completed: ALTER DATABASE DISMOUNT
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
Здесь (в alert.log) показан процесс останова, а не старта.
Еще раз опиши процесс. Если приведешь протокол, совсем хорошо.
Как подключаешься к SQL*Plus, на каком компе (на сервере или на клиенте) и дальнейшие действия.
C:\Documents and Settings\admin>sqlplus
SQL*Plus: Release 10.2.0.1.0 - Production on ┬Є ╠рщ 21 12:12:42 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter user-name: *******
Enter password: ********
Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
SQL> conn sys/oracle@xe as sysdba
Connected.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
SQL>
И чтобы база заработала перезапускаю службу "Oracle" через "управлением компьютером".
alert.log за сегодняшнее число
Всем доброго времени суток. В установке оракла я новичок.
Поставил на 7-ку стандартную весию оракла (не Enterprise). Саму базу (XE) пока не ставил.
В процессе установки получил вот такую ошибку: Enterprise Manager configuration failed due to the following error: failed to unlock all em-related accounts.
После этого пытался вот такой командой пересоздать репозиторий:
Сначала запрашивает SID, затем пароль для учетки SYS (написал дефолтовый, т.к. не понял как поменять), затем путь к ORACLE_HOME, затем пароль к учетки DBSNMP. Здесь я тоже ввел дефолтовый пароль, но система его не приняла - пишет не верный юзер/пароль.
Прошло несколько часов и при запуске этой же команды в cmd выдает уже вот такую ошибку (см. файл).
Подключиться к субд через sqlplus получается. Подскажите, пожалуйста, как быть.
Ко всему прочему не могу поменять в sqlplus кодировку (через команду set NLS_LANG). При этом если запускать sqlplus из oracle_home, то отображаются кракозябры, а если просто в командной строке (cmd) задать команду для кодировки, а потом запустить sqlplus, то все ок (с кодировкой).
install oracle 11g on windows 8
Есть ли у кого-нибудь опыт установки? С первого раза не получилось поставить. И ничего не нашла в.
Установка oracle 11g на windows 7 x32
нужно установить oracle 11g на windows 7 x32 в общем скачал архив 11.2.0.1 Database Win32 начал.
Установка Oracle 11g Release 2 для Windows x64
Здравствуйте, помогите решить проблему с установкой Oracle после заполнения полей имени БД и пароля.
Ну и хорошо. Нафиг тебе этот DBControl? А если скачаешь с оф. сайта SQL Developer и поставишь его, так и вообще отлично.
если просто в командной строке (cmd) задать команду для кодировки, а потом запустить sqlplus, то все ок (с кодировкой).
Ну так и сделай cmd-файл, где сначала ставишь кодировку, а потом запускаешь SQL*Plus.
Добавлено через 4 минуты
Эта штука входит в пакет - значит, она должна работать. SQL Developer у меня есть.
Да, это, конечно, вариант, но я хочу чтобы в самом sqlplus она нормальная была.
Вроде разобрался и с базой и с listener'ом, все настроил, база доступна и работает.
Теперь проблема с клиентом. В пакет входил архив с клиентом, я его распаковал и установил.
Сюда (client_1\network\admin) положил tnsnames для клиента.
Выглядит он вот так (переделал из серверного tnsnames):
Но команда tnsping orcl не проходит - ни из директории клиента, ни из директории сервера (все вместе на одной машине стоит). Подскажите, что я сделал не так?
Здравствуйте!
Рекомендуется на клиенте создавать конфигурацию через утилиту Net Configuration Assistant. Вызывается командой "netca".
Попробуйте на клиенте вот такой синтаксис:
вот оно что. на сервере я как раз через netca создавал, а на клиенте забыл про это. Спасибо вам, буду дальше пробовать.
Добавлено через 14 минут
Вопрос такой - как на одной машине создать две переменные среды ORACLE_HOME ? Чтобы одна была для клиента, а другая для сервера.
При запуске netca клиент смотрит в ORACLE_HOME сервера и netca не запускается из-за этого.
Добавлено через 1 час 34 минуты
Создал файл listener.ora из директории клиента через netca, но порт 1521 установить не дал, видимо, потому что он занят серверным прослушивателем. При попытке посмотреть статус прослушивателя выдает ошибки:
Чет я совсем запутался. Может, на сервере и не надо было настраивать прослушивателя?
Добавлено через 9 минут
В итоге у меня есть listener.ora и tnsnames.ora на сервере и там удается подключиться к инстансу через sqlplus, все норм. На клиенте есть только listener.ora, вот такой
Сформировал его через netca. Но не могу даже посмотреть его статус, выдает ошибку, что нет прослушивателя. Если поменять порт 1522 на 1521, то он почему-то начинает смотреть на серверного прослушивателя, хотя я запускаю команды из директории клиента.
Добавлено через 3 минуты
При всем при этом я пока не ставил саму тестовую базу XE. Может быть, она является клиентом. А тот клиент, который я установил вообще не нужно менять.
Добавлено через 22 часа 37 минут
Кстати, залез в реестр посмотреть значения переменной ORACLE_HOME - у клиента стоит свое значение, а у сервера свое и они корректны.
Добавлено через 4 минуты
Может быть, поскольку у меня все на одной машине, клиент мне вообще не нужен? Достаточно поставить просто XE и все ?
Добавлено через 5 минут
И еще такой вопрос - откуда должна проходить команду tnsping для базы - из директории сервера или из клиента ? В первом случае пишет ошибку, что нет прослушивателя, а во втором пишет сбой при разрешении имени.
Добавлено через 23 часа 2 минуты
Вообщем, на сколько я понял, оракловый клиент мне не нужен, нужен только сервер и сама база XE. Но проблема в том, что по прежнему не получается пересоздать репозиторий для EM.
Подскажите, в чем может быть дело?
Добавлено через 2 часа 5 минут
Сейчас проблема даже не в пересоздании репозитория, а в том, что не проходит tnsping к инстансу БД.
listener.ora (причем первый прослушиватель отключен,я работаю со вторым):
this is my first post so I will try to be as descriptive as possible. Please let me know if there is anything missing:
So I am trying to install Oracle Express 11g, after I download the zip file "OracleXE112_Win32" - I unzip it, and open Disk 1 then setup. I go through the entire installation process without any problems. However when I go to open "Get Started" I come across the following error:
If I do this when I click on "Get Started" the following error shows up: "Firefox can' establish a connection to the server at 127.0.0.1:8080."
I need this to work, so that I can sooner or later connect this to my eclipse, so that I can start doing my homework for my Java Programming class. Any help is greatly appreciated, thank you so much!
G.4 Silent Mode Response File Error Handling
To determine whether a silent-mode installation succeeds or fails, check the silentInstallActions date_time .log file, located in DRIVE_LETTER :\Program Files\Oracle\Inventory\logs .
If necessary, see Section G.3, "Reviewing the Log of an Installation Session" for information about determining the location of the Inventory directory.
A silent installation fails if:
You do not specify a response file.
You specify an incorrect or incomplete response file.
Oracle Universal Installer encounters an error, such as insufficient disk space.
Oracle Universal Installer or a configuration assistant validates the response file at run time. If the validation fails, the silent-mode installation or configuration process ends.
"Reviewing the Log of an Installation Session" for information about interactive installation log files
G.2 Encountering Installation Errors
If you encounter an error during installation:
Do not exit Oracle Universal Installer.
If you clicked Next after you entered incorrect information about one of the installation windows, click Back to return to the window and correct the information.
If you encounter an error while Oracle Universal Installer is copying or linking files, see "Reviewing the Log of an Installation Session" for interactive installations or "Silent Mode Response File Error Handling" for more information.
If you encounter an error while a configuration assistant is running, see the "Troubleshooting Configuration Assistants" section.
If you cannot resolve the problem, remove the failed installation by following the steps listed in the "Cleaning Up After a Failed Installation" section.
G.6.1 Configuration Assistant Failures
Oracle configuration assistant failures are noted at the bottom of the installation window. The configuration assistant interface displays additional information, if available. The configuration assistant execution status is stored in the installActions date_time .log file.
The execution status codes are listed in the following table:
Status | Result Code |
---|---|
Configuration assistant succeeded | 0 |
Configuration assistant failed | 1 |
Configuration assistant canceled | -1 |
1 ответ 1
Распаковываю архив и нажимаю на setup
Следует учесть: БД это довольно сложный программный продукт, его установка требует базовых знаний в облати ОС и БД. Их будет явно недостаточно, если их хватает только на действие - нажать на setup.
Рекомендуется воспользоваться оф. инструкцией по устанновке (как минимим прочитать "по диагонали"). Предложеная ниже инструкция, попытка провести установку оставляя все, что только возможно, значениями по-умолчанию, чтобы избежать необходимости расширенных познаний в архитектуре и конфигурации БД.
Установка БД 19c на Windows 10 Home десктоп или ноутбук в учебных или тестовых целях.
Создайте директорию, куда будет установлена БД. Использовать кириллические симоволы и пробелы не рекомендуется. Создайте, например: D:\app\oracle\orcl . Разархивируйте туда скаченый ранее архив. В данном случае, позднее понадобятся переменные окружения:
Откройте CMD как администратор и перейдите во вновь созданную директорию. Теперь запустите установщик:
В появившемся окне установщика нажимая Next следуйте до Steep 4 of 8, оставляя всё как есть. Здесь задайте (или оставте предложенное по-умолчанию):
- Global datebase name: orcl
- Password: *******
- Pluggable datebase name: pdb1
Обязательно запомните эти данные. Переменная окружения для SID (системного идентификатора образа БД) и строка соединения будут такими:
Следуйте далее до Steep 6 of 8 и нажмите Install
Это лог установки и к нему следует обращаться в случае ошибок.
Закройте окнo CMD и откройте его теперь с обычным пользователем. Выполните подключение как привилигированый БД пользователь SYS :
Текущее местоположение - контейнер БД (CDB), здесь ничего создавать и менять не надо. В контейнере запущены: шаблон для новых БД ( PDB$SEED ) и только что созданая пустая БД ( PDB1 ), в которую и следует перейти:
Всё в порядке. В новой пустой БД создайте нового пользователя и работайте только с ним (не с SYS ).
На этом ресурсе уже есть следующие темы, которых помогут осуществить дальнейшие шаги:
8 Answers 8
At the beginning I had the same situation as mentioned above: I was unable to connect to the apex service even after successful installation.
First I have used the tnsping oracle utility:
This was the answer:
You see above a lot of currently active different IP addresses. Only the most important 127.0.0.1 is missing. I work on notebook so the network is "almost always" changing (WLAN, 3G, HSDPA, Ethernet etc.) only the localhost is fixed. And that was the real case of the trouble. (When I was working at the office environment connected to the office network it was also working.)
When I was in this situation I also started to use the lsnrctl oracle utility. I have seen the following:
You can see that the service for the apex at 8080 port is missing . I have tried also the normal ping which worked perfectly:
You can realize the IPv6 address also exists in my tnsping trial as well.
So I have decided to define MYHOST in my local hosts file directly:
Testing now with ping:
At this point I have restarted (stopped and started again) the both running Oracle services (just for sure):
And look the miracle:
You can see the important line with PORT=8080 and service XE instance. So I am happy the getting started URL is working again.
В чем может быть проблема при установке Oracle Database 19c (ссылка где скачивал).
- Распаковываю архив и нажимаю на setup.
- После этого дальше пустого окна установки дело не доходит.
- Установку я прерываю закрывая окно установщика.
Проблема может заключаться в пути до установочного файла. Попробуй извлечь в корень установщик, чтобы небыло пробелов и на всякий случай кириллицы
Читайте также: