How to change the SID Oracle Database10g:Express Edition

I will like to know the process to change the SID in the database Oracle 10: Express Edition. Thanks in advance

if you have changed your SID to XE2 for example than change your tnsnames.ora accordingly :
(change service_name towards your new SID)
XE2 =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = XE2)
  )Edited by: Martijnke on Feb 7, 2009 12:30 PM

Similar Messages

  • Oracle Database10g Express Edition's compatibility with Forms/Reports 10g

    hi,
    I have a problem while connecting from Oracle Forms/Reports 10g to Oracle Database10g Express Edition.I have configured through the net configuration assistant and it shows the test is also successful. But while connecting from Oracle Forms/Reports 10g, an error is being displayed saying that the TNS could not resolve service name(ORA - 012154). I am able to connect to my database server normally. I got a doubt now regarding Oracle Database10g Express Edition's compatibility with Oracle Developer Suite 10g. Can I use Oracle Database10g Express Edition as backend for Forms/Reports 10g in a stand alone machine.
    Can anyone please give me a solution regarding my issue.
    Thanks in advance.
    RAKESH

    12154 means that the TNSNAMES.ora that reports is using does not understand what the '@XE' means.
    Check that you do not have several different TNSNAMES.ora files - there are probably several, and the one you are using probably does not point to XE. This is the most common cause I've seen.

  • How to connect Java to oracle Database Express Edition?

    Anyone can help me?
    How to connect JAVA TO ORACLE DATABASE EXPRESS EDITION?

    I suggest you to read this article:
    http://wiki.oracle.com/page/JDBC
    Regards,
    Ricky

  • How to change the SID name in the server

    hi all,
    i installed oracle 10g R1 on windows 2003 server. i gave an sid and created a database. the database is new and there is no data in the db. now i want to change the SID name of the database. pls help me in doing this.
    regards,
    nagarjuna

    Hi,
    Just a notice: SID and DBNAME are two different things. But the usual practice is to have SID = DBNAME, so let me assume you want to change both SID and DBNAME.
    Either you can do it manually by recreating the controlfile as orawiss suggests. You may discover some challenges around the way (for instance, for the command CREATE CONTROLFILE SET "new_dbname" to work, you have do delete or rename the old controlfiles first).
    Or, you can change it easier by using nid utility. The detailed howto and all implications can be found on:
    http://download.oracle.com/docs/cd/B14117_01/server.101/b10825/dbnewid.htm
    Basically:
    SQL> create pfile from spfile;
    SQL> shutdown immediate;
    nid TARGET=sys/password@oldname DBNAME=newname
    copy the initoldname.ora to initnewname.ora and edit the DB_NAME parameter to reflect the new name
    sqlplus / as sysdba
    SQL> create spfile from pfile;
    SQL>startup mount;
    SQL> alter database open resetlogs;
    Then don't forget to generate new password file for the new dbname (using orapw) and make changes in tnsnames.ora and listener.ora if needed.
    Just make sure, the database has been properly shut down before changing the db_name either manualy by recreating controlfile or by the newid utility, as the renamed database has to be opened with resetlogs - making any crash recover of improperly shut down database impossible.
    Kind regards,
    Martin

  • How to change the SID for an existing system

    Hi All,
    I need to change the SID of the development and quality system without making a system copy.
    The requirement is on strict timeline basis so I need to find out an alternate way to do it. A system copy will need a lot more time to do the same which is the last option at this time.
    Please suggest.
    Relevant answers will be rewarded accordingly.
    Regards,
    Himansu Roy

    Do not cross post same questino across different forums.
    Changing the SID for existing SAP systems
    Markus

  • How to change the SID during system copy

    This blog /people/johannes.heinrich/blog/2006/07/07/new-features-in-db2-udb-v9--part-3 (i.e.  the "new feature of V9" in this group) only
    talk about the system copy without changing the SID.
    In reality, we often want to change the SID during the system copy. Can we modify the script mentioned in above blog
    to make SID change possible?
    Thanks!

    Hi Christy,
    if you´re using export/import which is prefered you can change the sid during the parameter setting for export and import. You´ll be asked by the old sid and the new sid. For the tablespace names it is not so important because db2 is using tablespace id not the name for the internal administration.
    Regards
    Olaf

  • How to change the sid in "sqlplusw"

    hi,
    I have two database in my windows machine. "sid1" and "sid2". whenever i log in using "sqlplusw" it takes me to "sid2" but i want to access "sid1" using sqlplusw as default.
    as of now i am using "sys@sid1 as sysdba". is there any way like we used to do in command prompt like setting the sid.
    Thank you
    --Raman.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    In your OS set environment variable ORACLE_SID to your default db.
    On win right click my computer > properties option > Advanced tab > Environemtn Variables button.
    On Unix add "export ORACLE_SID=xxx" in .profile or .bash_profile

  • How to install and configure Oracle 10g Express Edition on Fedora 11?

    Hi everyone!
    I have recently installed Oracle 10g XE on my Laptop Gateway T-1625, which has Fedora 11.
    I followed the install instructions on [http://st-curriculum.oracle.com/tutorial/DBXETutorial/index.htm] , and configured the server as explained, but something is wrong... When I try to go to the database home page http://127.0.0.1:8080/apex, I get "Failed to Connect" on Firefox 3.5b4... I don't think it's because of the Firefox version because it's proved to be very stable (for a beta).
    I've search for similar issues on GNU/Linux and I found this thread in these forums: [ http://forums.oracle.com/forums/thread.jspa?threadID=915218&tstart=0] , but the solution is for Ubuntu 9.04, and if it's possible I would like to know a specific solution for Fedora 11.
    I also tried to see the oracle server status with:
    # /etc/init.d/oracle-xe status
    And I got this....
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 25-JUN-2009 22:10:31
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    Linux Error: 2: No such file or directory
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=talos)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    I hope someone can help me out and guide me on the right direction. Thanks a lot!

    Hi again!
    After your last post I realized that the dba group and the oracle user already existed.
    #groupadd dba
    groupadd: group dba exists
    #useradd oracle -d /home/oracle -s /bin/bash -g dba
    useradd: user oracle existsHowever, I finally assigned a password for that account and changed the ownership of the /usr/lib/oracle/xe
    with the commands you suggested:
    passwd oracle
    chown -R oracle:dba /usr/lib/oracle/xeAfter this, I can log in as the oracle user but the SELinux showed a warning and the /usr/lib/oracle/xe
    is treated as the oracle home, and no .bashrc file is located on this home. This is the SELinux warning:
    SELinux is preventing gdm-session-wor (xdm_t) "write" to /usr/lib/oracle/xe (lib_t).
    Details:
    SELinux denied access requested by gdm-session-wor. /usr/lib/oracle/xe may
    be a mislabeled. /usr/lib/oracle/xe default SELinux type is user_home_dir_t, but its
    current type is lib_t. Changing this file back to the default type, may fix your problem.
    File contexts can be assigned to a file in the following ways.
      * Files created in a directory receive the file context of the parent
        directory by default.
      * The SELinux policy might override the default label inherited from the parent directory
    by specifying a process running in context A which creates a file in a directory
    labeled B will instead create the file with label C.
        An example of this would be the dhcp client running with the dhclient_t type and
    creates a file in the directory /etc. This file would normally receive the etc_t type due
    to parental inheritance but instead the file is labeled with the net_conf_t type
    because the SELinux policy specifies this.
      * Users can change the file context on a file using tools such as chcon, or restorecon.
    This file could have been mislabeled either by user error, or if an normally confined
    application was run under the wrong domain.
    However, this might also indicate a bug in SELinux because the file should not have
    been labeled with this type.
    If you believe this is a bug, please file a bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi)
    against this package.
    Allowing Acces:
    You can restore the default system context to this file by executing the restorecon command.
    restorecon '/usr/lib/oracle/xe', if this file is a directory, you can recursively restore using
    restorecon -R '/usr/lib/oracle/xe'.
    Fix command:
    restorecon '/usr/lib/oracle/xe'I suppose the command #useradd oracle -d /home/oracle -s /bin/bash -g dba is where I can define the user's home, but if this user already exists how can I modify its settings?
    is SELinux preventing the .bashrc file to be created? or what could be causing this?.
    I hope you know how much I appreciate your help and want to thank you for your time.

  • How can i remove manually oracle 10g express edition from vista

    hello
    i use windows vista
    how can i remove manually oracle 10 g express edition
    please help

    1. Uninstall all Oracle components using the Oracle Universal Installer (OUI).
    2. Delete the HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE key which contains registry entries for all Oracle products by using regedit.
    3. Delete any references to Oracle services/components in the following registry location: HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/. Looks for key entries that starts with “Ora” which are obviously related to Oracle.
    4. Reboot the workstation.
    5. Delete the ORACLE_BASE directory. (i.e C:\Oracle)
    6. Delete the C:\Program Files\Oracle directory.
    7. Empty the temp directory.
    8. Empty the recycle bin.
    have you done this?

  • How to change the side of the y axis in numbers ?

    I am trying to make a negative only chart (all the x values are negative), thus the y axis has to be on the right, yet it is displayed on the left ! I really need some help please. Thank you !

    Hi Rupert,
    Here's an alternate method.
    Ian's suggestionis the only one I know using a scatter chart, but Numbers also offers a '2-axis' Category chart. It's the last one on the menu in the Charts button, requires two series of Y values, and defauts to a line chart for the first series and a column chart (vertical bar chart) for the second Y series.
    The two (Y) axes may have different scales, and may be formatted separately. Here's an example. Instructions below.
    The data columns are column B (X values) and column D (Y values).
    Because this is a Category chart, the X values must be listed in a header row, where they will be recognized as 'category labels' . As 'categories', they will be evenly spaced along the x axis, and wil be ordered left to right in the order they appear (top to bottom) in column A of the table.
    2-Axis charts require a table with two columns of Y data. To provide the second 'data' set, I've added column C, and filled it with zeroes.
    To create the chart, select columns C and D, then click the Charts button and select the Two-Axis chart.
    With ther chart selected, open the Chart Inspector.
    Choose Axis.
    Uncheck "Show Values" using the pop-up menu for Value Axis (Y1)
    Check "Show Axis" using the pop-up menu for Value Axis (Y2)
    Set min and max values and steps to values that will give you integer labels for the Y value grid lines.
    Choose Series.
    Click on the colour block (on the table) for the dummy series (Y1).
    Set Data Symbol to 'none'. Use the Line thickness control in the format bar to set the line thickness to 0.25 pt and the colour to black.
    Click on the colour block for the 'real' series. Set the data symbol and size, and the line thickness as desired.
    Regards,
    Barry

  • Oracle 10g Express edition on Open Suse 10.2 mahine Insatllation vows !

    The Installation Oracle 10g Express edition on Open Suse 10.2 mahine,
    requried the installation of libaio... i installed the package by smart ....
    after that installation was fine...
    but when i try to login :
    following exception occurs :
    oracleXE: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
    I reinstalled oracle and libaio but result was same .. ..
    "rpm -q libaio" prints "libaio-0.3.104-32"
    I tried to install Oracle libaio package .. i downlaoded it from Oracle web site...
    but it gave following exception :
    checking for libaio >= 0.3... no
    checking for libaio 0.1... no
    configure: error:
    *** libaio is required.
    smart info libaio output :
    Name: libaio
    Version: 0.3.104-32@i586
    Priority: 0
    Group: System/Libraries
    Installed Size: 31.3kB
    Reference URLs:
    Flags: new
    Channels: SUSE 10.2 Repository
    Summary: Linux-Native Asynchronous I/O Access Library
    Description:
    The Linux-native asynchronous I/O facility ("async I/O", or
    "aio") has a
    richer API and capability set than the simple POSIX async I/O facility.
    This library provides the Linux-native API for async I/O.
    The POSIX async I/O facility requires this library to provide
    kernel-accelerated async I/O capabilities, as do applications that
    require the Linux-native async I/O API.
    Name: libaio
    Version: 0.3.104-32@x86_64
    Priority: 0
    Group: System/Libraries
    Installed Size: 31.9kB
    Reference URLs:
    Flags: new
    Channels: RPM System; SUSE 10.2 Repository
    Summary: Linux-Native Asynchronous I/O Access Library
    Description:
    The Linux-native asynchronous I/O facility ("async I/O", or "aio") has
    a richer API and capability set than the simple POSIX async I/O
    facility. This library provides the Linux-native API for async I/O. The
    POSIX async I/O facility requires this library to provide
    kernel-accelerated async I/O capabilities, as do applications that
    require the Linux-native async I/O API.
    Please help...
    -jasdeep

    It probably isn't visible by your oracle environment, please verify the value of your LD_LIBRARY_PATH, PATH, and ORACLE_HOME environment variables.
    ~ Madrid.

  • Using Oracle Database Express Edition in development environment

    Hi All,
    I have doubt regarding the usage Oracle Database Express Edition in Development environment. I am not sure weather I can ask a non technical question here or not. Pleas forgive me if I have done any thing wrong.
    I am working in an IT company where we take up projects outsourced by our clients. As part of our current project we are making some modification to a web application used by an institution. Our client is using Oracle Data Base standard edition. Due to budgetary constraints of our Company we can not set up a Oracle standard edition data base in our development environment.
    So would it be illegal if we use  Oracle Database Express Edition in our development environment?  We can guarantee that  only our internal development team which comprise a maximum of 10 people will have access to this development database and this development data base will never be opened to our Client for their business purpose(Who have their own Oracle standard edition in their environment). As part of the project we delver only table DDL script and stored procedure to our client and they put it in their environment.The sole purpose of a internal Express database will be development only.
    Could some one please tell me if it would be violation of license agreement if we install Oracle Database Express Edition in our development environment.

    Hi Paul,
    Actually I have already gone through the Oracle Technology Network Developer License Terms for Oracle Database 11g Express Edition . But was not quiet clear about the content. It says in the license terms that "We grant you a nonexclusive, nontransferable limited license to use the programs for: (a) purposes of developing, prototyping and running your applications for your own internal data processing operations". Does the term "your application" includes an application we are developing for another company. Since the Express database  is installed in the development environment only and is not opened to any one else not even for Our client it definitely falls under the term "internal data processing operations" right?

  • Downloading Oracle Database Express Edition

    Hi everyone. I just downloaded the freeware Oracle Database Express Edition without any apparent problems. However, when I attempt to go to the Express Edition Homepage, which is location http://127.0.0.1:8080/apex,
    I get the message that my Internet Explorer cannot display the webpage. (It can, however, display other pages.) I cannot understand why this is the case since I successfully added Web site 127.0.0.1 in my Control Panel (as specified in the instructions.) Also, the instructions stated that HTTP port 8080 was the default port, unless my system said that this was not available (which it did not.) I also tried rebooting, which did not make a difference. Help!
    Thanks,
    Jason

    Hi,
    Use this forum to report problems with or suggestions for the download.oracle.com service or content.
    Please post your question in the appropriate forum for a better/faster response.
    Database - General
    General Database Discussions
    Thanks,
    Hussein

  • Oracle Database Express Edition 10g Download Issue

    Hi everyone. I just downloaded the freeware Oracle Database Express Edition without any apparent problems. However, when I attempt to go to the Express Edition Homepage, which is location http://127.0.0.1:8080/apex,
    I get the message that my Internet Explorer cannot display the webpage. (It can, however, display other pages.) I cannot understand why this is the case since I successfully added Web site 127.0.0.1 in my Control Panel (as specified in the instructions.) Also, the instructions stated that HTTP port 8080 was the default port, unless my system said that this was not available (which it did not.) I also tried rebooting, which did not make a difference. Help!
    Thanks,
    Jason

    user13176791 wrote:
    Hi everyone. I just downloaded the freeware Oracle Database Express Edition without any apparent problems. However, when I attempt to go to the Express Edition Homepage, which is location http://127.0.0.1:8080/apex,
    I get the message that my Internet Explorer cannot display the webpage. (It can, however, display other pages.) I cannot understand why this is the case since I successfully added Web site 127.0.0.1 in my Control Panel (as specified in the instructions.) Also, the instructions stated that HTTP port 8080 was the default port, unless my system said that this was not available (which it did not.) I also tried rebooting, which did not make a difference. Help!There is a forum dedicated to Express Edition, in which we have discussed a lot of the variants in failure that causes this problem. At the top of the page you are reading, there should be links like "Forum Home » Database » Database - General". The middle one will get you to a list of all Oracle forums and after the first 5, the rest are alphabetical - XE is pretty far down that page.
    (You might also note that there is an Installation forum next to this one. That might be better suited to the task than the 'catch-all' general forum.)
    The most common issues are related to not preparing the operating system properly. For example, if you use a laptop you probably use DHCP to get a different address from the various sites you connect to. However, Oracle works as a server and depends on having a well known address. In fact, it tends to bind the IP address at install into it's configuration files. Therefore it is critical to use the loopback adapter in such situations.
    Other issues are dependent on the actual OS into which you install. For example, Ubuntu (Linux) has very differnet install philosophy as Red Hat / Fedora, and requires a different install technique. Then again, on Windows, it is nearly impossible to install anything Oracle on a Windows 'Home' OS, and XE generally has not even been tested against Windows 7.
    Other common reasons include anti-virus; firewall; not having appropriate operating system level permissions; in Windows - using a Domain-based userid instead of a local administrator; and just general finger issues.
    Express is considerably different in the install behaviour and runtime behaviour. For example. it uses RPM and MSI instead of Oracle Universal Installer. It does not include Java in the database, which limits a lot of functionality. And it uses the built-in PL/SQL Web Gateway instead of any external HTTP server. As a result, it can be quite a shock to mmany of the regular inhabitants in this forum.
    I strongly encourage reading the documentation for XE. In particular, reading the install doc. Start at http://tahiti.oracle.com and look for the Oracle Database 10g Release 2 Express Edition documentation. (Just below the Oracle Database 10g Release 2 documentation.)
    G'luk

  • Oracle Database 10g Express Edition How to change the prot 8080 ????

    Hello I have installed Oracle Database 10g Express Edition
    it listen to port 8080 how can I change it to prot i want ?
    Thanks

    Above post addressed you query. But i suggest Book Mark following doc,it will address most of the queries regarding XE Database
    Oracle Database Express Edition 2 Day DBA

