|
|
|
Некорректная работа OEM Database Control из-за listener
|
|||
|---|---|---|---|
|
#18+
Добрый день. После перезагрузки сервера с БД, OEM перестала отображать главную страницу. В причинах пишет: "Although a Listener with name "LISTENER", is running on this host at port: "1521", it was not started using this target's "LISTENER.ORA" file. CORRECTIVE ACTION: To monitor this "EM Listener Target" with its present configuration, you must stop the currently running listener process, and start it again using the Listener Parameter file: /opt/oracle/product/11.2.0/db/network/admin/listener.ora . Alternatively, you can update this target's "LISTENER.ORA Location" parameter with the location of the currently running Listener, which was started using: /opt/oracle/product/11.2.0/grid/network/admin/listener.ora" Listner не менялся, настройки в нём тоже. В Related Alerts пишет критическое предупреждение: "The listener is down: Although a Listener with name "LISTENER", is running on this host at port: "1521", it was not started using this target's "LISTENER.ORA" file. CORRECTIVE ACTION: To monitor this "EM Listener Target" with its present configuration, you must stop the currently running listener process, and start it again using the Listener Parameter file: /opt/oracle/product/11.2.0/db/network/admin/listener.ora . Alternatively, you can update this target's "LISTENER.ORA Location" parameter with the location of the currently running Listener, which was started using: /opt/oracle/product/11.2.0/grid/network/admin/listener.ora." При этом весь функционал у OEM активен и корректно работает (только не показывает, что БД использует БД ASM) Если нажать, на главной странице, "Last Known State", то вся текущая информация, кроме графиков и пары параметров отображается корректно. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 15.06.2017, 10:24 |
|
||
|
Некорректная работа OEM Database Control из-за listener
|
|||
|---|---|---|---|
|
#18+
Ilnov, Из под кого запущен листенер после перезагрузки? Вывод lsnrctl status listener покажите ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 15.06.2017, 17:15 |
|
||
|
Некорректная работа OEM Database Control из-за listener
|
|||
|---|---|---|---|
|
#18+
Ilnov, Код: plsql 1. 2. ОС то какая? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 15.06.2017, 17:19 |
|
||
|
Некорректная работа OEM Database Control из-за listener
|
|||
|---|---|---|---|
|
#18+
orac_listIlnov, Из под кого запущен листенер после перезагрузки? Вывод lsnrctl status listener покажите Listener запущен пользователем oracle [oracle@bigoak ~]$ lsnrctl status LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 16-JUN-2017 08:03:54 Copyright (c) 1991, 2013, Oracle. All rights reserved. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521))) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 11.2.0.4.0 - Production Start Date 14-JUN-2017 15:27:31 Uptime 1 days 16 hr. 36 min. 23 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /opt/oracle/product/11.2.0/grid/network/admin/listener .ora Listener Log File /opt/oracle/product/11.2.0/db/network/log/listener.log Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=bigoak)(PORT=1521))) Services Summary... Service "+ASM" has 1 instance(s). Instance "+ASM", status READY, has 1 handler(s) for this service... Service "EDW" has 1 instance(s). Instance "EDW", status READY, has 1 handler(s) for this service... Service "EDWXDB" has 1 instance(s). Instance "EDW", status READY, has 1 handler(s) for this service... Service "bigoak" has 1 instance(s). Instance "EDW", status UNKNOWN, has 1 handler(s) for this service... The command completed successfully ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.06.2017, 08:06 |
|
||
|
Некорректная работа OEM Database Control из-за listener
|
|||
|---|---|---|---|
|
#18+
Vadim LejninIlnov, Код: plsql 1. 2. ОС то какая? ОС: Linux 2.6.32-504.23.4.el6.x86_64 [oracle@bigoak ~]$ ps -ef | grep tns root 85 2 0 Jun08 ? 00:00:00 [netns] oracle 9367 8727 0 08:06 pts/0 00:00:00 grep tns oracle 32461 1 0 Jun14 ? 00:00:09 /opt/oracle/product/11.2.0/db//bin/tnslsnr LISTENER -inherit [oracle@bigoak ~]$ ps -ef | grep ora_pmon oracle 4444 1 0 Jun08 ? 00:01:42 ora_pmon_EDW oracle 9483 8727 0 08:07 pts/0 00:00:00 grep ora_pmon ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.06.2017, 08:13 |
|
||
|
Некорректная работа OEM Database Control из-за listener
|
|||
|---|---|---|---|
|
#18+
Найди разницу вопль обиженного сервера Код: plsql 1. 2. 3. 4. Останови текущий lsnrctl stop Установи GRID oracle home И запусти его ( если у Вас RAC то используя crsctl start listener) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.06.2017, 10:24 |
|
||
|
Некорректная работа OEM Database Control из-за listener
|
|||
|---|---|---|---|
|
#18+
Vadim LejninНайди разницу вопль обиженного сервера Код: plsql 1. 2. 3. 4. Останови текущий lsnrctl stop Установи GRID oracle home И запусти его ( если у Вас RAC то используя crsctl start listener) ORACLE_HOME=/opt/oracle/product/11.2.0/db/ это корректный путь к файлам оракл рабочей бд /opt/oracle/product/11.2.0/grid/ это экземпляр ASM, именно на него смотрит listener. До последней перезагрузки всё работало корректно. Не думаю, что будет хорошей идеей переводить ORACLE_HOME на вспомогательную БД ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.06.2017, 11:53 |
|
||
|
Некорректная работа OEM Database Control из-за listener
|
|||
|---|---|---|---|
|
#18+
Ilnov... До последней перезагрузки всё работало корректно. Не думаю, что будет хорошей идеей переводить ORACLE_HOME на вспомогательную БД Это не вспомогательная БД Это инфраструктура, которая пользуется база Database Installation Guide Oracle Grid Infrastructure for a Standalone Server Note: If a new database is installed after a grid infrastructure installation, then the listener runs from the Oracle Grid Infrastructure home. Because Oracle ASM is installed as part of Oracle Grid Infrastructure, the default listener is created and runs from the Oracle Grid Infrastructure home. If you perform a database installation, then the database must use the same listener created during the Oracle Grid Infrastructure installation. If you are using Oracle Restart, then the default listener and any additional listeners must run from the Oracle Grid Infrastructure home. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.06.2017, 12:18 |
|
||
|
Некорректная работа OEM Database Control из-за listener
|
|||
|---|---|---|---|
|
#18+
" If you perform a database installation, then the database must use the same listener created during the Oracle Grid Infrastructure installation" По другому, кроме как сменить переменную среду ORACLE_HOME никак нельзя указать "боевой" БД использовать lisnter из директории grid? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.06.2017, 14:29 |
|
||
|
Некорректная работа OEM Database Control из-за listener
|
|||
|---|---|---|---|
|
#18+
Ilnov" If you perform a database installation, then the database must use the same listener created during the Oracle Grid Infrastructure installation" По другому, кроме как сменить переменную среду ORACLE_HOME никак нельзя указать "боевой" БД использовать lisnter из директории grid? В чем Ваш вопрос? У Вас не проходят соединения через grid listener в боевую базу? Вы запускаете listener в окружении grid "Боевая база" при старте или по команде alter system register регистрирует свои службы в listener используя параметр local_listener (если он не установлен, используется по умолчанию tcp:hostname:1521) Кроме этого, Вы может настроить grid чтобы он сам настраивал службы вашей базы в зависимости от некоторых условий, например при смене роли в DATAGuard Далее уже listener разбирается какое окружение и под каким пользователем установить для user процессов Для статической регистрации, еще проще - это все прописано в listener.ora ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.06.2017, 15:56 |
|
||
|
Некорректная работа OEM Database Control из-за listener
|
|||
|---|---|---|---|
|
#18+
Изменил ORACLE_HOME на «/opt/oracle/product/11.2.0/grid/». Ошибка осталась. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 19.06.2017, 16:12 |
|
||
|
Некорректная работа OEM Database Control из-за listener
|
|||
|---|---|---|---|
|
#18+
IlnovИзменил ORACLE_HOME на «/opt/oracle/product/11.2.0/grid/». Ошибка осталась. Listener и OEM после изменения перезагружались. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 19.06.2017, 16:13 |
|
||
|
Некорректная работа OEM Database Control из-за listener
|
|||
|---|---|---|---|
|
#18+
IlnovIlnovИзменил ORACLE_HOME на «/opt/oracle/product/11.2.0/grid/». Ошибка осталась. Listener и OEM после изменения перезагружались. не верю... по ссылке 2623836 Сам listener работает? К базе соединения идут? Показать не словами а выводом команд Код: plsql 1. 2. 3. 4. Что за OEM вы используете? dbconsole или grid control? Вывод команд ( в зависимости от типа) Код: plsql 1. 2. 3. grid infrastructure установлена под отдельной учетной записью? что за ОС? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 19.06.2017, 16:38 |
|
||
|
Некорректная работа OEM Database Control из-за listener
|
|||
|---|---|---|---|
|
#18+
Vadim LejninIlnovпропущено... Listener и OEM после изменения перезагружались. не верю... по ссылке 2623836 Сам listener работает? К базе соединения идут? Показать не словами а выводом команд Код: plsql 1. 2. 3. 4. Что за OEM вы используете? dbconsole или grid control? Вывод команд ( в зависимости от типа) Код: plsql 1. 2. 3. grid infrastructure установлена под отдельной учетной записью? что за ОС? ОС: Linux 2.6.32-504.23.4.el6.x86_64 Ситуация следующая: БД и OEM устанавливалась под oracle в своей оболочке системы, grid infrastructure устанавливался под oracle в своей оболочке Выполнение команд в оболочке grid infrastructure lsnrctl status LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 20-JUN-2017 09:11:36 Copyright (c) 1991, 2013, Oracle. All rights reserved. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521))) STATUS of the LISTENER ------------------------ Alias listener Version TNSLSNR for Linux: Version 11.2.0.4.0 - Production Start Date 19-JUN-2017 15:51:40 Uptime 0 days 17 hr. 19 min. 55 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /opt/oracle/product/11.2.0/grid/network/admin/listener.ora Listener Log File /opt/oracle/product/11.2.0/grid/network/log/listener.log Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=bigoak)(PORT=1521))) Services Summary... Service "+ASM" has 1 instance(s). Instance "+ASM", status READY, has 1 handler(s) for this service... Service "EDW" has 1 instance(s). Instance "EDW", status READY, has 1 handler(s) for this service... Service "EDWXDB" has 1 instance(s). Instance "EDW", status READY, has 1 handler(s) for this service... Service "bigoak" has 1 instance(s). Instance "EDW", status UNKNOWN, has 1 handler(s) for this service... The command completed successfully ps -ef | grep tns root 85 2 0 Jun08 ? 00:00:00 [netns] oracle 6760 1 0 Jun19 ? 00:00:03 /opt/oracle/product/11.2.0/grid//bin/tnslsnr listener -inherit oracle 26390 14178 0 09:16 pts/1 00:00:00 grep tns tnsping TNS Ping Utility for Linux: Version 11.2.0.4.0 - Production on 20-JUN-2017 09:16:44 Copyright (c) 1997, 2013, Oracle. All rights reserved. Used parameter files: /opt/oracle/product/11.2.0/grid/network/admin/sqlnet.ora Used TNSNAMES adapter to resolve the alias Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = bigoak)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = edw))) OK (10 msec) sqlplus Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production With the Partitioning, Automatic Storage Management, OLAP, Data Mining and Real Application Testing options emctl status dbconsole Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name. emctl status oms Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name. emctl status agent -detail Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name. Выполнение команд в оболочке БД lsnrctl statusLSNRCTL for Linux: Version 11.2.0.4.0 - Production on 20-JUN-2017 09:22:03 Copyright (c) 1991, 2013, Oracle. All rights reserved. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521))) STATUS of the LISTENER ------------------------ Alias listener Version TNSLSNR for Linux: Version 11.2.0.4.0 - Production Start Date 19-JUN-2017 15:51:40 Uptime 0 days 17 hr. 30 min. 22 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /opt/oracle/product/11.2.0/grid/network/admin/listener.ora Listener Log File /opt/oracle/product/11.2.0/grid/network/log/listener.log Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=bigoak)(PORT=1521))) Services Summary... Service "+ASM" has 1 instance(s). Instance "+ASM", status READY, has 1 handler(s) for this service... Service "EDW" has 1 instance(s). Instance "EDW", status READY, has 1 handler(s) for this service... Service "EDWXDB" has 1 instance(s). Instance "EDW", status READY, has 1 handler(s) for this service... Service "bigoak" has 1 instance(s). Instance "EDW", status UNKNOWN, has 1 handler(s) for this service... The command completed successfully ps -ef | grep tnsroot 85 2 0 Jun08 ? 00:00:00 [netns] oracle 6760 1 0 Jun19 ? 00:00:03 /opt/oracle/product/11.2.0/grid//bin/tnslsnr listener -inherit oracle 28379 14178 0 09:22 pts/1 00:00:00 grep tns tnspingTNS Ping Utility for Linux: Version 11.2.0.4.0 - Production on 20-JUN-2017 09:23:03 Copyright (c) 1997, 2013, Oracle. All rights reserved. Used parameter files: /opt/oracle/product/11.2.0/grid/network/admin/sqlnet.ora Used TNSNAMES adapter to resolve the alias Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = bigoak)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = edw))) OK (0 msec) sqlplusConnected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production With the Partitioning, Automatic Storage Management, OLAP, Data Mining and Real Application Testing options emctl status dbconsoleOracle Enterprise Manager 11g Database Control Release 11.2.0.4.0 Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved. https://bigoak:1158/em/console/aboutApplication Oracle Enterprise Manager 11g is running. ------------------------------------------------------------------ Logs are generated in directory /opt/oracle/product/11.2.0/db/bigoak_EDW/sysman/log emctl status omsOracle Enterprise Manager 11g Database Control Release 11.2.0.4.0 Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved. Oracle Enterprise Manager 10g Database Control commands: emctl start | stop dbconsole emctl status | secure | setpasswd dbconsole emctl config dbconsole -heap_size <size_value> -max_perm_size <size_value> emctl status agent emctl status agent -secure [-omsurl < http://<oms-hostname>:<oms-unsecure-port>/em/*>%5D]http://<oms-hostname>:<oms-unsecure-port>/em/*>] emctl getversion emctl reload | upload | clearstate | getversion agent emctl reload agent dynamicproperties [<Target_name>:<Target_Type>].... emctl config agent <options> emctl config agent updateTZ emctl config agent getTZ emctl resetTZ agent emctl config agent credentials [<Target_name>[:<Target_Type>]] emctl gensudoprops emctl clearsudoprops Blackout Usage : emctl start blackout <Blackoutname> [-nodeLevel] [<Target_name>[:<Target_Type>]].... [-d <Duration>] emctl stop blackout <Blackoutname> emctl status blackout [<Target_name>[:<Target_Type>]].... The following are valid options for blackouts <Target_name:Target_type> defaults to local node target if not specified. If -nodeLevel is specified after <Blackoutname>,the blackout will be applied to all targets and any target list that follows will be ignored. Duration is specified in [days] hh:mm emctl getemhome emctl ilint Em Key Commands Usage : emctl config emkey -emkeyfile <emkey.ora path> [-force] [-sysman_pwd <sysman password>] emctl config emkey -emkey [-emkeyfile <emkey.ora path>] [-force] [-sysman_pwd <sysman password>] emctl config emkey -repos [-emkeyfile <emkey.ora path>] [-force] [-sysman_pwd <sysman password>] emctl config emkey -remove_from_repos [-sysman_pwd <sysman password>] emctl config emkey -copy_to_repos [-sysman_pwd <sysman password>] emctl status emkey [-sysman_pwd <sysman password>] Secure DBConsole Usage : emctl secure dbconsole -sysman_pwd <sysman password> [-passwd_file <abs file loc>] [-host <slb hostname>] [-sid <service name>] [-reset] [-secure_port <secure_port>] [-cipher_suites <comma_separated_list_of_suites>] [-sign_alg <md5|sha1|sha256|sha384|sha512>] [-root_dc <root_dc>] [-root_country <root_country>] [-root_state <root_state>] [-root_loc <root_loc>] [-root_org <root_org>] [-root_unit <root_unit>] [-root_email <root_email>] [-wallet <wallet loc>] [-wallet_pwd <wallet pwd>] [-trust_certs_loc <certs loc>] emctl secure status dbconsole Register Targettype Usage : emctl register oms targettype [-o <Output filename>] <XML filename> <rep user> <rep passwd> <rep host> <rep port> <rep sid> OR emctl register oms targettype [-o <Output filename>] <XML filename> <rep user> <rep passwd> <rep connect descriptor> emctl status agent -detailOracle Enterprise Manager 11g Database Control Release 11.2.0.4.0 Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved. --------------------------------------------------------------- Agent Version : 10.2.0.4.5 OMS Version : 10.2.0.4.5 Protocol Version : 10.2.0.4.5 Agent Home : /opt/oracle/product/11.2.0/db/bigoak_EDW Agent binaries : /opt/oracle/product/11.2.0/db Agent Process ID : 7930 Parent Process ID : 7881 Agent URL : https://bigoak:3938/emd/main Repository URL : https://bigoak:1158/em/upload/ Started at : 2017-06-19 15:53:50 Started by user : oracle Last Reload : 2017-06-19 15:59:53 Last successful upload : 2017-06-20 09:24:23 Total Megabytes of XML files uploaded so far : 17.45 Number of XML files pending upload : 0 Size of XML files pending upload(MB) : 0.00 Available disk space on upload filesystem : 84.32% Data channel upload directory : /opt/oracle/product/11.2.0/db/bigoak_EDW/sysman/recv Last successful heartbeat to OMS : 2017-06-20 09:24:57 --------------------------------------------------------------- Agent is Running and Ready ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 20.06.2017, 09:26 |
|
||
|
Некорректная работа OEM Database Control из-за listener
|
|||
|---|---|---|---|
|
#18+
Проблема так и не решилась. В интернете ничего не могу найти стоящего. Есть у кого интересные мысли и советы? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.06.2017, 13:47 |
|
||
|
Некорректная работа OEM Database Control из-за listener
|
|||
|---|---|---|---|
|
#18+
IlnovПроблема так и не решилась. В интернете ничего не могу найти стоящего. Есть у кого интересные мысли и советы? Вопрос решился очень просто Учётная запись DBSNMP была заблокирована Всем спасибо. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.06.2017, 14:12 |
|
||
|
|

start [/forum/topic.php?fid=52&fpage=157&tid=1885706]: |
0ms |
get settings: |
10ms |
get forum list: |
21ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
91ms |
get topic data: |
12ms |
get forum data: |
4ms |
get page messages: |
54ms |
get tp. blocked users: |
2ms |
| others: | 242ms |
| total: | 444ms |

| 0 / 0 |
