2013-04-02 9 views
0

Я установил Oracle 11g на OEL5 вчера и смог получить к нему доступ EM (https://localhost.localdomain:1158/em). Однако при попытке подключения сегодня он не смог подключиться.Невозможно подключиться к ЭМ, несмотря на то, что все работает в Listern, dbconsole и DB

Я могу подключиться к db vis sqlplus и проверить, что этот Listener и dbconsole запущены. Я отключил и несколько раз запустил DB, dbaconsole и Listerner, но все еще не смог получить доступ к EM (https://localhost.localdomain:1158/em). Кроме того, это было сделано после переустановки машины, но по-прежнему такая же проблема.

Я проверил следующие файлы журналов, которые имеют предупреждения и ошибки:

emdctl.trc

2013-04-01 14:00:27,196 Thread-3348649696 WARN http: nmehl_connect_internal: connect failed to (localhost.localdomain:1830) 
: Connection refused (error = 111) 
2013-04-01 14:00:27,196 Thread-3348649696 ERROR main: nmectla_agentctl: Error connecting to http://localhost.localdomain:183 
0/emd/main. Returning status code 1 
2013-04-01 15:52:32,626 Thread-3858654944 WARN http: nmehl_connect_internal: connect failed to (localhost.localdomain:5500) 
: Connection refused (error = 111) 
2013-04-01 16:01:08,737 Thread-2888275680 WARN http: nmehl_connect_internal: connect failed to (localhost.localdomain:5500) 
: Connection refused (error = 111) 

emagent.log

2013-04-01 12:34:33,620 Thread-4251236064 Starting Agent 10.2.0.4.4 from /u01/app/oracle/product/11.2.0/dbhome_1 (00701) 
2013-04-01 12:34:34,403 Thread-4251236064 Undefined column name __intervalONNECT_DATA in expression ((gc_cr_recv < _gc_cr_re 
cv) ? 0 : (gc_cr_recv - _gc_cr_recv))/__intervalONNECT_DATA=(SID=%SID%))) 
      (00104) 
2013-04-01 12:34:34,403 Thread-4251236064 Undefined column name __intervalCT_DATA in expression ((gc_cur_recv < _gc_cur_recv 
) ? 0 : (gc_cur_recv - _gc_cur_recv))/__intervalCT_DATA=(SID=%SID%))) 
      (00104) 

emagent.trc

