Changing unix hostname + oracle10g

Before I change the hostname on my Solaris machine (which I believe I can do it without the need of rebooting the machine), can you guys confirm that the only two files i need to change on Oracle's side are tnsnames.ora and listener.ora?
Also, will I need to restart the database in such case?

only two files i need to change on Oracle's side are tnsnames.ora and listener.ora?Yes.
Also, will I need to restart the database in such case?No, just reload the listenera or restart the listener.
SJH
OCP DBA

Similar Messages

  • How to change the hostname was set/defined in SAP system?

    Dear Expert,
    My customer met a problem about that:
    he defined his host name with small characters(lower case) "abc" when he installed the SAP system (Windows2003(x64)-Solman70SR4).
    But in SM21, the title of sm21, the hostname was recognize as upper case "ABC".
    in SM51, the hostname was also recognized as upper case "ABC"
    in STMS, the tab of 'transport tool', it is recognized as lower case "abc" in TRANSDIR.
    in SM59, it is recognized as upper case "ABC" in internal connections, but recognized as lower case "abc" in ABAP connections, such as TMSADM@<DB>.DOMAIN.<sid>
    While in Java URL, it is recognized as lower case "abc". With my test, the Java URL is not case sensitive for the HOSTNAME part in HTTP link as I tested to change the hostname both in upper case and lower case in etc\hostname file, the URL both are working. (not sure if this is due to the test is with intranet or not).
    Based on SAP note 611361, it seems that:
    "Hostnames must be considered "case sensitive". That means
    hostnames shall be used in the same case (upper or lower) in all
    SAP configurations as well as in the network configuration (DNS
    or etc/hosts). You must ensure consistent name resolving of the
    hostname from hostname to IP address and back from the IP address
    to the the same hostname (case sensitive match). See also note
    129997."
    Please help to suggest.
    Many thanks in advance,
    Perry Song

    Section  4.13 "Checking the Consistency of the Host Name" in [This Upgrade Guide|https://websmp208.sap-ag.de/~sapidb/011000358700000353422008E]  has a good explaination of what & how to check your hostname / parameter configuration.
    on a windows box, another way to get the TCP/IP name is to type  'hostname' from a CMD window.

  • [HELP]i Cannot start emct after i change my hostname in linux ...

    hi..
    I clone my Oracle Enterprise Linux 5 in VMware,and then i change the hostname. that clone already installed Oracle database 10g release 2 enterprise edition. i can create a database, however i cant start emctl it said
    +[oracle@ocp10g_mirror bin]$ ./emctl start dbconsole+
    TZ set to Asia/Jakarta
    OC4J Configuration issue. /u01/app/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_ocp10g_mirror.drcjah.com_ocp10g_mirror not found.
    thx...

    Hi,
    Edite the /etc/hosts and give the new hostname there and also give the new hostname in
    [root@teng ~]# more /etc/sysconfig/network
    NETWORKING=yes
    HOSTNAME=teng.domain.com
    check the ping to hostname and hostname.domain.co is pinging.
    Regards
    Kaunain

  • If changing the hostname of the Audit Vault Server version 12.1.2 please wait until the system reboots automatically.

    Hi everyone
    when changing the hostname of an AV Server in the newly released version 12.1.2, it can take up to 10 minutes from the time a user click ok on the pop-up message "Are you sure you want to reboot the Audit Vault Server for the changes to take affect" to the system actually shutting down for the reboot. The machine must not be manually rebooted as this will cause errors.
    Some background information was provided by one of Oracle's developers for this product:
    AVDF 12.1.2.0.0 uses Oracle Grid in Restart Configuration. This is needed to leverage the ASM infrastructure to create diskgroups etc. So, when a hostname of a system is changed, the entire Grid stack needs to be re-configured to work under the new hostname. This re-configuration is needed because Grid creates a lot of directories with the hostname in them and when the hostname is changed, it tries to look for critical configuration files under this new "hostname" and of course, they would not be present. Hence, when we change the hostname, an entire re-configuration of the Clusterware is attempted, at which point a new set of directories with the new hostname will be created by the Grid software.
    This reconfiguration operation may take a few minutes to several minutes depending on the hardware/resource specs. This is because re-configuration of the Clusterware stack is a heavy-weight operation and takes time (It needs to shutdown all the CRS services and re-configure them and bring them back up). Hence, the long duration it takes before re-boot. You *MUST NOT* reboot it manually before the system automatically reboots -- otherwise the re-configuration operation will only be half-done. The chances of this re-configuration operation failing is very, very minimal (based on our tests). So, given enough time it _WILL_ complete eventually and the system _WILL_ automatically reboot. You just need to wait for it to happen.
    Hope this will avoid any issues,
    greetings,
    Harm ten Napel

    I may add it was my personal impatience that lead to this discovery: I was re-imaging my virtualbox install with the new 12.1.2 version (for testing purposes) and I want my AV server to be called 'auditvault', when it appeared nothing was happening (but there was) I rebooted the system manually with said results...

  • Changing Applications hostname: Please ensure that Classpath is set properl

    Hi,
    I am trying to change the applications hostname on R12.
    I am following the note "How to change the hostname of an Applications Tier using AutoConfig [ID 341322.1].
    I have already did the step 1: Deregister the current Applications server using adgentns.pl
    But, when I try to execute step 2: Update the Autoconfig Context file using adclonectx.pl, I am getting the following error:
    Copyright (c) 2002 Oracle Corporation
    Redwood Shores, California, USA
    Oracle Applications Rapid Clone
    Version 12.0.0
    adclonectx Version 120.23.12010000.1
    *Please ensure that Classpath is set properly*
    The value of CLASSPATH is the following:
    $ echo $CLASSPATH
    /ebs12/apps/tech_st/10.1.3/appsutil/jdk/lib/dt.jar:
    /ebs12/apps/tech_st/10.1.3/appsutil/jdk/lib/tools.jar:
    /ebs12/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/rt.jar:
    /ebs12/apps/apps_st/comn/java/lib/appsborg.zip:
    /ebs12/apps/tech_st/10.1.2/forms/java:
    /ebs12/apps/tech_st/10.1.2/forms/java/frmall.jar:
    /ebs12/apps/tech_st/10.1.2/jlib/ewt3.jar:
    /ebs12/apps/tech_st/10.1.2/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/WEB-INF/lib/frmsrv.jar:
    /ebs12/apps/apps_st/comn/java/classes
    I opened the file adclonectx.pl and i can see that the message *Please ensure that Classpath is set properly* is displayed from only one place:
    sub setJlibPath {
    setADJavaPath();
    setJDBCPath();
    setXMLParserPath();
    $CLASSPATH = $JDBCCLASSES . $cpDel . $XMLPARSERV2 . $cpDel . $ADCONFIG;
    # print "\nCLASSPATH = $CLASSPATH\n";
    if ( $ADCONFIG eq "" or $XMLPARSERV2 eq ""
    or $JDBCCLASSES eq "") {
    print "Please ensure that Classpath is set properly\n";
    die "\n";
    The error message displayed is related to the well formed variable classpath mentioned in the above procedure.
    It is formed by the concatenated values of variables JDBCCLASSES, XMLPARSERV2 and ADCONFIG. Those variables are set in the following piece of code:
    # setADJavaPath
    sub setADJavaPath {
    #try to get adconfig under stage area
    if ($ADCONFIG eq "") {
    $ADCONFIG = (-e "$CMDDIR/../jlib/java") ? "$CMDDIR/../jlib/java" : "";
    #try to get adconfig under JAVA_TOP if it is set
    if ($ADCONFIG eq "") {
    $ADCONFIG = (-e "$ENV{JAVA_TOP}/oracle/apps/ad") ? "$ENV{JAVA_TOP}" : "";
    if ($ADCONFIG eq "") {
    # This could be a case of platform migration where we dont have the classes anywhere except in $AD_TOP/java/jar/adxlib.jar
    $ADCONFIG =
    (-e "$CMDDIR/../java/jar/adxlib.jar")
    ? "$CMDDIR/../java/jar/adxlib.jar"
    # setJDBCPath
    sub setJDBCPath {
    #try to get ojdbc14.jar under stage area
    #Bugfix 6773412
    #for 11g database ojdbc5.jar should be considered
    if ($JDBCCLASSES eq "") {
    $JDBCCLASSES =
    (-e "$CMDDIR/../jlib/ojdbc5.jar")
    ? "$CMDDIR/../jlib/ojdbc5.jar" : "";
    if ($JDBCCLASSES eq "") {
    $JDBCCLASSES =
    (-e "$CMDDIR/../jlib/ojdbc14.jar")
    ? "$CMDDIR/../jlib/ojdbc14.jar" : "";
    if ($JDBCCLASSES eq "") {
    $JDBCCLASSES =
    (-e "$CMDDIR/../jlib/jdbc14.jar")
    ? "$CMDDIR/../jlib/jdbc14.jar" : "";
    if ($JDBCCLASSES eq "") {
    $JDBCCLASSES =
    (-e "$CMDDIR/../jlib/jdbc14.zip")
    ? "$CMDDIR/../jlib/jdbc14.zip" : "";
    #try to get jdbc under JAVA_TOP if it is set
    if ($JDBCCLASSES eq "") {
    $JDBCCLASSES =
    (-e "$ENV{s_af_jlib}/jdbc14.zip")
    ? "$ENV{s_af_jlib}/jdbc14.zip"
    # setXMLParserPath
    sub setXMLParserPath {
    #try to get xmlparserv2 under stage area
    if ($XMLPARSERV2 eq "") {
    $XMLPARSERV2 =
    (-e "$CMDDIR/../jlib/xmlparserv2-904.zip")
    ? "$CMDDIR/../jlib/xmlparserv2-904.zip" : "";
    if ($XMLPARSERV2 eq "") {
    $XMLPARSERV2 =
    (-e "$CMDDIR/../jlib/xmlparserv2.zip")
    ? "$CMDDIR/../jlib/xmlparserv2.zip" : "";
    if ($XMLPARSERV2 eq "") {
    $XMLPARSERV2 =
    (-e "$CMDDIR/../jlib/xmlparserv2.jar")
    ? "$CMDDIR/../jlib/xmlparserv2.jar" : "";
    #try to get xmlparser under JAVA_TOP if it is set
    if ($XMLPARSERV2 eq "") {
    $XMLPARSERV2 =
    (-e "$ENV{s_af_jlib}/xmlparserv2-904.zip")
    ? "$ENV{s_af_jlib}/xmlparserv2-904.zip"
    The issue is that the 3 procedures mentioned above can't find the files thaey are looking for, and finally the 3 variables are set in null.
    I found those files in other locations:
    XMLPARSERV2=/ebs12/apps/tech_st/10.1.3/lib/xmlparserv2.jar
    JDBCCLASSES=/ebs12/apps/tech_st/10.1.3/jdbc/lib/ojdbc14.jar
    ADCONFIG=/ebs12/apps/apps_st/appl/ad/12.0.0/java/jar/adxlib.jar
    I run export for them:
    export XMLPARSERV2=/ebs12/apps/tech_st/10.1.3/lib/xmlparserv2.jar
    export JDBCCLASSES=/ebs12/apps/tech_st/10.1.3/jdbc/lib/ojdbc14.jar
    export ADCONFIG=/ebs12/apps/apps_st/appl/ad/12.0.0/java/jar/adxlib.jar
    and finally I execute again the step 2 of the procedure to change the hostname ... but the error is the same:
    adclonectx Version 120.23.12010000.1
    *Please ensure that Classpath is set properly*
    Do you know how to solve this error ?
    Thanks in advance
    Regards,
    Sergio Maestri
    Edited by: Sergio Maestri on 06-dic-2011 7:13

    >
    What echo $CLASSPATH return?$ echo $CLASSPATH
    /ebs12/apps/tech_st/10.1.3/appsutil/jdk/lib/dt.jar:
    /ebs12/apps/tech_st/10.1.3/appsutil/jdk/lib/tools.jar:
    /ebs12/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/rt.jar:
    /ebs12/apps/apps_st/comn/java/lib/appsborg.zip:
    /ebs12/apps/tech_st/10.1.2/forms/java:
    /ebs12/apps/tech_st/10.1.2/forms/java/frmall.jar:
    /ebs12/apps/tech_st/10.1.2/jlib/ewt3.jar:
    /ebs12/apps/tech_st/10.1.2/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/WEB-INF/lib/frmsrv.jar:
    /ebs12/apps/apps_st/comn/java/classes
    But, the message displayed is related to the procedure "setJlibPath" contained inside the file "adclonectx.pl"
    sub setJlibPath {
    setADJavaPath();
    setJDBCPath();
    setXMLParserPath();
    $CLASSPATH = $JDBCCLASSES . $cpDel . $XMLPARSERV2 . $cpDel . $ADCONFIG;
    # print "\nCLASSPATH = $CLASSPATH\n";
    if ( $ADCONFIG eq "" or $XMLPARSERV2 eq ""
    or $JDBCCLASSES eq "") {
    print "Please ensure that Classpath is set properly\n";
    die "\n";
    else {
    The above procedure is called always you execute adclonectx.pl, and the reference CLASSPATH in the message error is about the variable CLASSPATH that the mentioned procedure try to set a value. It's not related to the ambient variable CLASSPATH... at least is what I understand ..
    I think this is a bug, because the files needed to find in order to set the values of DBCCLASSES, XMLPARSERV2 and ADCONFIG variables are located in other places.
    >
    Also see:
    https://kr.forums.oracle.com/forums/thread.jspa?threadID=2271869
    I saw it, but it's related to database hostname and it doesn't content any solution to the issue ...

  • Rename (Change of Hostname) of Cisco ISE Appliances !!!

    Hi,
    I am having the two Cisco ISE (Version: 1.1.1.268) appliances. These appliances are running in Failover with the internal CA signed certificates.
    The hostnames are 19 character long with Upper cases and Hypen. Boxes are joined to the domain but freqently used to disconnect after sometime. After some investigation, we came to know that AD can accept only the 15 characters long hostname... thats the reason, one of the appliance keeps disconnected. Also, sometimes, the authentications donesn't works properly.
    My question is that how to change the Cisco ISE Appliance hostnames without impacting the production and hassle?
    Send me the steps in detail, or it is just a matter to change the hostname and register with DNS with new names and regenerated the certificates...???
    Need expert opinion....
    Thanks,
    Regards,
    Mubasher

    Hello Mubasher-
    I recently had to do this and I want to warn you to be careful. I had to rename 4 hosts and out of 4 of them only 1 remained useable. The other hosts had to be re-built For some reason ISE nodes get very unhappy when trying to change certain things (Hostnames, timezone, etc) Also, keep in mind that even if the renaming goes well you will still impact the environment as the nodes will restart.
    Here is what I did when I made the change:
    1. Disjoin the ISE nodes from the domain
    2. Ensure that their computer name is removed from AD
    3. Update DNS records
    4. Ensure that DNS records have replicated
    5. Change names on ISE
    6. Join nodes to the domain
    Hope this helps
    Thanks for rating!

  • Changing ISE hostname with application reset-config ise - license question

    Hello,I need to change the hostname of our ISE install.  TAC stated I need to use the command of application reset-config ise to do so.  I was wondering if my old license files can be reused or do I need to get new ones from Cisco.  I have a case open, but this work is being done this evening so I need an answer as soon as possible. Also, if any of you have any tips or tricks to get me through this process, I would love hearing them.Thank you!

    Thank you for the quick reply. I would just like to clarify that I can use the license files that were sent to me when we initially purchased the product.  I have to do the work tonight and don't want to hose my installation if I need to get new license files from Cisco.

  • After change the hostname oracle is not available

    i changed the hostname of the server.after restarting the server.i try to login as sysdba but i recived the message oracle not available.It is an oracle 8i database.I anybody aware of this problem.please replay as early as possible
    Regards
    Senthil

    Try to start the related oracle service and feedback the output.
    When changing the hostname database itself shouldn't be affected by this change, but connectivity files are, so verify the listener status and make sure you have changed hostname references too at the listener.ora file.
    ~ Madrid
    http://hrivera99.blogspot.com/

  • Want to change the hostname of cisco WCS on Windows

    Hi
    We have cisco WCS and by default hostname is nonwmonitor .
    Now we need to generate the certificate that will match with Hostname and so want to change the hostname.
    Please help me for providing the process to change the histname for windows 2003

    One thing to remember is the WCS license is tied to the sever name. So if you change the name if the server, you will have to rehost the WCS license.
    Sent from Cisco Technical Support iPhone App

  • How do I change the hostname used when Mac Mail sends EHLO

    Hi All,
    I work for a tech support group and one of our clients is experiencing some trouble sending emails. When they connect to their outbound mail server Mac Mail sends the EHLO command with a hostname like 01:23:45:67:89:ab.home
    Another Mac on the network sends a hostname like 00:A0:C9:14:C8:29.home2
    So they appear to be the a Mac address for the computers NIC followed by a generic location in this case .home, not sure if thats a generic Mac thing or something they chose to configure but because the hostname is not an ip address and contains ".(dot)home" the outbound mail server our client uses believes it to be a domain so then rejects it as an invalid domain when a lookup on it fails.
    I've changed the hostname of one of the Macs using the command "cutil –-set HostName new_hostname"
    This has changed the hostname when checking it by the hostname command in a Terminal but Mac Mail still persists in using the old hostname. We've tried rebooting the machine and rebooting the machine with the left shift key held down as I believe this does some kind of rebuild of configuration files, but still the old hostname is send when Mac Mail sends EHLO.
    How can I force Mac Mail to pick up the new hostname or is there something else I need to do to change it?
    thanks for any assistance you can provide,
    Martin

    Replying to myself:
    You can sign out from the account in iBooks and then sign in to another one.
    From the menu bar, choose:  Store->Sign Out
    Then sign in again with the desired ID: Store->Sign In

  • [Solved] How does one go about changing the hostname in arch nowadays?

    Everything I've seen on the subject references /etc/rc.conf, which I believe is no longer used.
    I've updated /etc/hostname, but when hostname -f does not return the expected.
    Last edited by mreiland (2013-07-14 21:09:07)

    mreiland wrote:How does one go about changing the hostname in arch nowadays?
    Please see "man archlinux".
    Also, I can never remember if hostname is one of those things you need to reboot for...
    Last edited by drcouzelis (2013-07-13 16:24:10)

  • How can I change the hostname after Oracle Database XE is installed?

    I currently have XE installed and working on my ubuntu machine.
    When I change the hostname of my machine, oracle database no longer connects and says "ORA-12505, TNS:listener does not currently know of SID given in connect descriptor".
    Can anyone tell me how I can change the hostname of my machine and keep oracle database working correctly?
    Thanks

    Stopping, reconfig, starting the instance is one way, although that is somewhat like using petrol to kill ants.
    The database instance pretty much does not care about the hostname setting. But the listener does- the installer finds the hostname and uses that in the setup bits.
    As posted somewhere here, when using the 1521 default listener port, the listener.ora config file can just be moved out of the way. Another potential fix is setting the HOST=0.0.0.0 for the IPv4 "any IP" address setting, or setting it to the correct hostname. Or HOST= can be set to IPv4 address. For IPv6, have to use HOST=<hostname> and it must resolve, can't HOST=... an IPv6 address.
    To move the listener file, stop the listener first. To change a HOST=... setting, also stop the listener first.
      lsnrctl stop
      mv $ORACLE_HOME/network/admin/listener.ora $ORACLE_HOME/network/admin/listener.bk0
      # or
      vi $ORACLE_HOME/network/admin/listener.ora
      # change HOST=<whatever> to the correct value, or 0.0.0.0
      lsnrctl start
      sqlplus /nolog
      conn system
      ... password ... Connected.
      alter system register;
      exit
      # start the lsnr
      lsnrctl start
      # check the status, services
      lsnrctl stat
      lsnrctl serv
    If the host has a wireless (or another NIC) that one does not want to offer up remote connections on, the 0.0.0.0 is not a good way to go either
    Message was edited by: clcarter
    typos

  • Change the hostname on 7920 phone

    I would like to change the hostname on my 7920 wireless phones, because the default name consisist of SEP00mac-address. (see network settings ->current config).
    Any input is very welcome
    Oliver

    Not changeable like all other Cisco IP phones.

  • Change SMP hostname

    Hello,
    I'm tring to install SMP on azure VM, and it it getting its internal hostname .
    for example, if my VM has a public name abc.cloudapp.net, it has an internal hostname used inside azure network abc.b1.internal.cloudapp.net
    it is working fine and i can access it externally using its public hostname, but when i'm trying to configure internal endpoint from integration gateway SMP try to match endpoint url which has host name abc.cloudapp.net to SMP hostname abc.b1.internal.cloudapp.net and throw error that they are not the same hostname.
    so, how can i change SMP server configuration to change its hostname ?
    I even tried to install it again but i couldn't find anything about hostname except the notification config.
    Thanks,
    Hossam

    I have resolved the problem by adding this two line to hosts file :
      127.0.0.1       ABC.b2.internal.cloudapp.net
      ::1             ABC.b2.internal.cloudapp.net
    so the internal name now is defined as localhost
    so when I added the integration gateway endpoint using internal host name it pings successfully.
    you can find hosts file on windows on this path :
    C:\Windows\System32\drivers\etc\hosts
    Jitendra Kansal I didn't try to change the hostname and certificate, but I saved your script as I think I may need it later.
    Thanks
    Hossam

  • Change Domain / Hostname

    Hi,
    We have 4 node instance with Load Balancer,
    Db- 1 Node
    CM- 1 Node
    FW -1 Node
    FW - 1 Node
    Both the Web / Form node are connected by Load Balancer.
    We required to change the domain name on DB, CM & Domain and host name on both the Web / Form nodes.
    Pls advise to do the successful change for the above scenario?.
    What is the implecation if I use clone (reclone on the same node).

    Hi,
    Pls advise to do the successful change for the above scenario?. Follow the steps in these documents (it is applicable for 11i and R12).
    Note: 338003.1 - How to change the hostname and/or port of the Database Tier using AutoConfig
    Note: 341322.1 - How to change the hostname of an Applications Tier using AutoConfig
    What is the implecation if I use clone (reclone on the same node).This should also work.
    Thanks,
    Hussein

Maybe you are looking for

  • HTTPS Connection from a JSP

    Hi, My project is on IBM websphere and the requirement is as follows. I am new to Java and have no prior experience wrking in jave. The requirement is as follows, I need to establish a secure connection to a switch thru an url from jsp. In return, i

  • Hide status bar from start

    I'm having trouble getting the status bar to completely disappear. I have application.statusBarHidden = YES; as the first line of - (void)applicationDidFinishLaunching:(UIApplication *)application But, when I launch in the simulator (haven't tried a

  • Purchase orders item texts incorrect display

    Hi everyone, i am having a bit of a hard time solving an incorrect display of purchase orders item texts. For an unknown reason, i can't manage to modify the item's text of a purchase order, it's as it has been set on "display". I checked AKTH, ME21,

  • Firefox keeps disappearing as soon as l try to open a program

    l was told to update java so l did my java was downloaded correctly , but when l opened firefox and then open my fav tab pogo .. l tried to play a game but as soon as l tried firefox closed down ... what is the problem and how can l fix this

  • Write-caching policy not restored after reboot.

    The problem I've been experiencing is very similar to this old one from server 2000: http://support.microsoft.com/kb/290757 After a system restart, the write-caching policy is not being saved on the server and the settings are not persistent. The sys