|
|
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
День добрый друзья!!! В общем проблема такая: Начальство хочет Web-интерфейс. Полистал документацию (все на английском, попа полная). Запускаю emca -repos create, и он мне гад говорит: emca -repos create STARTED EMCA at Dec 24, 2009 11:01:39 AM EM Configuration Assistant, Version 10.2.0.1.0 Production Copyright (c) 2003, 2005, Oracle. All rights reserved. Enter the following information: Database SID: archs Listener port number: 1158 Password for SYS user: Password for SYSMAN user: Do you wish to continue? [yes(Y)/no(N)]: y Dec 24, 2009 11:02:14 AM oracle.sysman.emcp.EMConfig perform INFO: This operation is being logged at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/archs/emca_2009-12-24_11-01-39-A M.log. Dec 24, 2009 11:02:15 AM oracle.sysman.emcp.EMReposConfig createRepository INFO: Creating the EM repository (this may take a while) ... Dec 24, 2009 11:02:15 AM oracle.sysman.emcp.EMReposConfig invoke SEVERE: Error creating the repository Dec 24, 2009 11:02:15 AM oracle.sysman.emcp.EMReposConfig invoke INFO: Refer to the log file at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/archs/emca_repos_create_<date>.log for mo re details. Dec 24, 2009 11:02:15 AM oracle.sysman.emcp.EMConfig perform SEVERE: Error creating the repository Refer to the log file at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/archs/emca_2009-12-24_11-01-39-AM.log for more details. Could not complete the configuration. Refer to the log file at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/archs/emc a_2009-12-24_11-01-39-AM.log for more details. --------------------------------------------------------------------------------------------- Захожу туда где куда он записал лог, там: Dec 24, 2009 11:02:52 AM oracle.sysman.emcp.ParamsManager setFlag CONFIG: Flag '-repos' set to true Dec 24, 2009 11:02:52 AM oracle.sysman.emcp.ParamsManager setFlag CONFIG: Flag 'db' set to true Dec 24, 2009 11:02:52 AM oracle.sysman.emcp.ParamsManager setFlag CONFIG: Flag 'create' set to true Dec 24, 2009 11:02:52 AM oracle.sysman.emcp.ParamsManager setParam CONFIG: Setting param: ORACLE_HOME value: /u01/app/oracle/product/10.2.0/db_1 Dec 24, 2009 11:02:56 AM oracle.sysman.emcp.ParamsManager setParam CONFIG: Setting param: SID value: archs Dec 24, 2009 11:04:06 AM oracle.sysman.emcp.ParamsManager setParam CONFIG: Setting param: PORT value: 1521 Dec 24, 2009 11:04:10 AM oracle.sysman.emcp.ParamsManager getParam CONFIG: No value was set for the parameter SYS_PWD. Dec 24, 2009 11:04:10 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine CONFIG: SQLEngine connecting with SID: archs, oracleHome: /u01/app/oracle/product/10.2.0/db_1, and user: SYS Dec 24, 2009 11:04:10 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine CONFIG: SQLEngine created successfully and connected Dec 24, 2009 11:04:13 AM oracle.sysman.emcp.ParamsManager setParam CONFIG: Setting param: CONFIRMATION ANSWER value: Dec 24, 2009 11:04:16 AM oracle.sysman.emcp.ParamsManager setParam CONFIG: Setting param: CONFIRMATION ANSWER value: yes Dec 24, 2009 11:04:16 AM oracle.sysman.emcp.ParamsManager getParam CONFIG: No value was set for the parameter LOG_FILE. Dec 24, 2009 11:04:16 AM oracle.sysman.emcp.ParamsManager setFlag CONFIG: Flag 'db' set to true Dec 24, 2009 11:04:16 AM oracle.sysman.emcp.ParamsManager getParam CONFIG: No value was set for the parameter DB_UNIQUE_NAME. Dec 24, 2009 11:04:16 AM oracle.sysman.emcp.ParamsManager getParam CONFIG: No value was set for the parameter DB_UNIQUE_NAME. Dec 24, 2009 11:04:16 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine CONFIG: SQLEngine connecting with SID: archs, oracleHome: /u01/app/oracle/product/10.2.0/db_1, and user: SYS Dec 24, 2009 11:04:16 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine CONFIG: SQLEngine created successfully and connected Dec 24, 2009 11:04:16 AM oracle.sysman.emcp.DatabaseChecks getDbUniqueName CONFIG: No Database unique name available. Will try to retrieve it from DB itself Dec 24, 2009 11:04:16 AM oracle.sysman.emcp.ParamsManager setParam CONFIG: Setting param: DB_UNIQUE_NAME value: archs Dec 24, 2009 11:04:16 AM oracle.sysman.emcp.EMConfig perform INFO: This operation is being logged at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/archs/emca_2009-12-24_11-02-52-AM.log. Dec 24, 2009 11:04:16 AM oracle.sysman.emcp.ParamsManager setParam CONFIG: Setting param: EM_HOME value: /u01/app/oracle/product/10.2.0/db_1 Dec 24, 2009 11:04:16 AM oracle.sysman.emcp.ParamsManager setFlag CONFIG: Flag 'db' set to true Dec 24, 2009 11:04:16 AM oracle.sysman.emcp.ParamsManager getParam CONFIG: No value was set for the parameter MODIFY_SID. Dec 24, 2009 11:04:16 AM oracle.sysman.emcp.DatabaseChecks getDbServiceName CONFIG: No service name available. Will try to set db_unique_name.db_domain Dec 24, 2009 11:04:16 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine CONFIG: SQLEngine connecting with SID: archs, oracleHome: /u01/app/oracle/product/10.2.0/db_1, and user: SYS Dec 24, 2009 11:04:17 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine CONFIG: SQLEngine created successfully and connected Dec 24, 2009 11:04:17 AM oracle.sysman.emcp.ParamsManager setParam CONFIG: Setting param: DB_UNIQUE_NAME value: Dec 24, 2009 11:04:17 AM oracle.sysman.emcp.ParamsManager getParam CONFIG: No value was set for the parameter DB_UNIQUE_NAME. Dec 24, 2009 11:04:17 AM oracle.sysman.emcp.DatabaseChecks getDbUniqueName CONFIG: No Database unique name available. Will try to retrieve it from DB itself Dec 24, 2009 11:04:17 AM oracle.sysman.emcp.ParamsManager setParam CONFIG: Setting param: DB_UNIQUE_NAME value: archs Dec 24, 2009 11:04:17 AM oracle.sysman.emcp.ParamsManager getParam CONFIG: No value was set for the parameter DB_DOMAIN. Dec 24, 2009 11:04:17 AM oracle.sysman.emcp.DatabaseChecks getDbDomain CONFIG: No db domain available. Will query db for db_domain parameter Dec 24, 2009 11:04:17 AM oracle.sysman.emcp.ParamsManager setParam CONFIG: Setting param: DB_UNIQUE_NAME value: archs Dec 24, 2009 11:04:17 AM oracle.sysman.emcp.ParamsManager setParam CONFIG: Setting param: SERVICE_NAME value: archs Dec 24, 2009 11:04:17 AM oracle.sysman.emcp.ParamsManager getParam CONFIG: No value was set for the parameter MODIFY_SID. Dec 24, 2009 11:04:17 AM oracle.sysman.emcp.ParamsManager getParam CONFIG: No value was set for the parameter MODIFY_SID. Dec 24, 2009 11:04:17 AM oracle.sysman.emcp.ParamsManager getParam CONFIG: No value was set for the parameter GLOBAL_DB_UNIQUE_NAME. Dec 24, 2009 11:04:17 AM oracle.sysman.emcp.DatabaseChecks getGlobalDbUniqueName CONFIG: No Global database unique name available. Will try to retrieve it from DB itself Dec 24, 2009 11:04:17 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine CONFIG: SQLEngine connecting with SID: archs, oracleHome: /u01/app/oracle/product/10.2.0/db_1, and user: SYS Dec 24, 2009 11:04:17 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine CONFIG: SQLEngine created successfully and connected Dec 24, 2009 11:04:17 AM oracle.sysman.emcp.ParamsManager getParam CONFIG: No value was set for the parameter DB_DOMAIN. Dec 24, 2009 11:04:17 AM oracle.sysman.emcp.DatabaseChecks getDbDomain CONFIG: No db domain available. Will query db for db_domain parameter Dec 24, 2009 11:04:17 AM oracle.sysman.emcp.ParamsManager setParam CONFIG: Setting param: GLOBAL_DB_UNIQUE_NAME value: archs Dec 24, 2009 11:04:17 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine CONFIG: SQLEngine connecting with SID: archs, oracleHome: /u01/app/oracle/product/10.2.0/db_1, and user: SYS Dec 24, 2009 11:04:17 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine CONFIG: SQLEngine created successfully and connected Dec 24, 2009 11:04:17 AM oracle.sysman.emcp.EMReposConfig createRepository CONFIG: Spooling to /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/archs/emca_repos_create_2009-12-24_11-04-17-AM.log Dec 24, 2009 11:04:17 AM oracle.sysman.emcp.EMReposConfig createRepository INFO: Creating the EM repository (this may take a while) ... Dec 24, 2009 11:04:17 AM oracle.sysman.emcp.EMReposConfig createRepository CONFIG: ORA-20001: SYSMAN already exists.. ORA-06512: at line 17 oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-20001: SYSMAN already exists.. ORA-06512: at line 17 at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1474) at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeScript(SQLEngine.java:848) at oracle.sysman.assistants.util.sqlEngine.SQLPlusEngine.executeScript(SQLPlusEngine.java:267) at oracle.sysman.assistants.util.sqlEngine.SQLPlusEngine.executeScript(SQLPlusEngine.java:308) at oracle.sysman.emcp.EMReposConfig.createRepository(EMReposConfig.java:422) at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:192) at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:134) at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:171) at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:486) at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1142) at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:470) at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:419) Dec 24, 2009 11:04:17 AM oracle.sysman.emcp.EMReposConfig invoke SEVERE: Error creating the repository Dec 24, 2009 11:04:17 AM oracle.sysman.emcp.EMReposConfig invoke INFO: Refer to the log file at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/archs/emca_repos_create_<date>.log for more details. Dec 24, 2009 11:04:17 AM oracle.sysman.emcp.EMConfig perform SEVERE: Error creating the repository Refer to the log file at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/archs/emca_2009-12-24_11-02-52-AM.log for more details. Dec 24, 2009 11:04:17 AM oracle.sysman.emcp.EMConfig perform CONFIG: Stack Trace: oracle.sysman.emcp.exception.EMConfigException: Error creating the repository at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:204) at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:134) at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:171) at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:486) at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1142) at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:470) at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:419) ---------------------------------------------------------------------------------------- Че за фигня? Такое чувство что ему че то не хватает? Подскажите? Кто нибудь поднимал web-интерфейс, поделитесь пожалуйста опытом, что? и как? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 09:44 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Erlan_dbaListener port number: 1158 Э-ээ ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 09:47 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Ставил и стандартную 1521, та же история. Там в переменных окружения и или еще где-нибудь ниче прописывать не надо? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 09:51 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Проделайте следующее: emca -deconfig dbcontrol db -repos drop Sincerely, PaulEr ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 09:52 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
ругань при создании sysman - может все-таки предварительно drop user sysman cascade? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 09:54 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Сорри, нажалось на отправку. Затем: Удаляем пользователя sysman Код: plaintext 1. 2. 3. 4. Создаем заново репозитарий: Код: plaintext Sincerely, PaulEr ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 09:56 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Дропанул Ваши рекомендаций, но только он мне выдал: SQL> drop user sysman cascade; drop user sysman cascade * ERROR at line 1: ORA-01918: user 'SYSMAN' does not exist SQL> drop public synonym setemviewusercontext; drop public synonym setemviewusercontext * ERROR at line 1: ORA-01432: public synonym to be dropped does not exist SQL> drop public synonym mgmt_target_blackouts; drop public synonym mgmt_target_blackouts * ERROR at line 1: ORA-01432: public synonym to be dropped does not exist ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 10:04 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Если он не нашел их, значит можно применять команду emca? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 10:05 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Erlan_dba, Странно, как-то вот это авторCONFIG: ORA-20001: SYSMAN already exists.. ORA-06512: at line 17 не согласуется с автор ERROR at line 1: ORA-01918: user 'SYSMAN' does not exist Вот это Вы делали? emca -deconfig dbcontrol db -repos drop ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 10:23 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Вот последовательность действий: emca -deconfig dbcontrol db -repos drop STARTED EMCA at Dec 24, 2009 12:24:32 PM EM Configuration Assistant, Version 10.2.0.1.0 Production Copyright (c) 2003, 2005, Oracle. All rights reserved. Enter the following information: Database SID: archs Listener port number: 1521 Password for SYS user: Password for SYSMAN user: Do you wish to continue? [yes(Y)/no(N)]: y Dec 24, 2009 12:24:46 PM oracle.sysman.emcp.EMConfig perform INFO: This operation is being logged at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/archs/emca_2009-12-24_12-24-32-PM.log. Dec 24, 2009 12:24:47 PM oracle.sysman.emcp.EMDBPreConfig performDeconfiguration WARNING: EM is not configured for this database. No EM-specific actions can be performed. Dec 24, 2009 12:24:47 PM oracle.sysman.emcp.EMReposConfig dropRepository INFO: Dropping the EM repository (this may take a while) ... Dec 24, 2009 12:24:50 PM oracle.sysman.emcp.EMReposConfig invoke INFO: Repository successfully dropped Enterprise Manager configuration completed successfully FINISHED EMCA at Dec 24, 2009 12:24:50 PM -------------------------------------------------------------- SQL> drop user sysman CASCADE; drop user sysman CASCADE * ERROR at line 1: ORA-01918: user 'SYSMAN' does not exist Не находит sysman ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 10:29 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Создавайте репозитарий: emca -config dbcontrol db -repos create Sincerely, PaulEr ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 10:38 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Вот последовательнось действий: emca -repos create STARTED EMCA at Dec 24, 2009 12:31:47 PM EM Configuration Assistant, Version 10.2.0.1.0 Production Copyright (c) 2003, 2005, Oracle. All rights reserved. Enter the following information: Database SID: archs Listener port number: 1521 Password for SYS user: Password for SYSMAN user: Do you wish to continue? [yes(Y)/no(N)]: y Dec 24, 2009 12:32:01 PM oracle.sysman.emcp.EMConfig perform INFO: This operation is being logged at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/archs/emca_2009-12-24_12-31-47-PM.log. Dec 24, 2009 12:32:01 PM oracle.sysman.emcp.EMReposConfig createRepository INFO: Creating the EM repository (this may take a while) ... Dec 24, 2009 12:34:23 PM oracle.sysman.emcp.EMReposConfig invoke INFO: Repository successfully created Enterprise Manager configuration completed successfully FINISHED EMCA at Dec 24, 2009 12:34:23 PM [oracle@test-server archs]$ emca -config dbcontrol db STARTED EMCA at Dec 24, 2009 12:36:53 PM EM Configuration Assistant, Version 10.2.0.1.0 Production Copyright (c) 2003, 2005, Oracle. All rights reserved. Enter the following information: Database SID: archs Listener port number: 1521 Password for SYS user: Password for DBSNMP user: Password for SYSMAN user: Password for SYSMAN user: Email address for notifications (optional): erlan_86_oral@mail.ru Outgoing Mail (SMTP) server for notifications (optional): gmail.com ----------------------------------------------------------------- You have specified the following settings Database ORACLE_HOME ................ /u01/app/oracle/product/10.2.0/db_1 Database hostname ................ test-server Listener port number ................ 1521 Database SID ................ archs Email address for notifications ............... erlan_86_oral@mail.ru Outgoing Mail (SMTP) server for notifications ............... gmail.com ----------------------------------------------------------------- Do you wish to continue? [yes(Y)/no(N)]: y Dec 24, 2009 12:38:38 PM oracle.sysman.emcp.EMConfig perform INFO: This operation is being logged at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/archs/emca_2009-12-24_12-36-53-PM.log. Dec 24, 2009 12:38:43 PM oracle.sysman.emcp.ParamsManager getLocalListener WARNING: Error retrieving listener for test-server Dec 24, 2009 12:38:46 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole INFO: Securing Database Control (this may take a while) ... Dec 24, 2009 12:39:56 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole INFO: Database Control secured successfully. Dec 24, 2009 12:39:56 PM oracle.sysman.emcp.util.DBControlUtil startOMS INFO: Starting Database Control (this may take a while) ... Dec 24, 2009 12:41:35 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration INFO: Database Control started successfully Dec 24, 2009 12:41:35 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration INFO: >>>>>>>>>>> The Database Control URL is https://test-server:1158/em <<<<<<<<<<< Enterprise Manager configuration completed successfully FINISHED EMCA at Dec 24, 2009 12:41:35 PM [oracle@test-server archs]$ emctl status dbconsole Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0 Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved. https://test-server:1158/em/console/aboutApplication Oracle Enterprise Manager 10g is running. ------------------------------------------------------------------ Logs are generated in directory /u01/app/oracle/product/10.2.0/db_1/test-server_archs/sysman/log Вроде все запустилось. Но в браузере при наборе https://test-server:1158/em/console/aboutApplication, ни хрена ниче не выходит. И Sysman везде есть. Че делаю не так? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 10:48 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Я точно не знаю, как влияет не написание -config dbcontrol db при создании репозитария, но я всегда их указывал, когда делал. И что у Вас не выходит? Может тогда документацию почитать по созданию репозитария? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 11:08 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
PaulEr сделал все заново, посмотрите что он выдал emca -config dbcontrol db -repos create STARTED EMCA at Dec 24, 2009 1:57:50 PM EM Configuration Assistant, Version 10.2.0.1.0 Production Copyright (c) 2003, 2005, Oracle. All rights reserved. Enter the following information: Database SID: archs Listener port number: 1158 Password for SYS user: Password for DBSNMP user: Password for SYSMAN user: Email address for notifications (optional): agzhigitov.erlan@gmail.com Outgoing Mail (SMTP) server for notifications (optional): gmail.com ----------------------------------------------------------------- You have specified the following settings Database ORACLE_HOME ................ /u01/app/oracle/product/10.2.0/db_1 Database hostname ................ test-server Listener port number ................ 1158 Database SID ................ archs Email address for notifications ............... agzhigitov.erlan@gmail.com Outgoing Mail (SMTP) server for notifications ............... gmail.com ----------------------------------------------------------------- Do you wish to continue? [yes(Y)/no(N)]: y Dec 24, 2009 1:59:38 PM oracle.sysman.emcp.EMConfig perform INFO: This operation is being logged at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/archs/emca_2009-12-24_01-57-50-PM.log. Dec 24, 2009 1:59:39 PM oracle.sysman.emcp.EMReposConfig createRepository INFO: Creating the EM repository (this may take a while) ... Dec 24, 2009 2:01:07 PM oracle.sysman.emcp.EMReposConfig invoke INFO: Repository successfully created Dec 24, 2009 2:01:10 PM oracle.sysman.emcp.ParamsManager getLocalListener WARNING: Error retrieving listener for test-server Dec 24, 2009 2:01:12 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole INFO: Securing Database Control (this may take a while) ... Dec 24, 2009 2:01:15 PM oracle.sysman.emcp.util.PlatformInterface executeCommand WARNING: Error executing /u01/app/oracle/product/10.2.0/db_1/bin/emctl config emkey -repos Dec 24, 2009 2:01:15 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole WARNING: Configuring EM-Key failed. Dec 24, 2009 2:01:15 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration WARNING: Error securing Database control. Dec 24, 2009 2:01:15 PM oracle.sysman.emcp.EMDBPostConfig setWarnMsg INFO: Error securing Database Control, Database Control has been brought up in non-secure mode. To secure the Database Control execute the following command(s): 1) Set the environment variable ORACLE_SID to archs 2) /u01/app/oracle/product/10.2.0/db_1/bin/emctl stop dbconsole 3) /u01/app/oracle/product/10.2.0/db_1/bin/emctl config emkey -repos -sysman_pwd < Password for SYSMAN user > 4) /u01/app/oracle/product/10.2.0/db_1/bin/emctl secure dbconsole -sysman_pwd < Password for SYSMAN user > 5) /u01/app/oracle/product/10.2.0/db_1/bin/emctl start dbconsole To secure Em Key, run /u01/app/oracle/product/10.2.0/db_1/bin/emctl config emkey -remove_from_repos -sysman_pwd < Password for SYSMAN user > Dec 24, 2009 2:01:15 PM oracle.sysman.emcp.util.DBControlUtil startOMS INFO: Starting Database Control (this may take a while) ... ----------------------------------------------------------- Он предлагает выбрать из этого списка, а что именно? INFO: Error securing Database Control, Database Control has been brought up in non-secure mode. To secure the Database Control execute the following command(s): 1) Set the environment variable ORACLE_SID to archs 2) /u01/app/oracle/product/10.2.0/db_1/bin/emctl stop dbconsole 3) /u01/app/oracle/product/10.2.0/db_1/bin/emctl config emkey -repos -sysman_pwd < Password for SYSMAN user > 4) /u01/app/oracle/product/10.2.0/db_1/bin/emctl secure dbconsole -sysman_pwd < Password for SYSMAN user > 5) /u01/app/oracle/product/10.2.0/db_1/bin/emctl start dbconsole ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 12:10 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Он не предлагает выбрать из списка, а говорит Вам проделать операции в этой последовательности: 1) Set the environment variable ORACLE_SID to archs 2) /u01/app/oracle/product/10.2.0/db_1/bin/emctl stop dbconsole 3) /u01/app/oracle/product/10.2.0/db_1/bin/emctl config emkey -repos -sysman_pwd < Password for SYSMAN user > 4) /u01/app/oracle/product/10.2.0/db_1/bin/emctl secure dbconsole -sysman_pwd < Password for SYSMAN user > 5) /u01/app/oracle/product/10.2.0/db_1/bin/emctl start dbconsole ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 12:13 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
PaulEr сделал все заново, посмотрите что он выдал emca -config dbcontrol db -repos create STARTED EMCA at Dec 24, 2009 1:57:50 PM EM Configuration Assistant, Version 10.2.0.1.0 Production Copyright (c) 2003, 2005, Oracle. All rights reserved. Enter the following information: Database SID: archs Listener port number: 1158 Password for SYS user: Password for DBSNMP user: Password for SYSMAN user: Email address for notifications (optional): agzhigitov.erlan@gmail.com Outgoing Mail (SMTP) server for notifications (optional): gmail.com ----------------------------------------------------------------- You have specified the following settings Database ORACLE_HOME ................ /u01/app/oracle/product/10.2.0/db_1 Database hostname ................ test-server Listener port number ................ 1158 Database SID ................ archs Email address for notifications ............... agzhigitov.erlan@gmail.com Outgoing Mail (SMTP) server for notifications ............... gmail.com ----------------------------------------------------------------- Do you wish to continue? [yes(Y)/no(N)]: y Dec 24, 2009 1:59:38 PM oracle.sysman.emcp.EMConfig perform INFO: This operation is being logged at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/archs/emca_2009-12-24_01-57-50-PM.log. Dec 24, 2009 1:59:39 PM oracle.sysman.emcp.EMReposConfig createRepository INFO: Creating the EM repository (this may take a while) ... Dec 24, 2009 2:01:07 PM oracle.sysman.emcp.EMReposConfig invoke INFO: Repository successfully created Dec 24, 2009 2:01:10 PM oracle.sysman.emcp.ParamsManager getLocalListener WARNING: Error retrieving listener for test-server Dec 24, 2009 2:01:12 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole INFO: Securing Database Control (this may take a while) ... Dec 24, 2009 2:01:15 PM oracle.sysman.emcp.util.PlatformInterface executeCommand WARNING: Error executing /u01/app/oracle/product/10.2.0/db_1/bin/emctl config emkey -repos Dec 24, 2009 2:01:15 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole WARNING: Configuring EM-Key failed. Dec 24, 2009 2:01:15 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration WARNING: Error securing Database control. Dec 24, 2009 2:01:15 PM oracle.sysman.emcp.EMDBPostConfig setWarnMsg INFO: Error securing Database Control, Database Control has been brought up in non-secure mode. To secure the Database Control execute the following command(s): 1) Set the environment variable ORACLE_SID to archs 2) /u01/app/oracle/product/10.2.0/db_1/bin/emctl stop dbconsole 3) /u01/app/oracle/product/10.2.0/db_1/bin/emctl config emkey -repos -sysman_pwd < Password for SYSMAN user > 4) /u01/app/oracle/product/10.2.0/db_1/bin/emctl secure dbconsole -sysman_pwd < Password for SYSMAN user > 5) /u01/app/oracle/product/10.2.0/db_1/bin/emctl start dbconsole To secure Em Key, run /u01/app/oracle/product/10.2.0/db_1/bin/emctl config emkey -remove_from_repos -sysman_pwd < Password for SYSMAN user > Dec 24, 2009 2:01:15 PM oracle.sysman.emcp.util.DBControlUtil startOMS INFO: Starting Database Control (this may take a while) ... ----------------------------------------------------------- Он предлагает выбрать из этого списка, а что именно? INFO: Error securing Database Control, Database Control has been brought up in non-secure mode. To secure the Database Control execute the following command(s): 1) Set the environment variable ORACLE_SID to archs 2) /u01/app/oracle/product/10.2.0/db_1/bin/emctl stop dbconsole 3) /u01/app/oracle/product/10.2.0/db_1/bin/emctl config emkey -repos -sysman_pwd < Password for SYSMAN user > 4) /u01/app/oracle/product/10.2.0/db_1/bin/emctl secure dbconsole -sysman_pwd < Password for SYSMAN user > 5) /u01/app/oracle/product/10.2.0/db_1/bin/emctl start dbconsole ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 12:24 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Давайте ещё раз, выполните эти команды по очереди, после каждой команды аутпут сюда выложите. emca -deconfig dbcontrol db -repos drop emca -config dbcontrol db -repos create Sincerely, PaulEr ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 12:28 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
1) Set the environment variable ORACLE_SID to archs Где указывать ORACLE_SID? Он прописан же переменной среде? Где еще его писать? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 13:06 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Ну если уже прописан, то не указывайте. Команда set выдает ORACLE_SID? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 13:23 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
А у меня нет в папке BIN emca файла? как мне его вернуть можно? я когда БД устанавливал - Enterprise Manager не установил( ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 14:22 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Вот результат. на некоторых шагах он выдал ошибки, то ему пароль не понравился, то не может законектится к репозитарию. Что дальше делать? Подскажи emctl stop dbconsole Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0 Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved. http://test-server:1158/em/console/aboutApplication Stopping Oracle Enterprise Manager 10g Database Control ... --- Failed to shutdown DBConsole Gracefully --- failed. [oracle@test-server ~]$ emctl config emkey -repos -sysman_pwd qwerty Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0 Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved. Invalid Password caught Exception java.sql.SQLException: Io exception: Connection reset [oracle@test-server ~]$ emctl config emkey -repos -sysman_pwd qwerty Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0 Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved. Invalid Password caught Exception java.sql.SQLException: Io exception: Connection reset [oracle@test-server ~]$ emctl secure dbconsole -sysman_pwd qwerty Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0 Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved. http://test-server:1158/em/console/aboutApplication DBCONSOLE already stopped... Done. Agent is already stopped... Done. Securing dbconsole... Started. Checking Repository...ERROR. Unable to contact the OMS Repository. [oracle@test-server ~]$ start dbconsole -bash: start: command not found [oracle@test-server ~]$ emctl start dbconsole Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0 Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved. http://test-server:1158/em/console/aboutApplication Starting Oracle Enterprise Manager 10g Database Control ......... started. ------------------------------------------------------------------ Logs are generated in directory /u01/app/oracle/product/10.2.0/db_1/test-server_archs/sysman/log ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 14:29 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
просто интересуюсьА у меня нет в папке BIN emca файла? как мне его вернуть можно? я когда БД устанавливал - Enterprise Manager не установил( Запустить dbca и доустановить EM. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 14:37 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
PaulEr, спасибо. А он нужен только для консоли? У меня грид установлена для мониторинга. Работает и без этих файлов. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 14:40 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Вот на этой страничке, что показывает? http://test-server:1158/em qwerty - это точно пароль sysman? И что-то не смог он подключиться к OMS. В логах есть что-нибудь? Sincerely, PaulEr ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 14:41 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
просто интересуюсьPaulEr, спасибо. А он нужен только для консоли? У меня грид установлена для мониторинга. Работает и без этих файлов. Оставляйте себе грид, это гораздо лучше :) dbconsole - урезанная версия грида, плюс следит только за одной базой, грид же следит за многими:) Да и по функционалу грид мощнее. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 14:42 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
PaulEr, Спасибо. Ничего трогать не буду, пускай как есть остается) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 14:48 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
cat /u01/app/oracle/product/10.2.0/db_1/test-server_archs/sysman/log/secure.log выдает это [24-12-2009 16:12:52] INFO ::SecureDBConsoleCmds::isSecRemoteNode = false [24-12-2009 16:12:53] USERINFO ::DBCONSOLE already stopped... Done. [24-12-2009 16:12:54] USERINFO ::Agent is already stopped... Done. [24-12-2009 16:12:54] USERINFO ::Securing dbconsole... Started. [24-12-2009 16:12:54] INFO ::Securing DB Console [24-12-2009 16:12:54] INFO ::HTTP Port = 1820 [24-12-2009 16:12:54] INFO ::HTTPS Port = 1820 [24-12-2009 16:12:54] INFO ::DNS Host = test-server [24-12-2009 16:12:54] USERINFO ::Checking Repository... Enter auth password [main] ERROR sec.SecRepOperation - java.sql.SQLException: Io exception: The Network Adapter could not establish the connection [24-12-2009 16:12:54] USERINFO ::ERROR. Unable to contact the OMS Repository. -------------------------------------------------------------------------------- а cat /u01/app/oracle/product/10.2.0/db_1/test-server_archs/sysman/log/emagent.log вот это 2009-12-24 15:18:21 Thread-3061905088 Starting Agent 10.1.0.6.0 from /u01/app/oracle/product/10.2.0/db_1 (00701) 2009-12-24 15:19:52 Thread-3061905088 target {archs, oracle_database} is broken: cannot compute dynamic properties in time. (00155) 2009-12-24 15:19:52 Thread-3061905088 EMAgent started successfully (00702) 2009-12-24 15:22:52 Thread-3039927184 target {archs, oracle_database} is broken: cannot compute dynamic properties in time. (00155) 2009-12-24 15:25:52 Thread-3039927184 target {archs, oracle_database} is broken: cannot compute dynamic properties in time. (00155) 2009-12-24 15:28:52 Thread-3029330832 target {archs, oracle_database} is broken: cannot compute dynamic properties in time. (00155) 2009-12-24 15:50:26 Thread-3061905088 EMAgent normal shutdown (00703) 2009-12-24 16:15:00 Thread-1309376 Starting Agent 10.1.0.6.0 from /u01/app/oracle/product/10.2.0/db_1 (00701) 2009-12-24 16:16:31 Thread-1309376 target {archs, oracle_database} is broken: cannot compute dynamic properties in time. (00155) 2009-12-24 16:16:31 Thread-1309376 EMAgent started successfully (00702) 2009-12-24 16:19:31 Thread-39496592 target {archs, oracle_database} is broken: cannot compute dynamic properties in time. (00155) 2009-12-24 16:22:31 Thread-42646416 target {archs, oracle_database} is broken: cannot compute dynamic properties in time. (00155) 2009-12-24 16:25:31 Thread-39496592 target {archs, oracle_database} is broken: cannot compute dynamic properties in time. (00155) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 14:49 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
qwerty его пароль. http://test-server:1158/em выдает обычное "Немогу соединится" ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 14:52 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
lsnrctl status lsnrctl services Что выдает? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 15:13 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Вот меня смущает вот что: когда при выполнений настроек emctl, я указал порт 1158, а в инструкций пишется что надо стандартный порт 1521. PaulEr что посоветуешь? Может заново все попробовать? lsnrctl status LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 24-DEC-2009 17:14:22 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 22-DEC-2009 14:22:52 Uptime 2 days 2 hr. 51 min. 29 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))) Services Summary... Service "archs" has 1 instance(s). Instance "archs", status READY, has 1 handler(s) for this service... Service "archsXDB" has 1 instance(s). Instance "archs", status READY, has 1 handler(s) for this service... Service "archs_XPT" has 1 instance(s). Instance "archs", status READY, has 1 handler(s) for this service... The command completed successfully [oracle@test-server log]$ lsnrctl services LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 24-DEC-2009 17:14:28 Copyright (c) 1991, 2007, Oracle. All rights reserved. Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521)) Services Summary... Service "archs" has 1 instance(s). Instance "archs", status READY, has 1 handler(s) for this service... Handler(s): "DEDICATED" established:288 refused:0 state:ready LOCAL SERVER Service "archsXDB" has 1 instance(s). Instance "archs", status READY, has 1 handler(s) for this service... Handler(s): "D000" established:0 refused:0 current:0 max:1022 state:ready DISPATCHER <machine: test-server, pid: 5496> (ADDRESS=(PROTOCOL=tcp)(HOST=test-server)(PORT=4646)) Service "archs_XPT" has 1 instance(s). Instance "archs", status READY, has 1 handler(s) for this service... Handler(s): "DEDICATED" established:288 refused:0 state:ready LOCAL SERVER The command completed successfully ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 15:19 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
А,итить:) Глаз замылился уже:) 1521 порт надо указывать, вот и не видит он омс. И пробуйте все заново, все снесите и создавайте сначала. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 15:56 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
PaulEr глянь все заново сделал. Порт 1521 Он терь ошибку дает WARNING: Error retrieving listener for test-server. И в браузере пустота emca -config dbcontrol db -repos create STARTED EMCA at Dec 24, 2009 6:04:59 PM EM Configuration Assistant, Version 10.2.0.1.0 Production Copyright (c) 2003, 2005, Oracle. All rights reserved. Enter the following information: Database SID: archs Listener port number: 1521 Password for SYS user: Password for DBSNMP user: Password for SYSMAN user: Email address for notifications (optional): erlan_86_oral@mail.ru Outgoing Mail (SMTP) server for notifications (optional): mail.ru ----------------------------------------------------------------- You have specified the following settings Database ORACLE_HOME ................ /u01/app/oracle/product/10.2.0/db_1 Database hostname ................ test-server Listener port number ................ 1521 Database SID ................ archs Email address for notifications ............... erlan_86_oral@mail.ru Outgoing Mail (SMTP) server for notifications ............... mail.ru ----------------------------------------------------------------- Do you wish to continue? [yes(Y)/no(N)]: y Dec 24, 2009 6:05:56 PM oracle.sysman.emcp.EMConfig perform INFO: This operation is being logged at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/archs/emca_2009-12-24_06-04-59-PM.log. Dec 24, 2009 6:05:57 PM oracle.sysman.emcp.EMReposConfig createRepository INFO: Creating the EM repository (this may take a while) ... Dec 24, 2009 6:07:30 PM oracle.sysman.emcp.EMReposConfig invoke INFO: Repository successfully created Dec 24, 2009 6:07:33 PM oracle.sysman.emcp.ParamsManager getLocalListener WARNING: Error retrieving listener for test-server Dec 24, 2009 6:07:36 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole INFO: Securing Database Control (this may take a while) ... Dec 24, 2009 6:08:26 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole INFO: Database Control secured successfully. Dec 24, 2009 6:08:26 PM oracle.sysman.emcp.util.DBControlUtil startOMS INFO: Starting Database Control (this may take a while) ... Dec 24, 2009 6:10:04 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration INFO: Database Control started successfully Dec 24, 2009 6:10:04 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration INFO: >>>>>>>>>>> The Database Control URL is https://test-server:1158/em <<<<<<<<<<< Enterprise Manager configuration completed successfully FINISHED EMCA at Dec 24, 2009 6:10:04 PM ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 16:19 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Erlan_dba, Странно, у Вас показывает, что все прошло успешно. Вы через ssl пытается зайти? То есть так: http s ? http://test-server:1158/em -----> попробуйте так Что выдает emctl status dbconsole? Лог /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/archs/emca_2009-12-24_06-04-59-PM.log смотрели, что там насчет listenera есть? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 16:34 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Вот лог /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/archs/emca_2009-12-24_06-04-59-PM.log Dec 24, 2009 6:10:04 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration INFO: Database Control started successfully Dec 24, 2009 6:10:04 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode CONFIG: isLocalNodeDone: true localNode: null Dec 24, 2009 6:10:04 PM oracle.sysman.emcp.ParamsManager getParam CONFIG: No value was set for the parameter ORACLE_HOSTNAME. Dec 24, 2009 6:10:04 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode CONFIG: isLocalNodeDone: true localNode: null Dec 24, 2009 6:10:04 PM oracle.sysman.emcp.EMDBPostConfig addUrl CONFIG: Updating file /u01/app/oracle/product/10.2.0/db_1/install/readme.txt ... Dec 24, 2009 6:10:04 PM oracle.sysman.emcp.util.FileUtil _copyFile CONFIG: Completed copying file /u01/app/oracle/product/10.2.0/db_1/install/readme.txt to /u01/app/oracle/product/10.2.0/db_1/install/readme.txt.emca.util.tmp Dec 24, 2009 6:10:04 PM oracle.sysman.emcp.util.FileUtil backupFile CONFIG: The original file /u01/app/oracle/product/10.2.0/db_1/install/readme.txt has been copied to /u01/app/oracle/product/10.2.0/db_1/install/readme.txt.emca.util.tmp Dec 24, 2009 6:10:04 PM oracle.sysman.emcp.EMDBPostConfig addUrl CONFIG: Writing the selected url to readme.txt Dec 24, 2009 6:10:04 PM oracle.sysman.emcp.EMDBPostConfig addUrl CONFIG: Removing existing entries from readme.txt Enterprise Manager Database Control URL - (archs) : Dec 24, 2009 6:10:04 PM oracle.sysman.emcp.util.FileUtil _copyFile CONFIG: Completed copying file /u01/app/oracle/product/10.2.0/db_1/install/readme.txt.emca.util.tmp to /u01/app/oracle/product/10.2.0/db_1/install/readme.txt Dec 24, 2009 6:10:04 PM oracle.sysman.emcp.EMDBPostConfig addUrl CONFIG: File /u01/app/oracle/product/10.2.0/db_1/install/readme.txt is successfully updated Dec 24, 2009 6:10:04 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode CONFIG: isLocalNodeDone: true localNode: null Dec 24, 2009 6:10:04 PM oracle.sysman.emcp.ParamsManager getParam CONFIG: No value was set for the parameter ORACLE_HOSTNAME. Dec 24, 2009 6:10:04 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode CONFIG: isLocalNodeDone: true localNode: null Dec 24, 2009 6:10:04 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration INFO: >>>>>>>>>>> The Database Control URL is https://test-server:1158/em <<<<<<<<<<< ----------------------------------------------------------------------------- Результат emctl status dbconsole emctl status dbconsole Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0 Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved. https://test-server:1158/em/console/aboutApplication Oracle Enterprise Manager 10g is running. ------------------------------------------------------------------ Logs are generated in directory /u01/app/oracle/product/10.2.0/db_1/test-server_archs/sysman/log -------------------------------------------------------------------------------------- Он и через http и https не хочет, блин. Че же делать? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 16:42 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Может у Вас в браузере какие-то настройки есть, что не дает посмотреть. dbconsole у Вас запущена. Sincerely, PaulEr ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 16:46 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
не с 3 машин пробовал, ноль эмоций. PaulEr чуть выше я говорил что ошибочка вышла при настройке emca: WARNING: Error retrieving listener for test-server, может он и не дает добро? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 16:50 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
PaulErМожет у Вас в браузере какие-то настройки есть, что не дает посмотреть. dbconsole у Вас запущена. Кстати да. Что же никто не сказал топикстартеру использовать все-таки броузер, а не ИЕ всякие? Потому как по вышеприведенным логам судя, все корректно отконфигурирось не менее двух раз. А вот это Код: plaintext 1. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 17:19 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Подумалось...PaulErМожет у Вас в браузере какие-то настройки есть, что не дает посмотреть. dbconsole у Вас запущена. Кстати да. Что же никто не сказал топикстартеру использовать все-таки броузер, а не ИЕ всякие? Потому как по вышеприведенным логам судя, все корректно отконфигурирось не менее двух раз. А вот это Код: plaintext 1. Не вижу связи, у меня прекрасно в Осле с 6-го по 8-й работает. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 17:23 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Не прет нихрена. http://test-server:1158/em Opera пишет: Попытка установить соединение была безуспешной, т.к. от другого компьютера за требуемое время не получен нужный отклик, или было разорвано уже установленное соединение из-за неверного отклика уже подключенного компьютера ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 17:27 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Торопунька Не вижу связи, у меня прекрасно в Осле с 6-го по 8-й работает. Ну вот ты выходит по жизни везучий, в отличие от топикстартера. Потому как мудрые индусы с металинка нас выходит напрасно пугают такими нотами, как 437660.1, ну или к примеру 340180.1. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 17:27 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Erlan_dbaНе прет нихрена. http://test-server:1158/em Opera пишет: skip Лог emagent.trc последние строк 300 покажи, plz. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 17:29 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Erlan_dbaНе прет нихрена. http://test-server:1158/em Opera пишет: Попытка установить соединение была безуспешной, т.к. от другого компьютера за требуемое время не получен нужный отклик, или было разорвано уже установленное соединение из-за неверного отклика уже подключенного компьютера Попробуйте Код: plaintext ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 17:29 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Кстате, я вроде понял. Надо Код: plaintext Код: plaintext ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 17:30 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Подумалось..., это можно решить путем emctl secure unlock ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 17:32 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
pravednikПодумалось..., это можно решить путем emctl secure unlock Тогда уж emctl unsecure dbconsole. Дело же не в этом, а в том, что и не должен работать обычный HTTP-запрос, если серверу приспичило слушать именно HTTPS. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 17:34 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Подумалось..., угу...я просто просмотре оутпут от status dbconsole ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 17:35 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
не удается подключится к test-server к 1158 порту C:\Documents and Settings\agzhigitov>telnet test-server 1158 Подключение к test-server...Не удалось открыть подключение к этому узлу, на порт 1158: Сбой подключения C:\Documents and Settings\agzhigitov> -------------------------------------------- http и https не прет Лог к /u01/app/oracle/product/10.2.0/db_1/test-server_archs/sysman/log/emagent.trc [oracle@test-server log]$ cat /u01/app/oracle/product/10.2.0/db_1/test-server_archs/sysman/log/emagent.trc 2009-12-24 18:10:01 Thread-3061286592 ERROR util.files: ERROR: nmeufis_new: failed in lfiopn on file: /u01/app/oracle/product/10.2.0/db_1/test-server_archs/sysman/emd/agntstmp.txt. error = 2 (No such file or directory) 2009-12-24 18:10:01 Thread-3061286592 WARN main: clear collection state due to OMS_version difference 2009-12-24 18:10:01 Thread-3061286592 WARN command: Job Subsystem Timeout set at 600 seconds 2009-12-24 18:10:01 Thread-3061286592 WARN upload: Upload manager has no Failure script: disabled 2009-12-24 18:10:01 Thread-3061286592 WARN upload: Recovering left over xml files in upload directory 2009-12-24 18:10:01 Thread-3061286592 WARN upload: Recovered 0 left over xml files in upload directory 2009-12-24 18:10:02 Thread-3061286592 WARN metadata: Metric Disk_Path does not have any data columns 2009-12-24 18:10:02 Thread-3061286592 WARN metadata: Metric osm_diskGroupPolicies does not have any data columns 2009-12-24 18:10:02 Thread-3061286592 WARN TargetManager: Regenerating all Metadata 2009-12-24 18:10:02 Thread-3061286592 WARN collector: the column name DiskActivityavwait in this condition does not exist 2009-12-24 18:10:03 Thread-3061286592 ERROR collector: nmecs_validateStateFile(): state file invalid : /u01/app/oracle/product/10.2.0/db_1/test-server_archs/sysman/emd/state/snapshot 2009-12-24 18:10:03 Thread-3061286592 ERROR collector: Collector state files cleaned, severity will be resent 2009-12-24 18:10:03 Thread-3040865168 ERROR upload: Error in uploadXMLFiles. Trying again in 60.00 seconds. 2009-12-24 18:11:29 Thread-3040865168 ERROR fetchlets.oslinetok: Process stderr = tail: cannot open `+2' for reading: No such file or directory Failed to run grep at /u01/app/oracle/product/10.2.0/db_1/sysman/admin/scripts/osCpuUsage.pl line 35. 2009-12-24 18:11:29 Thread-3040865168 ERROR engine: [host,test-server,CPUUsage] : nmeegd_GetMetricData failed : tail: cannot open `+2' for reading: No such file or directory Failed to run grep at /u01/app/oracle/product/10.2.0/db_1/sysman/admin/scripts/osCpuUsage.pl line 35. 2009-12-24 18:26:29 Thread-3034565520 ERROR fetchlets.oslinetok: Process stderr = tail: cannot open `+2' for reading: No such file or directory Failed to run grep at /u01/app/oracle/product/10.2.0/db_1/sysman/admin/scripts/osCpuUsage.pl line 35. 2009-12-24 18:26:29 Thread-3034565520 ERROR engine: [host,test-server,CPUUsage] : nmeegd_GetMetricData failed : tail: cannot open `+2' for reading: No such file or directory Failed to run grep at /u01/app/oracle/product/10.2.0/db_1/sysman/admin/scripts/osCpuUsage.pl line 35. 2009-12-24 18:41:30 Thread-3040865168 ERROR fetchlets.oslinetok: Process stderr = tail: cannot open `+2' for reading: No such file or directory Failed to run grep at /u01/app/oracle/product/10.2.0/db_1/sysman/admin/scripts/osCpuUsage.pl line 35. 2009-12-24 18:41:30 Thread-3040865168 ERROR engine: [host,test-server,CPUUsage] : nmeegd_GetMetricData failed : tail: cannot open `+2' for reading: No such file or directory Failed to run grep at /u01/app/oracle/product/10.2.0/db_1/sysman/admin/scripts/osCpuUsage.pl line 35. 2009-12-24 18:56:29 Thread-3040865168 ERROR fetchlets.oslinetok: Process stderr = tail: cannot open `+2' for reading: No such file or directory Failed to run grep at /u01/app/oracle/product/10.2.0/db_1/sysman/admin/scripts/osCpuUsage.pl line 35. 2009-12-24 18:56:29 Thread-3040865168 ERROR engine: [host,test-server,CPUUsage] : nmeegd_GetMetricData failed : tail: cannot open `+2' for reading: No such file or directory Failed to run grep at /u01/app/oracle/product/10.2.0/db_1/sysman/admin/scripts/osCpuUsage.pl line 35. 2009-12-24 19:11:29 Thread-3040865168 ERROR fetchlets.oslinetok: Process stderr = tail: cannot open `+2' for reading: No such file or directory grep: write error: Broken pipe Failed to run grep at /u01/app/oracle/product/10.2.0/db_1/sysman/admin/scripts/osCpuUsage.pl line 35. 2009-12-24 19:11:29 Thread-3040865168 ERROR engine: [host,test-server,CPUUsage] : nmeegd_GetMetricData failed : tail: cannot open `+2' for reading: No such file or directory grep: write error: Broken pipe Failed to run grep at /u01/app/oracle/product/10.2.0/db_1/sysman/admin/scripts/osCpuUsage.pl line 35. 2009-12-24 19:19:57 Thread-3049331600 ERROR vpxoci: Error on dequeue from SYS.ALERT_QUE: ORA-01089: immediate shutdown in progress - no operations are permitted 2009-12-24 19:19:58 Thread-3049331600 ERROR vpxoci: Error on dequeue from SYS.ALERT_QUE: ORA-03114: not connected to ORACLE 2009-12-24 19:19:58 Thread-3049331600 WARN vpxoci: OCI Error -- ErrorCode(12528): ORA-12528: TNS:listener: all appropriate instances are blocking new connections SQL = " OCIServerAttach"... LOGIN = dbsnmp/<PW>@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=test-server)(PORT=1521))(CONNECT_DATA=(SID=archs))) 2009-12-24 19:19:58 Thread-3049331600 ERROR vpxoci: ORA-12528: TNS:listener: all appropriate instances are blocking new connections 2009-12-24 19:20:08 Thread-3028265872 WARN upload: FxferSend: received http error in header from repository: https://test-server:1158/em/upload/ ERROR-400|Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor The Connection descriptor used by the client was: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=test-server)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=archs))) 2009-12-24 19:20:08 Thread-3028265872 ERROR upload: Failed to upload file B0000024.xml, ret = -2 2009-12-24 19:20:08 Thread-3028265872 WARN upload: FxferSend: received http error in header from repository: https://test-server:1158/em/upload/ ERROR-400|Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor The Connection descriptor used by the client was: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=test-server)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=archs))) 2009-12-24 19:20:08 Thread-3028265872 ERROR upload: Failed to upload file B0000024.xml, ret = -2 2009-12-24 19:20:08 Thread-3028265872 WARN upload: FxferSend: received http error in header from repository: https://test-server:1158/em/upload/ ERROR-400|Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor The Connection descriptor used by the client was: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=test-server)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=archs))) 2009-12-24 19:20:08 Thread-3028265872 ERROR upload: Failed to upload file B0000024.xml, ret = -2 2009-12-24 19:20:08 Thread-3028265872 ERROR upload: 3 Failures in a row for B0000024.xml, we give up 2009-12-24 19:20:08 Thread-3028265872 ERROR upload: Error in uploadXMLFiles. Trying again in 60.00 seconds. 2009-12-24 19:20:13 Thread-3049331600 WARN vpxoci: OCI Error -- ErrorCode(12505): ORA-12505: TNS:listener does not currently know of SID given in connect descriptor SQL = " OCIServerAttach"... LOGIN = dbsnmp/<PW>@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=test-server)(PORT=1521))(CONNECT_DATA=(SID=archs))) 2009-12-24 19:20:13 Thread-3049331600 ERROR vpxoci: ORA-12505: TNS:listener does not currently know of SID given in connect descriptor 2009-12-24 19:20:19 Thread-3028265872 WARN upload: FxferSend: received http error in header from repository: https://test-server:1158/em/upload/ ERROR-400|Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor The Connection descriptor used by the client was: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=test-server)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=archs))) 2009-12-24 19:20:19 Thread-3028265872 ERROR upload: Failed to upload file B0000024.xml, ret = -2 2009-12-24 19:20:19 Thread-3028265872 WARN upload: FxferSend: received http error in header from repository: https://test-server:1158/em/upload/ ERROR-400|Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor The Connection descriptor used by the client was: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=test-server)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=archs))) 2009-12-24 19:20:19 Thread-3028265872 ERROR upload: Failed to upload file B0000024.xml, ret = -2 2009-12-24 19:20:19 Thread-3028265872 WARN upload: FxferSend: received http error in header from repository: https://test-server:1158/em/upload/ ERROR-400|Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor The Connection descriptor used by the client was: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=test-server)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=archs))) 2009-12-24 19:20:19 Thread-3028265872 ERROR upload: Failed to upload file B0000024.xml, ret = -2 2009-12-24 19:20:19 Thread-3028265872 ERROR upload: 3 Failures in a row for B0000024.xml, we give up 2009-12-24 19:20:19 Thread-3028265872 ERROR upload: Error in uploadXMLFiles. Trying again in 72.00 seconds. 2009-12-24 19:20:28 Thread-3049331600 WARN vpxoci: OCI Error -- ErrorCode(12505): ORA-12505: TNS:listener does not currently know of SID given in connect descriptor SQL = " OCIServerAttach"... LOGIN = dbsnmp/<PW>@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=test-server)(PORT=1521))(CONNECT_DATA=(SID=archs))) 2009-12-24 19:20:28 Thread-3049331600 ERROR vpxoci: ORA-12505: TNS:listener does not currently know of SID given in connect descriptor 2009-12-24 19:20:36 Thread-3028265872 ERROR upload: Failed to upload file B0000024.xml, ret = -2 2009-12-24 19:20:36 Thread-3028265872 ERROR upload: Failed to upload file B0000024.xml, ret = -2 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 17:40 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Код: plaintext 1. А вот и он, больной зуб. Листенер нормально настрой, и все будет, я так думаю. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 17:43 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Подскажите пипл что именно на листенере настройть? Если не эта ошибка то там все ОК. С клиентаских мест же коннект, запросы идут ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 17:47 |
|
||
|
Выходит ошибка при запуске команды emca -repos create
|
|||
|---|---|---|---|
|
#18+
Erlan_dba, cat $ORACLE_HOME/network/admin/listener.ora покажи plz. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2009, 17:49 |
|
||
|
Выходит ошибка при запуске команды 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?all=1&fid=52&tid=1883530]: |
0ms |
get settings: |
7ms |
get forum list: |
16ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
158ms |
get topic data: |
10ms |
get forum data: |
2ms |
get page messages: |
120ms |
get tp. blocked users: |
1ms |
| others: | 211ms |
| total: | 531ms |

| 0 / 0 |
