DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: How to change the Host name for OEM screen in Oracle 10g

  1. #1
    Join Date
    Jul 2002
    Posts
    205

    How to change the Host name for OEM screen in Oracle 10g

    The host name earlier was servername.abc.net , but now it should be only servername .

    When I go to the web based OEM or DB Control in Oracle 10g, it shows the OEM screen. On the same screen I see the error

    Error
    java.lang.Exception: UnknownHostException sending request :: servername.abc.net


    I want the host name to be servername not servername.abc.net

    Which oracle file needs to be changed..?

  2. #2
    Join Date
    Oct 2000
    Location
    Saskatoon, SK, Canada
    Posts
    3,925
    This is something that is tied up on the application server install. When you install, oracle would pick up the hostname.domain as your url. It all depends on the default hostname on the server. I encountered somewhat a similar problem on iAS 10g install, and the solution was to set the default hostname properly. If you are very desperate to change the host information, my suggestion is to consult the Oracle. Metalink has a script to change the hostname information for iAS. You may want to take a look into it to see what are all the XML files you have to make the changes on to.

    Good luck,
    Sam
    Thanx
    Sam



    Life is a journey, not a destination!


  3. #3
    Join Date
    Jul 2002
    Posts
    335
    You can delete the target in grid control, edit the agent targets.xml (take a backup first) and then bounce the agent and rediscover it in grid. Please note this may not work, the agent has a habit of rewriting parts of the targets.xml when you bounce it. Also, when you discover the target again in grid manually, i believe you can call it what you like. Try it out on a test server first.

    I suspect a similar set of steps for database control, but I don't use it so couldn't be sure.

    Bazza

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width