|
|
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Вот [oracle@test-server ~]$ cat $ORACLE_HOME/network/admin/samples/listener.ora # copyright (c) 1997 by the Oracle Corporation # # NAME # listener.ora # FUNCTION # Network Listener startup parameter file example # NOTES # This file contains all the parameters for listener.ora, # and could be used to configure the listener by uncommenting # and changing values. Multiple listeners can be configured # in one listener.ora, so listener.ora parameters take the form # of SID_LIST_<lsnr>, where <lsnr> is the name of the listener # this parameter refers to. All parameters and values are # case-insensitive. # <lsnr> # This parameter specifies both the name of the listener, and # it listening address(es). Other parameters for this listener # us this name in place of <lsnr>. When not specified, # the name for <lsnr> defaults to "LISTENER", with the default # address value as shown below. # # LISTENER = # (ADDRESS_LIST= # (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)) # (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY))) # SID_LIST_<lsnr> # List of services the listener knows about and can connect # clients to. There is no default. See the Net8 Administrator's # Guide for more information. # # SID_LIST_LISTENER= # (SID_LIST= # (SID_DESC= # #BEQUEATH CONFIG # (GLOBAL_DBNAME=salesdb.mycompany) # (SID_NAME=sid1) # (ORACLE_HOME=/private/app/oracle/product/8.0.3) # #PRESPAWN CONFIG # (PRESPAWN_MAX=20) # (PRESPAWN_LIST= # (PRESPAWN_DESC=(PROTOCOL=tcp)(POOL_SIZE=2)(TIMEOUT=1)) # ) # ) # ) # PASSWORDS_<lsnr> # Specifies a password to authenticate stopping the listener. # Both encrypted and plain-text values can be set. Encrypted passwords # can be set and stored using lsnrctl. # LSNRCTL> change_password # Will prompt for old and new passwords, and use encryption both # to match the old password and to set the new one. # LSNRCTL> set password # Will prompt for the new password, for authentication with # the listener. The password must be set before running the next # command. # LSNRCTL> save_config # Will save the changed password to listener.ora. These last two # steps are not necessary if SAVE_CONFIG_ON_STOP_<lsnr> is ON. # See below. # # Default: NONE # # PASSWORDS_LISTENER = 20A22647832FB454 # "foobar" # SAVE_CONFIG_ON_STOP_<lsnr> # Tells the listener to save configuration changes to listener.ora when # it shuts down. Changed parameter values will be written to the file, # while preserving formatting and comments. # Default: OFF # Values: ON/OFF # # SAVE_CONFIG_ON_STOP_LISTENER = ON # USE_PLUG_AND_PLAY_<lsnr> # Tells the listener to contact an Onames server and register itself # and its services with Onames. # Values: ON/OFF # Default: OFF # # USE_PLUG_AND_PLAY_LISTENER = ON # LOG_FILE_<lsnr> # Sets the name of the listener's log file. The .log extension # is added automatically. # Default=<lsnr> # # LOG_FILE_LISTENER = lsnr # LOG_DIRECTORY_<lsnr> # Sets the directory for the listener's log file. # Default: <oracle_home>/network/log # # LOG_DIRECTORY_LISTENER = /private/app/oracle/product/8.0.3/network/log # TRACE_LEVEL_<lsnr> # Specifies desired tracing level. # Default: OFF # Values: OFF/USER/ADMIN/SUPPORT/0-16 # # TRACE_LEVEL_LISTENER = SUPPORT # TRACE_FILE_<lsnr> # Sets the name of the listener's trace file. The .trc extension # is added automatically. # Default: <lsnr> # # TRACE_FILE_LISTENER = lsnr # TRACE_DIRECTORY_<lsnr> # Sets the directory for the listener's trace file. # Default: <oracle_home>/network/trace # # TRACE_DIRECTORY_LISTENER=/private/app/oracle/product/8.0.3/network/trace # CONNECT_TIMEOUT_<lsnr> # Sets the number of seconds that the listener waits to get a # valid database query after it has been started. # Default: 10 # # CONNECT_TIMEOUT_LISTENER=10 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 17:56 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Не, ты не понял. Сэмпловый listener.ora я и сам посмотреть могу. Ты именно $ORACLE_HOME/network/admin/listener.ora покажи. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 17:59 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Короче СТОП..................листенера на месте нет!!!!!!, но он был полчаса назад. И теперь не удается подрубится к серваку. Ни хрена се!!!! Куда он пропал???? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 18:07 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Ну тогда хоть lsnrctl status дай посмотреть. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 18:10 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
lsnrctl status LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 24-DEC-2009 20:10:37 Copyright (c) 1991, 2007, Oracle. All rights reserved. Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521)) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 10.2.0.4.0 - Production Start Date 24-DEC-2009 20:09:12 Uptime 0 days 0 hr. 1 min. 25 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Log File /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=test-server)(PORT=1521))) The listener supports no services The command completed successfully Лог файл большого размера ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 18:15 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Erlan_dba, лог и не нужен. У тебя листенер запустился без listener.ora вообще. Сделай какой-то такой listener.ora, ну и перезапусти беднягу: Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 18:43 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Подумалось... скажи плиз как его перезапустить???. У его создал по твоей рекомендаций ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 18:57 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
lsrnctl stop lsnrctl start Ну и потом lsnrctl status опять покажи. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 19:12 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Вот lsnrctl status: LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 24-DEC-2009 21:11:58 Copyright (c) 1991, 2007, Oracle. All rights reserved. Connecting to (ADDRESS=(PROTOCOL=TCP)(HOST=10.210.7.10)(PORT=1521)) TNS-12541: TNS:no listener TNS-12560: TNS:protocol adapter error TNS-00511: No listener Linux Error: 111: Connection refused [oracle@test-server ~]$ lsnrctl start LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 24-DEC-2009 21:12:06 Copyright (c) 1991, 2007, Oracle. All rights reserved. Starting /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait... TNSLSNR for Linux: Version 10.2.0.4.0 - Production System parameter file is /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora Log messages written to /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.210.7.10)(PORT=1521))) Connecting to (ADDRESS=(PROTOCOL=TCP)(HOST=10.210.7.10)(PORT=1521)) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 10.2.0.4.0 - Production Start Date 24-DEC-2009 21:12:06 Uptime 0 days 0 hr. 0 min. 0 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora Listener Log File /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.210.7.10)(PORT=1521))) Services Summary... Service "archs" has 1 instance(s). Instance "archs", status UNKNOWN, has 1 handler(s) for this service... The command completed successfully [oracle@test-server ~]$ lsnrctl service LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 24-DEC-2009 21:14:10 Copyright (c) 1991, 2007, Oracle. All rights reserved. Connecting to (ADDRESS=(PROTOCOL=TCP)(HOST=10.210.7.10)(PORT=1521)) Services Summary... Service "archs" has 1 instance(s). Instance "archs", status UNKNOWN, has 1 handler(s) for this service... Handler(s): "DEDICATED" established:2 refused:0 LOCAL SERVER The command completed successfully ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 19:17 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Точнее вот [oracle@test-server ~]$ lsnrctl status LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 24-DEC-2009 21:15:45 Copyright (c) 1991, 2007, Oracle. All rights reserved. Connecting to (ADDRESS=(PROTOCOL=TCP)(HOST=10.210.7.10)(PORT=1521)) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 10.2.0.4.0 - Production Start Date 24-DEC-2009 21:12:06 Uptime 0 days 0 hr. 3 min. 38 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora Listener Log File /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.210.7.10)(PORT=1521))) Services Summary... Service "archs" has 1 instance(s). Instance "archs", status UNKNOWN, has 1 handler(s) for this service... The command completed successfully ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 19:18 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Отличненько. Осталась сущая ерунда. 1) Подымаешь БД, если она не поднята. 2) emctl stop dbconsole 3) emctl start dbconsole Ну и проверяешь. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 19:26 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Да, кстати. Когда я писал (HOST=0.0.0.0) - я имел в виду, что надо указывать именно 0.0.0.0. Не имя хоста, не содержимое /sbin/ifconfig. А то сейчас оно у тебя явно залипло на одном из я не знаю скольки сетевых интерфейсов. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 19:29 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Ура!!! Все ОК. Веб открылся. Но Вот он мне пишет на странице типа листенер не запустился: Status Failed Details ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach Подумалось... Что посоветуешь? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 19:38 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
https://10.210.7.10:1158/em вот так открылся, а не через https://test-server:1158/em ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 19:41 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Ну, то, что оно пишет TNS:No Listener это само по себе ничего не значит. Подожди минут 5, если само не поймет, что есть у тебя листенер - смотри опять в emagent.trc, чего ему не нравится. Смеха ради выполни еще emctl upload agent, бывает что помогает. То, что ты по IP зашел, а по имени нет - другое. Чини DNS (либо проси чинить), возись с hosts-файлом на клиентах. Это ты серверными настройками никак не починишь. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 19:49 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Erlan_dbahttps://10.210.7.10:1158/em вот так открылся, а не через https://test-server:1158/em безумное предположение о настройках прокси в браузере ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 23:58 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Все нормально. В файле hosts добавил: 10.210.7.10 test-server и пришло счастье небольшое В Веб интерфейсе ссылка "Monitor in Memory Access Mode" открывается, далее регистрация проходит успешно, далее в какую ссылку не щелни он выкидывает на главную страницу, а там он говорит Listener Status Down Host test-server Port 1521 Name LISTENER Oracle Home /u01/app/oracle/product/10.2.0/db_1 Location /u01/app/oracle/product/10.2.0/db_1/network/admin Details TNS-12541: TNS:no listener --------------------------------------------------------------- Результат lsnrctl status lsnrctl status LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 25-DEC-2009 09:38:10 Copyright (c) 1991, 2007, Oracle. All rights reserved. Connecting to (ADDRESS=(PROTOCOL=TCP)(HOST=10.210.7.10)(PORT=1521)) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 10.2.0.4.0 - Production Start Date 24-DEC-2009 21:45:17 Uptime 0 days 11 hr. 52 min. 52 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora Listener Log File /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.210.7.10)(PORT=1521))) Services Summary... Service "archs" has 1 instance(s). Instance "archs", status UNKNOWN, has 1 handler(s) for this service... The command completed successfully ------------------------------------------------------------ Файл listener.ora # listener.ora Network Configuration File: /u01/app/oracle/product/10.2.0/db_1/network/admin/ # listener.ora # Generated by Oracle configuration tools. LISTENER = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.210.7.10)(PORT = 1521)) ) SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = archs) (ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1) ) ) --------------------------------------------- Ну что друзья где в этой каше я дурак? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.12.2009, 07:47 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Скрин ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.12.2009, 08:32 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Человечьим языком молвлю тебе: Код: plaintext 1. 2. 3. Ну и emagent.trc строк 300 покажи еще. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.12.2009, 10:18 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
В общем Подумалось..........извини конечно, но..........ты просто КРАСАВА!!!!!! Изменил листенер и все пошло!!!!!!! блин как бы была жизнь начинающих, без професионалов!!!!!! Спасибо за советы!!!! ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.12.2009, 12:34 |
|
||
|
|

start [/forum/topic.php?fid=52&msg=36385405&tid=1883530]: |
0ms |
get settings: |
7ms |
get forum list: |
13ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
54ms |
get topic data: |
7ms |
get forum data: |
2ms |
get page messages: |
49ms |
get tp. blocked users: |
1ms |
| others: | 223ms |
| total: | 360ms |

| 0 / 0 |
