ORACLE_HOSTNAME undefined

The issue can be reproduced at will with the following steps:
1. Change the hostname.
2. Check DBConsole status

ISSUE VERIFICATION
==================
Verified the issue referencing data collected records as noted below.
CAUSE DETERMINATION
===================
The issue is caused by the following setup: hostname changed.
CAUSE JUSTIFICATION
===================
This issue is described in Metalink Note 330130.1
PROPOSED SOLUTION (S)
====================
Recreate the DBConsole
PROPOSED SOLUTION JUSTIFICATION (S)
==================================
After the hostname changes the DBConsole must be recreated to update the repository tables.
SOLUTION / ACTION PLAN
======================
- To implement the solution, please execute the following steps::
Prepare the environment:
- Open a new terminal window.
- Go to the Oracle installation folder.
- Set the ORACLE_HOME variable according to that folder.
eg. export ORACLE_HOME = / opt/oracle/db1
Please follow the steps below.
1. Stop the dbconsole on the target node
$ ORACLE_HOME / bin / emctl stop dbconsole
2. Delete the repository and directory structure using EMCA:
- Go to $ ORACLE_HOME / bin
- At the command prompt, enter the following command:
$ PROMPT> emca-deconfig dbcontrol db-repos drop
- Follow the instructions on the screen
3) If this returns successfully please go to step 5, otherwise follow step 4.
4) If the EMCA returns in any error please remove the repository manually:
4.1) Logon SQLPLUS as user SYS and drop the sysman account and management objects:
A. drop user sysman cascade;
B. drop role MGMT_USER;
C. drop user MGMT_VIEW cascade;
D. drop public synonym MGMT_TARGET_BLACKOUTS;
E. drop public synonym SETEMVIEWUSERCONTEXT;
5) After repository deletion please recreate the repository and directory structure.
- Go to $ ORACLE_HOME / bin
- At the command prompt, enter the following command:
$ PROMPT> emca-config dbcontrol db-repos create
- Follow the instructions on the screen
6) In case the dbconsole startup fails please provide the files of folder
$ ORACLE_HOME / cfgtoollogs
and
$ ORACLE_HOME / _ / sysman / log
to metalink.

Then, for em, the interface came out, but at a wrong:
java.lang.Exception: Exception in sending Request:: null
[oracle @ oracle config] $ pwd
/ op/oracle/product/10.2.4/oracle_orcl/sysman/config
[oracle @ oracle config] $ vi emd.properties
The value was revised to: agentTZRegion = Asia / Chongqing
Time zone on the list of reference: 10.2.0 \ db_1 \ sysman \ admin \ supportedtzs.lst
Then, restart OracleDBConsole <SID>
  • del.icio.us
  • StumbleUpon
  • Digg
  • TwitThis
  • Mixx
  • Technorati
  • Facebook
  • NewsVine
  • Reddit
  • Google
  • LinkedIn
  • YahooMyWeb

Related Posts of ORACLE_HOSTNAME undefined

  • ORACLE10G full version centos5 installed (the installation has passed)

    ORACLE10G full version centos5 installed (the installation has passed) 1. Centos 5.0 install rn GUI must be installed, it is best not to start selinux rn rn rn 2. . Ready to install the software: (this is very important, is the first installation fai ...

  • SGA extended the principle of 32bit oracle

    SGA extended the principle of 32bit oracle From: http://www.itpub.net/247048.html Because the median 32bitrnoracle restrictions can only visit the oracle process 4g (2 of 32 power) following virtual memory address, the time at a lot of people this is ...

  • AX3.0 + Oracle 10G RAC installation

    During these two days, you installed RAC, in a virtual machine inside, with a full day, there have been some questions on his way. Now have their own solution. In fact, it is loaded, it is easy, as long as planned, carefully point on OK, the trouble ...

  • High Availability Oracle Flashback

    Brief introduction Flashback Database is a point in time (PIT) restore the database approach. This incomplete recovery strategy can be used to restore the logic because of human error cause damage to the database. At the introduction of 10g, it is de ...

  • An example of the use of TKPROF

    First, view and edit parameters SQL> show parameter max_dump_file_size NAME TYPE VALUE ------------------------------------ ----------- --- --------------------------- max_dump_file_size string UNLIMITED SQL> show parameter user_dump_dest NAME TYPE

  • Diagnosis and principles of order

    SQL> select disk.value "Disk", mem.value "Mem", 2 (disk.value / mem.value) * 100 "Ratio" 3 from v $ sysstat mem, v $ sysstat disk 4 where mem.name = 'sorts (memory)' 5 and disk.name = 'sorts (disk)'; D ...

  • ORACLE 10G dataguard configuration Step by Step

    oracle dataguard

Leave a Reply

Recent
Recent Entries
Tag Cloud
Random Entries
Latest Comments