Maybe you are looking for

  • Help i keep getting error 7 (windows error 14001) when opening itunes

    also it say itunes helper not installed correctly. I tried everything from uninstalling everything from itunes to reintalling any other suggestions?

  • Mount device via USB in single user mode

    Hi. Help much needed. My macbook pro appeared to be crashed with harddisk problem at start time... unable to boot to normal login screen. When I run in single user mode, I dont seem to see my thumbdrive, or external device. I connected them via the U

  • Specify Storage location in Movement type 311 - Migo

    Dear All we have 3 plants 1000 , 2000 , 3000 , every plant have many storage location as the following : plant 1000 ( A01 , A02 , A03 ) plant 20000 ( B01 , B02 , B03 ) plant 1000 ( C01 , C02 , C03 ) i have on user "XX" access only plant 1000 ( A01 ,

  • Export individual layouts in book module?

    I have created a book in LR and exported it as JPGS and modified a few pages in PS with some graphic embellishments. I now want to change a few layouts in LR and only export those few layouts, not the whole book. Is this possible?

  • Loosing changed contents when used FM REUSE_ALV_GRID_DISPLAY

    Hi, I have used FM REUSE_ALV_GRID_DISPLAY in my program as below.   CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'     EXPORTING       i_callback_program       = g_repid       i_callback_pf_status_set = c_pf       i_callback_user_command  = 'USER_COMMAND'