Cambiar ORACLE_SID en Oraclde 10G Express Edition

He instalado Oracle 10g Express Edition en linux, fedora core 4
¿como podria cambiar el nombre de la base de datos?. Por defecto el nombre de la Base de Datos y el SID es el mismo "XE"

Translation:
I've installed Oracle 10g Express Edition on linux, fedora core 4
How can I change the db name? The default db SID is XE.
No va ser facil porque esto requiere muchos cambios. Pero si le es tan necesario hacerlo, use la informacion de este sitio de Tom Kyte:
http://asktom.oracle.com/pls/ask/f?p=4950:8:13550517373929429008::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:318216852435
Creo que lo que Tom explica es cambiar el SID de Oracle 8i en linux. Asi que no se si habra diferencia con su XE.
Beuna suerte

Similar Messages

  • Oracle 11g client / oracle 10g express edition in one computer

    Hi All,
    I already have Oracle 11g Client installed in my computer. I wanted to Install Oracle 10g Express Edition in the same computer. So that I shall work with that even when I am not in the network. My Question is : Will installing both of 11g Client and 10g XE will cause conflict in my computer or is it ok to install both. Any suggestion/information is appreciated.
    Regards,
    RRR

    Hi,
    i have installed oracle oraclient11g_home1, want to know the changes in tnsnames.ora.
    below tnsnames.ora file got created after installation. I dont know
    CONNECT_DATA=
              (SID=<oracle_sid>)
              [ (GLOBAL_NAME=<global_database_name>) ]
    <alias>= [ (DESCRIPTION_LIST =  # Optional depending on whether u have
                        # one or more descriptions
                        # If there is just one description, unnecessary ]
         (DESCRIPTION=
         [ (SDU=2048) ]     # Optional, defaults to 2048
                        # Can take values between 512 and 32K
         [ (ADDRESS_LIST=    # Optional depending on whether u have
                        # one or more addresses
                        # If there is just one address, unnecessary ]
         (ADDRESS=
              [ (COMMUNITY=<community_name>) ]
              (PROTOCOL=tcp)
              (HOST=<hostname>)
              (PORT=<portnumber (1521 is a standard port used)>)
         [ (ADDRESS=
              (PROTOCOL=ipc)
              (KEY=<ipckey (PNPKEY is a standard key used)>)     
         [ (ADDRESS=
              [ (COMMUNITY=<community_name>) ]
              (PROTOCOL=decnet)
              (NODE=<nodename>)
              (OBJECT=<objectname>)
    ... # More addresses
         [ ) ] # Optional depending on whether ADDRESS_LIST is used or not
         [ (CONNECT_DATA=
              (SID=<oracle_sid>)
              [ (GLOBAL_NAME=<global_database_name>) ]
         [ (SOURCE_ROUTE=yes) ]
         (DESCRIPTION=
         [ (SDU=2048) ]     # Optional, defaults to 2048
                        # Can take values between 512 and 32K
         [ (ADDRESS_LIST= ]     # Optional depending on whether u have more
                        # than one address or not
                        # If there is just one address, unnecessary
         (ADDRESS
              [ (COMMUNITY=<community_name>) ]
              (PROTOCOL=tcp)
              (HOST=<>)
              (PORT=<1521>)
         [ (ADDRESS=
              (PROTOCOL=ipc)
              (KEY=<ipckey (PNPKEY is a standard key used)>)
         ...           # More addresses
         [ ) ]           # Optional depending on whether ADDRESS_LIST
                        # is being used
         [ (CONNECT_DATA=
              (SID=<oracle_sid>)
              [ (GLOBAL_NAME=<global_database_name>) ]
         [ (SOURCE_ROUTE=yes) ]
         [ (CONNECT_DATA=
         (SID=<oracle_sid>)
         [ (GLOBAL_NAME=<global_database_name>) ]
         ... # More descriptions
         [ ) ]     # Optional depending on whether DESCRIPTION_LIST is used or not

  • [Oracle Database 10g Express Edition] Don't UP

    Hi,
    I've installed the "Oracle Database 10g Express Edition" in my laptop, ThinkPad T60. The installation finish fine or I think that.
    In the event viewer I don't see any error.
    But I cant sing on in SQL/PLUS and I can't go to web config. All services are up.
    The erro when i conect by SQL PLUS are:
    SQL> connect system/PASSWORD as sysdba
    ERROR:
    ORA-12560: TNS:error del adaptador de protocolo
    SQL> connect system/PASSWORD@localhost as sysdba
    ERROR:
    ORA-12514: TNS:el listener no conoce actualmente el servicio solicitado en el
    descriptor de conexión
    I cant found the error becose It happens.
    I uninstall the database, erase the registry of Windows and Install again. But nothing success. I uninstall again, erase the registry, download again from www.oracle.com all continuous one equally.
    Thanks for all!

    SQL*Plus: Release 10.2.0.1.0 - Production on Vie Oct 20 14:47:04 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> connect / as sysdba
    Conectado a una instancia inactiva.
    SQL> connect sys/PASSWORD@localhost as sysdba
    ERROR:
    ORA-12514: TNS:el listener no conoce actualmente el servicio solicitado en el
    descriptor de conexi¾n
    Advertencia: íYa no estß conectado a ORACLE!
    SQL>
    The Services are UP.
    The name of enviourment varible is oracle_sid but the value is?
    In My PC --> Propierties ---> Advanced Option ---> Enviorurment variable
    System or User?
    Thanks an i waiting for your help

  • Unable to connect to the 10g Express edition database in oracle forms

    hi,
    i have installed Oracle Database 10g Express Edition and oracle 10g developer suite. i need to work on oracle forms by connecting to the database of the 10g express edition but unable to do so as i am not aware of the database name or SID.
    can any one tell me how to connect to the above database in oracle forms by specifying username, password and database name ?
    Thanks,
    Viddu

    specifying username, passwordSet up your database user, easy way is to grant them the resource role (*strongly* suggest not using sys nor system for user data) here's one command line sqlplus method:
    $ sqlplus /nolog
    SQL> connect system -- or connect /as sysdba; if system credential is lost/forgotten
    SQL> create user username identified by userpasswd default tablespace <tablespace> temporary tablespace <temp tablespace>;
    SQL> grant connect, resource to username;
    SQL> exit;
    > the database name or SID
    Its XE "out of the box", with a servicename is XE as well, using the default port 1521 on the host. The install should also set up a tns alias named, oddly enough, XE, with those connection details from the install. It comes with a USERS data tablespace, and TEMP temporary tablespace.
    So after the user is created, i.e. with sqlplus:
    SQL> connect username/passwd
    or if your session is not on the host where the database is running, with a tns alias pointing to the XE install host in place:
    SQL> connect username/passwd@xe
    From a different client machine you will need a tnsnames.ora entry defining an alias, it could be any name you would prefer to use as long as the entry points the the database host and port with the correct ORACLE_SID or the database service name.
    And don't forget to glance over the documentation, it is thorough and helpful as well http://www.oracle.com/pls/xe102/homepage

  • Confliction between 10g and 10g express edition

    hello friends......i had oracle 10g enterprise edition in my system and then i installed oracle 10g express edition...and the problem is that if m trying to login through the sys account then it gets login in the 10g express edition and m not able to gain acess to my 10g enterprise edition database....so
    my question is how i should get login in my 10g enterprise edition using the sys account......so please help me out
    thanx in advance

    How are you trying to login, from the command prompt? I don't use XE but if you are trying from command prompt, what happens when you issue,
    c:\set oracle_sid=<your EE db name here>After this , try to do the login and post feedback.
    HTH
    Aman....

  • Problem upgrading Apex 2.1 to 3.2.1 in Oracle Database 10g Express Edition

    G'Day Apex gurus,
    I installed Oracle Database 10g Express edition in my Windows XP PC which comes with Apex 2.1 with no problems. Then I wanted to upgrade Apex 2.1 to 3.2.1 (Currently Apex download in OTN) following the document below:
    http://www.oracle.com/technology/products/database/application_express/html/3.1_and_xe.html
    I went to the steps:
    @apexins SYSAUX SYSAUX TEMP /i/
    Then to change the password for the admin account run apxchpwd.sql and when prompted enter a password for the ADMIN account.
    @apxchpwd
    with not problems
    Then I connected to SQL*Plus as SYS by:
    sqlplus /nolog
    CONNECT SYS as SYSDBA
    Enter password: xxxxxxxxxxx
    but when I tried to run:
    @APEX_HOME/apex/apxldimg.sql APEX_HOME
    where APEX_HOME is Apex3.2.1 in my case
    SQL> @Apex3.2.1/apex/apxldimg.sql Apex3.2.1 (I get the messages below)
    PL/SQL procedure successfully completed.
    old   1: create directory APEX_IMAGES as '&1/apex/images'
    new   1: create directory APEX_IMAGES as 'Apex3.2.1/apex/images'
    Directory created.
    declare
    *+
    ERROR at line 1:
    ORA-22288: file or LOB operation FILEOPEN failed
    The system cannot find the path specified.
    ORA-06512: at "SYS.DBMS_LOB", line 523
    ORA-06512: at "SYS.XMLTYPE", line 287
    ORA-06512: at line 15
    PL/SQL procedure successfully completed.
    PL/SQL procedure successfully completed.
    Commit complete.
    timing for: Load Images
    Elapsed: 00:00:00.17
    Directory dropped.
    Can anyone help me in how to trouble shout this?
    I tried to continue by following the steps document
    @APEX_HOME/apex/apxxepwd.sql password
    (where password is the password of the Application Express internal ADMIN account)
    but when I tried to login in:
    http://localhost:8080/apex/f?p=4550:1
    when I type the credentials
    system
    system
    systempassword
    nothing happens
    or even If I try:
    http://localhost:8080/apex/f?p=4550:10
    admin
    adminpassword
    nothing happens here too.
    I appreciate any help
    Kind regards
    Carlos

    My database version is 10.2.0.1.0 Oracle express.
    Operating system is Windows Vista.
    I started installing using the following commands.
    @ C:\temp\apex\apexins.sql
    it prompts me for the values of sysaux sysaux temp and c:\temp\apex\images\
    If I supply the value for images the sqlplus window closes after scrolling a lot of info.
    Enroute it also prompts me for a value for 9:
    I don't know what the input shall be.
    Then it again stops at enter value for version:
    I used 3.2.1.0
    The window scrols a while and closes.
    later I changed the password and ran the command.
    @c:\temp\apex\apxldimg.sql c:\temp
    but no success with installation.
    the output is as following.
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Nov 27 18:13:43 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> connect system/sairam as sysdba;
    Connected.
    SQL> @ c:\temp\apex\apxchpwd
    Enter a value below for the password for the Application Express ADMIN user.
    Enter a password for the ADMIN user []
    Session altered.
    ...changing password for ADMIN
    wwv_flow_security.g_security_group_id := 10;
    ERROR at line 3:
    ORA-06550: line 3, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_SECURITY_GROUP_ID' must be declared
    ORA-06550: line 3, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 4, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_USER' must be declared
    ORA-06550: line 4, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 5, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_IMPORT_IN_PROGRESS' must be declared
    ORA-06550: line 5, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 8, column 23:
    PL/SQL: ORA-00942: table or view does not exist
    ORA-06550: line 7, column 15:
    PL/SQL: SQL Statement ignored
    ORA-06550: line 13, column 32:
    PLS-00364: loop index variable 'C1' use is invalid
    ORA-06550: line 12, column 9:
    PL/SQL: Statement ignored
    ORA-06550: line 19, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_IMPORT_IN_PROGRESS' must be declared
    ORA-06550: line 19, column 5:
    PL/SQL: Statement ignored
    Commit complete.
    SQL> @c:\temp\apex\apxldimg.sql c:\temp
    PL/SQL procedure successfully completed.
    Directory created.
    if wwv_flow_utilities.db_version_is_at_least('11') then
    ERROR at line 32:
    ORA-06550: line 32, column 25:
    PLS-00302: component 'DB_VERSION_IS_AT_LEAST' must be declared
    ORA-06550: line 32, column 3:
    PL/SQL: Statement ignored
    PL/SQL procedure successfully completed.
    if wwv_flow_utilities.db_version_is_at_least('11') then --11g only
    ERROR at line 16:
    ORA-06550: line 16, column 25:
    PLS-00302: component 'DB_VERSION_IS_AT_LEAST' must be declared
    ORA-06550: line 16, column 3:
    PL/SQL: Statement ignored
    Commit complete.
    timing for: Load Images
    Elapsed: 00:00:00.32
    Directory dropped.
    SQL>
    Does this require XE 11 or anything else.
    This will happen even if I supply as following(closing of sqlplus in the begining).
    @ C:\temp\apex\apexins.sql sysaux sysaux temp c:\temp\apex\images\
    Any help.

  • How can i create a new database instance in oracle 10g express edition?

    hello everybody
    i'm a student
    i am developing a database application
    i'm using oracle 10g express edition
    to run my application i need to create another database instance
    but i didn't find any option for doing so in that product
    if there is pls tell me where it is?
    if not pls tell me how to manually create it?
    regards,
    Chaitanya

    Chaitanya Babu M wrote:
    yaa i'm sure about that .
    i want one more instance of database.Can you perhaps explain why? I have a fair share of production and development servers - and not a single one of them needs to run more than one database instance.
    So I'm interested in what requirement you are trying to satisfy by using two database instances on a single platform.
    Oh yeah - if you want to create a custom XE instance (different SID, different tablespace sizes, more/less PL/SQL stuff installed, hack standard), make a copy of your XE db creation script (in your XE's +$ORACLE_HOME/bin+ and called createdb.sh ) and modify that for your needs.
    PS. even with a different SID, only a single XE instance can be run at a time - you can however have 2 different ones defined and then use one at a time (e.g. testing international settings, init param differences, etc.)

  • 10g Express Edition on Windows 2008 Enterprise R2 x64 with Active Directory

    I have successfully installed the 10g Express Edition on Windows 2008 Ent. r2 x64 with Microsoft Active Directory Domain Controller but i could not be able to run http://127.0.0.1:8080/apex
    Although i have run the http://127.0.0.1:8080/apex on my another Windows 2008 R2 x64 ant WITHOUT Active Directory Domain Controller Role.
    i think its related with AD Domain server role of my server, because i run that on same config and operation without Active Directory Domain Controller role.
    Can anyone help about this issue?
    thanks in advance

    I have experienced the same problem - running 10g Express on a Win 2008 (32-bit). When not being a Domain controller, the install was fine. When installing after the server had been given the Domain Controller role (+the required DNS), it failed. NO FIREWALLS are involved on the server. Seems like Oracle Express has problems being installed in this kind of environment - independent of x32 or x64 bit OS.
    Edited by: 811504 on Nov 17, 2010 11:44 PM

  • Can't uninstall or reinstall oracle 10g express edition in w/server 2003

    Hi,
    I need help from all of you, i already install oracle 10g express edition in
    windows server 2003 in D drive. but i can't remove because the oracle not in
    the add remove program so i download the windows install clean up to remove
    but after remove it still in the all program i still can start and stop the
    database but can't go to the database home page.The error message (the install
    cannot proceed as service OracleServiceXE is present on the system. Remove the
    service , reboot the systemand retry the installation) can any one guide me to use
    command prompt to remove.
    My email address [email protected]
    Thanks

    Hi,
    Perform the following steps, this will solve your problem and can go with new installation. :-)
    (Only perform the steps 7.2 section and here is the link : http://download.oracle.com/docs/cd/B25329_01/doc/install.102/b25143/toc.htm#BABDJDCD
    Manually Removing Oracle Database XE
    If the deinstallation is interrupted, follow these steps to manually remove Oracle Database XE from your computer:
    Step 1: Stop the Oracle Database XE Services
    Step 2: Remove the Oracle Database XE Registry Editor Settings
    Step 3: Update the System Variable Path
    Step 4: Remove Oracle Database XE from the Start Menu and Desktop
    Step 5: Remove the Oracle Database XE Directories
    Step 6: Install and Run the Windows Installer CleanUp Utility
    7.2.1 Step 1: Stop the Oracle Database XE Services
    Follow these steps:
    1. Open the Windows Services utility: From the Start menu, select All Programs, then Administrative Tools, and then Services.
    2. If any of the following Oracle services exist and have the status Started, then select each of the services, and click Stop:
    OracleXE
    OracleXETNSListener
    OracleJobSchedulerXE
    OracleXEClrAgent
    OracleMTSRecoveryService
    3.
    Exit Services.
    See also the Microsoft online help for more information on stopping services.
    7.2.2 Step 2: Remove the Oracle Database XE Registry Editor Settings
    Follow these steps:
    1.
    Log on to Windows with Windows administrative privileges.
    2.
    Ensure that you followed the instructions under "Step 1: Stop the Oracle Database XE Services" to stop the Oracle Database XE services.
    3.
    Start the Registry Editor at a command prompt:
    SYSTEM_DRIVE:\> regedit
    4.
    Go to HKEY_CLASSES_ROOT.
    5.
    Delete the following keys:
    NEED TO CONFIRM THE XE-SPECIFIC ONES.
    6.
    Go to HKEY_CURRENT_USER\Software.
    7.
    Under Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu\Programs, delete the Oracle Database 10g Express Edition key.
    8.
    Go to HKEY_LOCAL_MACHINE\SOFTWARE and search for the ORACLE group key.
    9.
    Expand the ORACLE group key and then delete the KEY_XE and OracleMTSRecoveryService keys.
    10.
    Go to HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI.
    11.
    Expand the ODBCINST.INI key and remove the Oracle in XE key.
    12.
    Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services.
    13.
    Delete the following keys:
    OracleServiceXE
    OracleXEClrAgent
    OracleXETNSListener
    14.
    Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application.
    15.
    Delete the Oracle.xe key.
    16.
    Exit the Registry Editor.
    17.
    Restart your computer.
    Thanks,
    Rams...
    Edited by: user10888288 on May 3, 2010 5:58 AM

  • Can't uninstall or reinstall oracle 10g express edition in windows server 2

    Hi,
    I need help from all of you, i already install oracle 10g express edition in windows server 2003 in D drive. but i can't remove because the oracle not in the add remove program so i download the windows install clean up to remove
    but after remove it still in the all program i still can start and stop the database but can't go to the database home page. can any one guide me to use command prompt to remove.
    Thanks

    Hi,
    I need help from all of you, i already install oracle 10g express edition in windows server 2003 in D drive. but i can't remove because the oracle not in the add remove program so i download the windows install clean up to remove
    but after remove it still in the all program i still can start and stop the database but can't go to the database home page. can any one guide me to use command prompt to remove.
    Thanks

  • Oracle 10G Express Edition No Oracle Spatial

    I have been test driving 10G Express Edition. I tried to create our schema in it only to find that the mdsys.sdo_geometry datatype is unknown. It looks like Oracle Spatial is not part of Express Edition. Can anyone confirm?
    SEVERE: Unsuccessful: create table ASSET_REFERENCE (ASSET_REFERENCE_ID number(19,0) not null, ASSET_NAME varchar2(256 char), ASSET_URI varchar2(256 char), SPATIAL_EXTENT mdsys.sdo_geometry, START_DATE timestamp, END_DATE timestamp, COORD_SYS_WKS varchar2(256 char), primary key (ASSET_REFERENCE_ID))
    [hibernatetool] Nov 21, 2005 7:56:50 PM org.hibernate.tool.hbm2ddl.SchemaExport create
    [hibernatetool] SEVERE: ORA-00902: invalid datatype

    Oracle Spatial is an option for Enterprise Edition. It is not even available for Standard Edition and Express Edition is a subset of Standard Edition
    Related - interMedia requires Java and that is not in Express. Although the Locator subset does not use Java, it is part of interMedia and therefore is also not in Express.
    We are asking Oracle to reconsider and add Locator, and possibly add Java as a post-install option.

  • Oracle 10g Express Edition presentation

    Hi everybody,
    I'm an Italian university student and I have to make a presentation about Oracle 10g Express Edition for an exam. The points of this presentation will be:
    - Portability
    - Compatibility with SQL92 standard
    - Interfaces
    - Installation and hardware resources
    - Costs and license
    - Security
    - Performance
    I'm very new in the Oracle world, can anyone help me or suggest sites where I can retrieve the information I need.
    Thanks

    Si offende qualcuno o semplicemente capisce meno gente? Penso più la seconda, ma mi sembra più "educato" usare l'inglese, in modo che tutti capiscano.
    Translation :
    I think it would be more correct using English, so that everyone can understand.
    Paolo

  • Oracle 10G EXPRESS EDITION  suitable for windows7

    hi to all
    can u  guys plz provide me the oracle 10g express edition  download link for windows7
    i had already downloaded one for windows7 but when i go to instal it i cant able to run it, and that to the downlOaded file says THE PUBLISHER OF THIS PROGRAM COULDN'T BE VERIFIED.
    SO CAN U PLZ PROVIDE ME LINK ASAP.
    THANKS IN ADVACE.

    yaa.i downloaded the oracleXEUNIV FILE.
    but the file dont have the .exe extension,and i cant able to run it.
    after i run the file
    the system says
    DO U WANT TO OPEN THE FILE
    i click on OPEN
    THEN is shows OPEN WITH INTERNET EXPLORER,ADOBE.........
    CAN U PLZ LET ME HOW TO INSATLL IT..

  • Oracle 10g Express Edition    Host , Port, ServiceId(SID)

    Hi
    I am trying to connect Oracle 10g Express Edition from Net Beans. But it is prompting for the following detials.
    Host , Port, ServiceId(SID).
    Please help me .
    Thanks in Advance.
    PurnachandraRao.

    Drop down to a command line. Enter the command 'lsnrctl status'. That will tell you all this information.
    Often it is 'localhost', port 1521, and always SID=XE

  • Oracle 10g Express Edition

    Hi All,
    A newbie quesion. I have Oracle 8i in my laptop, I want to install Oracle 10g Express edition, can i have both together ?
    Regards
    Ravi Kumar

    Yes, you can have as many Oracle homes as you require and as the host can hold, as long as you are careful and disciplined with the way you manage your ORACLE_HOME and PATH environment variables.
    ~ Madrid
    http://hrivera99.blogspot.com

Maybe you are looking for