2013-04-02 00:18:35,273 Thread-1468947040 ERROR recvlets: Error setting threshold for metric file, target orcl.localdomain o 
racle_database 
2013-04-02 00:18:35,273 Thread-1468947040 ERROR recvlets: Tried to set threshold on metric file, target orcl.localdomain ora 
cle_database,     for uninitialized recvlet AQMetrics 
2013-04-02 00:18:35,273 Thread-1468947040 ERROR recvlets: Error setting threshold for metric file, target orcl.localdomain o 
racle_database 
2013-04-02 00:18:35,273 Thread-1468947040 ERROR recvlets: Tried to set threshold on metric service, target orcl.localdomain 
oracle_database,     for uninitialized recvlet AQMetrics 
2013-04-02 00:18:35,273 Thread-1468947040 ERROR recvlets: Error setting threshold for metric service, target orcl.localdomai 
n oracle_database 
2013-04-02 00:18:35,273 Thread-1468947040 ERROR recvlets: Tried to set threshold on metric service, target orcl.localdomain 
oracle_database,     for uninitialized recvlet AQMetrics 
2013-04-02 00:18:35,273 Thread-1468947040 ERROR recvlets: Error setting threshold for metric service, target orcl.localdomai 
n oracle_database 
2013-04-02 00:18:35,273 Thread-1468947040 WARN upload: Upload manager has no Failure script: disabled 
2013-04-02 00:18:35,273 Thread-1468947040 WARN upload: Amount of upload data will be recalculated due to reload.enabling co 
llections and regenerating metadata. 
2013-04-02 00:18:35,273 Thread-1468947040 WARN TargetManager: Regenerating all Metadata 
2013-04-02 00:18:35,286 Thread-1466931808 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repo 
sitory 
2013-04-02 00:18:35,298 Thread-1466931808 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repo 
sitory 
2013-04-02 00:18:35,332 Thread-1468947040 WARN upload: Truncating value of "SHORT_NAME" from "Average Synchronous Single-Block Read Latency (ms)" to "Average Synchronous Single-Block Read La" 
2013-04-02 00:18:35,332 Thread-1468947040 WARN upload: Truncating value of "SHORT_NAME" from "Average Synchronous Single-Block Read Latency (ms)" to "Average Synchronous Single-Block Read La" 
2013-04-02 00:18:35,414 Thread-1468947040 WARN upload: Truncating value of "COLUMN_LABEL" from "Total messages processed per queue per subscriber per minute in the last interval" to "Total messages processed per queue per subscriber per minute in " 
2013-04-02 00:18:35,414 Thread-1468947040 WARN upload: Truncating value of "COLUMN_LABEL" from "Total messages received per queue per subscriber per minute in the last interval" to "Total messages received per queue per subscriber per minute in t" 
2013-04-02 00:18:35,414 Thread-1468947040 WARN upload: Truncating value of "COLUMN_LABEL" from "Messages processed per queue (%) per subscriber per minute in the last interval" to "Messages processed per queue (%) per subscriber per minute in th" 
2013-04-02 00:18:35,414 Thread-1468947040 WARN upload: Truncating value of "COLUMN_LABEL" from "Age of the first message in persistent queue per subscriber (seconds)" to "Age of the first message in persistent queue per subscriber (sec" 
2013-04-02 00:18:35,415 Thread-1468947040 WARN upload: Truncating value of "COLUMN_LABEL" from "Age of the first message in the buffered queue per queue (seconds)" to "Age of the first message in the buffered queue per queue (second" 
2013-04-02 00:18:35,427 Thread-1468947040 WARN collector: enable collector 
2013-04-02 00:18:35,429 Thread-1468947040 WARN collector: the column name first_message_age in this condition does not exist in metric aq_msgs_persistentq_per_subscriber 
2013-04-02 00:18:35,432 Thread-1468947040 WARN collector: the column name first_message_age in this condition does not exist in metric aq_msgs_persistentq_per_subscriber 
2013-04-02 00:18:35,415 Thread-1468947040 WARN upload: Truncating value of "COLUMN_LABEL" from "Age of the first message in 
the buffered queue per queue (seconds)" to "Age of the first message in the buffered queue per queue (second" 
2013-04-02 00:18:35,427 Thread-1468947040 WARN collector: enable collector 
2013-04-02 00:18:35,429 Thread-1468947040 WARN collector: the column name first_message_age in this condition does not exis 
t in metric aq_msgs_persistentq_per_subscriber 
2013-04-02 00:18:35,432 Thread-1468947040 WARN collector: the column name first_message_age in this condition does not exis 
t in metric aq_msgs_persistentq_per_subscriber 
2013-04-02 00:18:35,435 Thread-1468947040 WARN collector: Regenerating all DefaultColls 
2013-04-02 00:18:36,505 Thread-1466931808 ERROR upload: Exceeded max. amount of upload data: 312 files, 45.885256 MB Data. 3 
9.01% of disk used. Disabling collections. 
2013-04-02 00:18:36,505 Thread-1466931808 WARN collector: Disable collector 
2013-04-02 00:19:05,550 Thread-1468947040 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repo 
sitory 
2013-04-02 00:19:05,561 Thread-1468947040 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository 
2013-04-02 00:19:35,939 Thread-1468947040 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository 
2013-04-02 00:19:36,060 Thread-1468947040 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository 

Я провел последние два дня проверки в Интернете, но не смогли решить эту проблему. возможно, проблема с localho очень ценит любую помощь/предложения, и если бы вы могли легко следовать инструкциям, так как я новичок в Linux и Oracle 11g.

Большое спасибо заранее.st.localdomain, но я не уверен, как проверить или обновить это.

Я был бы очень признателен за любую помощь/предложения, и если бы вы могли легко следовать инструкциям, так как я новичок в Linux и Oracle 11g.

Большое спасибо заранее.

ответ

0

Пожалуйста, добавьте IP-адрес вместе с именем хоста в файле/etc/hosts и перезапустите dbconsole, проблема будет решена.

Спасибо Anil

 Смежные вопросы

  • Нет связанных вопросов^_^