Change SID for Oracle XE

There is supposedly a procedure for changing the default SID of an XE database on AskTom but I cannot find it. Does anyone have the link for the procedure. Thanks.

1) edit LISTENER.ORA to change the port from 1521 to 1522
2) alter system set LOCAL_LISTENER = (ADDRESS = (PROTOCOL=TCP)(HOST=hostname)(PORT=1522))
3) optionally change the HTTP port using EXEC DBMS_XDB.SETHTTPPORT(8082)
4) restart listener
5) restart database
In Linux (same procedures in Windows, just different commands , slashes and editor)
oracle@fuzzy:~> vi $ORACLE_HOME/
LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
      (ADDRESS = (PROTOCOL = TCP)(HOST = fuzzy)(PORT = 1521))
oracle@fuzzy:~>
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Apr 9 08:15:09 2007
Copyright (c) 1982, 2005, Oracle.  All rights reserved.
Connected to an idle instance.
SQL> startup mount
ORACLE instance started.
Total System Global Area  448790528 bytes
Fixed Size                  1259400 bytes
Variable Size             134219896 bytes
Database Buffers          310378496 bytes
Redo Buffers                2932736 bytes
Database mounted.
SQL> show parameter listener
NAME                                 TYPE        VALUE
local_listener                       string
remote_listener                      string
SQL> alter system set local_listener='(ADDRESS = (PROTOCOL=TCP)(HOST=fuzzy)(port=1522))' scope=both;
System altered.
SQL> alter system open;
SQL> alter database open;
Database altered.
SQL> exec dbms_xdb.sethttpport(8082);
PL/SQL procedure successfully completed.
SQL> shutdown
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.                          
SQL> exit
oracle@fuzzy:~> lsnrctl start
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 09-APR-2007 08:25:10
Copyright (c) 1991, 2005, Oracle.  All rights reserved.
Starting /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.1.0 - Production
System parameter file is /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
Log messages written to /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=fuzzy.forbrichcomputing.ca)(PORT=1522)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date                09-APR-2007 08:25:10
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Default Service           XE
Listener Parameter File   /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
Listener Log File         /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=fuzzy.forbrichcomputing.ca)(PORT=1522)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
  Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
oracle@fuzzy:~> sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Apr 9 08:25:17 2007
Copyright (c) 1982, 2005, Oracle.  All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area  448790528 bytes
Fixed Size                  1259400 bytes
Variable Size             134219896 bytes
Database Buffers          310378496 bytes
Redo Buffers                2932736 bytes
Database mounted.
Database opened.
SQL> exit
Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
oracle@fuzzy:~> lsnrctl status
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 09-APR-2007 08:25:45
Copyright (c) 1991, 2005, Oracle.  All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date                09-APR-2007 08:25:10
Uptime                    0 days 0 hr. 0 min. 34 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Default Service           XE
Listener Parameter File   /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
Listener Log File         /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=fuzzy.forbrichcomputing.ca)(PORT=1522)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=fuzzy.forbrichcomputing.ca)(PORT=8082))(Presentation=HTTP)(Session=RAW))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
  Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "XE" has 1 instance(s).
  Instance "XE", status READY, has 1 handler(s) for this service...
Service "XEXDB" has 1 instance(s).
  Instance "XE", status READY, has 1 handler(s) for this service...
Service "XE_XPT" has 1 instance(s).
  Instance "XE", status READY, has 1 handler(s) for this service...
The command completed successfully
oracle@fuzzy:~>                                                     Message was edited by:
Hans Forbrich
Oh, and don't forget to change any/all client configurations that plan on using direct access
IOW, all TNSNAMES.ORA files should be updated and any stored ports in tools like SQLDeveloper or other things that use JDBC, etc.

Similar Messages

  • Change permission for Oracle inventory.

    When I installed Oracle 10gR2, I have specified dba group for Oracle inventory as it was a primary group for Oracle user. Now I want to change the group to orainstall. Is it possible to do that now with out affecting Oracle software or residing databases and do I need to specify orainstall as primary group and dba as secondary group?
    If anyone does have good doc or link for rebuilding orainventory, please send it across.
    Appreciate your help!!!

    But you can always use any other name for dba group -
    like dba92, or dba99, or aaa, or even oinstall as the
    dba group. Same thing with the "oinstall" as well,
    Oracle binary DOES NOT recognize the character - just
    the group ID, of "oinstall".
    Correct me if I am wrong.
    Thanks.Of course you can pickup whatever name you like, but you need to decide your group name before installation. After installation if you plan to change the 'dba' group name, you need to modify config.s file and recompile Oracle executables.

  • Changing ulimit for Oracle user

    Hi expert,
    I'm using AIX 5.3 TL 9 with Oracle 11g R2.
    Does changing rss in ulimit for oracle user operating system require restart oracle instance ?
    Need your advice.
    Thanks,
    Yusata.

    ulimit values are read only once when the process is started.
    When we are at it: what did 'man ulimit' tell, and why are you asking Unix questions in an Oracle forum?
    Please stop cluttering up this forum with off-topic questions, without them it is enough of a mess already.
    Sybrand Bakker
    Senior Oracle DBA

  • Change SID for Content Server on MaxDB.

    Hi all,
    We want to Change the SID's for all the SAP systems in existing landscape and we are tying to do the same with Content Server, which is having a MaxDB database. I wonder if anyone can give their inputs on this process what needs to be done, that would be great.
    Appriciate your response.
    Thanks and regards
    Krishna

    Krishna
    I suggest you, post this thread in Basis forum. You may get solution there, as it's basis activity.
    Regards
    Amaresh Makal

  • Change Capture For Oracle EBS Sources

    Hello,
    I am trying to understand how the change capture process happens in DAC.
    For Siebel sources, I understood that it happens through 'image' tables. And there are some docs/info available on this.
    I am just wondering how this happens in case of Oracle EBS and other sources. I think there is no image table concept with these sources.
    Can anyone point me to some info on this..?
    Many Thanks..!

    Yes, for EBS, PeopleSoft and other non-Siebel sources, the change capture process is usually based on a form of "LAST UPDATE DATE" on the source system tables. This is is usually compared against the "LAST REFRESH DATE" in the DAC for the source and target tables. This can be seen if you look at the Session overrides for the FULL versus INCREMETAL workflows/sessions. Of course, this process may differ based on the nature of the source system. I believe certain sources that do not have a useable "LAST UPDATE DATE" may require a full extract each time. The best approach would be to go through the vanilla ETL code for FULL versus INCREMENTAL sessions.
    if this was helpful, please mark the answer as correct.

  • Sid for oracle database

    I am installing oracle 11g R2 (Oracle Database 11g Release 11.2.0.3.0 - 64bit Production) on linux box, by the time the SID provided was 9 characters like oimdbdevd. The completion of installation showing as oimdbdevd for sid. But the init.ora file and database table v$database are showing only oimdbdev.
    It mean the SID will allo only 8 characters.
    Thanks in Advance,
    Srikanth

    Check these Topics
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:2349000181202
    How long an ORACLE_SID can be?

  • Possible To Change SID / Retain Data?

    I have a Oracle 11.2.0.3 VM running with a 12.2 GB database size. Currently I would like to take a snapshot / clone of the Oracle database 11g and replicate it. Obviously I would change the Linux OS hostname / IP parameters to avoid conflicts on the LAN however I would like to know if its possible in Oracle 11g (and acceptable) to change the SID on the said cloned machine once the machine has been replicated?
    Currently my SID on the above mentioned database is ATL and after I snapshot the virtual machine and get the OS parameters unique, I'd like to make the SID = ORL. Is this acceptable in the Oracle DBA community or is it highly frowned upon to make changes to a SID once there has been data added to the database?

    Yes you can change SID for Database after clone .
    you can do that by using dbverify or recreate controlfile
    http://www.adp-gmbh.ch/ora/admin/rename_db.html

  • How to change IP, Hostname and domain name for Oracle Application R12

    Hi,
    I'm new to Oracle, we used to have one production and one test server for Oracle Application R12, but the test server was corrupted, so we decided to clone production server and create a new test server, after cloning and creation of test server, how should we do to change IP address, hostname and domain name for test server?
    Our production and test server environment is:
    Linux Enterprise AS 2.6.9
    Application module: E-Business Suite Treasury only
    Your advice will be much appreciated.
    Regards,
    Kenneth
    Edited by: 850209 on Apr 7, 2011 5:37 PM

    850209 wrote:
    Hi,
    There are few tnsnames.ora and listener.ora files in the system, how to know which one are effective? If I change tnsnames.ora hostname entry, do I need to change listerner.ora file also?
    Thanks.
    Regard,
    Kenneth.tnsnames.ora is used only by client processes. listner.ora is used only to configure the listener, and that is a server side issue only. In addition, the listener can start without any listener.ora at all, using all default values. See my discussion of tns issues at edstevensdba.wordpress.com
    If you are using dbcontrol, you will most likely need to reconfigure it, using the emca utility.

  • 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

  • Change of UID for Oracle user  - Impact

    If change of UID for Oracle user in solaris will affect the database which is already running. Wil it have any impact for the databases?
    Guys please advise.
    Thnx,
    Satheesh

    Many thanks for the response. We are not changing the UID but there are some errors in the script related to file permissions. So just wanted to know will it have any impact on the database if we change the UID.

  • Change Data Capture (CDC) for Oracle by Attunity on SQL Server 2014

    hi
    i've installed the above on my server. It seems to look fine. The connection to oracle database is set, the databases on the sql server side have been created; the tables to be captured are created. When i make a change on the oracle side, the configuration
    ui senses the change, but no data is moved over. Silly question, do i have to move the data from oracle to sql server FIRST before any of this will work? and how do inserts work if the data has to be moved over to sql server first? I'm missing something here
    Any help would be appreciated.
    thank you

    Well, better ask the vender. They haver their own forums.

  • SQL Server 2012 Change Data Capture for Oracle by Attunity support for Oracle 12

    I would like to know if there are any plans for SQL Server 2012 Change Data Capture for Oracle by Attunity to support versions of Oracle 12 and if by when.

    I have asked from the author of
    http://blogs.msdn.com/b/mattm/archive/2012/03/26/cdc-for-oracle-in-sql-server-2012.aspx about this.
    I will either ask him to answer here or I would be a messenger.
    Balmukund Lakhani | Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • Changing System ID (SID) for production environments

    We have had 4 cloned machines for the development of production environments but unfortunately we skipped changing the SIDs for them. Now all the 4 machines have the same SID. Though things are working fine as of now but in the near future this case might become problematic. Is there a way to change the SIDs so that the changes are reverted in the database as well ?? We tried the conventional way to change the SIDs on Demo environments but since then the systems didnt start up....Does anybody have a clue what to do??
    Waiting in hope!!

    >Now all the 4 machines have the same SID.
    What SID are you talking about ? Peoplesoft ACCESSID ? SYSADM1 ? Database ? Please clarify.
    Nicolas.

  • BR0252E Function fopen() failed for '/oracle/SID/sapbackup/.user.pas' at location BrToolCall-2

    Hi all,
    I am working on setting up the DB13/BRTOOLS integration.
    I am trying to run a db check from sidadm user through brtools and getting the below error.
    BR0280I BRTOOLS time stamp: 2014-04-24 09.35.56
    BR0257I Your reply: 'c'
    BR0259I Program execution will be continued...
    BR0252E Function fopen() failed for '/oracle/PB1/sapbackup/.user.pas' at location BrToolCall-2
    BR0253E errno 13: Permission denied
    I changed the permissions for br* to 755 as below
    but still I am getting the same error.
    ustrlxpb1db80:pb1adm 73>  ls -l br*
    -rwxr-xr-x 1 pb1adm sapsys 5736689 Sep  7  2011 brarchive
    -rwxr-xr-x 1 pb1adm sapsys 5854578 Sep  7  2011 brbackup
    -rwxr-xr-x 1 pb1adm sapsys 7577045 Sep  7  2011 brconnect
    -rwxr-xr-x 1 pb1adm sapsys 6279708 Sep  7  2011 brrecover
    -rwxr-xr-x 1 pb1adm sapsys 2227868 Sep  2  2011 brrestore
    -rwxr-xr-x 1 pb1adm sapsys 8033945 Sep  7  2011 brspace
    -rwxr-xr-x 1 pb1adm sapsys 3090793 Sep  2  2011 brtools
    What might be the issue?
    Thanks
    vimal

    Hi Gaurav,
    Thanks for your information.
    I changed the persmissions for sapbackup and sapcheck to 775 and I can able to start the dbcheck via brtools through sidadm user.
    But it got stuck with a below sql error , with insufficient privileges
    BR0280I BRTOOLS time stamp: 2014-04-24 10.36.06
    BR0257I Your reply: 'c'
    BR0259I Program execution will be continued...
    BR0801I BRCONNECT 7.20 (17)
    BR0805I Start of BRCONNECT processing: censafis.chk 2014-04-24 10.36.06
    BR0484I BRCONNECT log file: /oracle/PB1/sapcheck/censafis.chk
    BR0477I Oracle pfile /oracle/PB1/112_64/dbs/initPB1.ora created from spfile /oracle/PB1/112_64/dbs/spfilePB1.ora
    BR0280I BRCONNECT time stamp: 2014-04-24 10.36.08
    BR0813I Schema owners found in database PB1:
    APPQOSSYS, DBSNMP, DIP, OPS$ORAPB1, OPS$PB1ADM, OPS$SAPSERVICEPB1, ORACLE_OCM, OUTLN, SAPSR3*, SYS,
    SYSTEM
    BR0280I BRCONNECT time stamp: 2014-04-24 10.36.09
    BR0814I Number of tables/partitions in schema of owner SAPSR3: 25128/247
    BR0836I Number of tables treated as info cubes for owner SAPSR3: 1676
    BR0814I Number of tables/partitions in schema of owner SYS: 890/298
    BR0814I Number of tables/partitions in schema of owner SYSTEM: 151/39
    BR0280I BRCONNECT time stamp: 2014-04-24 10.36.12
    BR0815I Number of indexes/partitions in schema of owner SAPSR3: 33103/502
    BR0815I Number of indexes/partitions in schema of owner SYS: 965/242
    BR0815I Number of indexes/partitions in schema of owner SYSTEM: 212/52
    BR0280I BRCONNECT time stamp: 2014-04-24 10.36.13
    BR0816I Number of segments in schema of owner DBSNMP: 8
    BR0816I Number of segments in schema of owner OPS$PB1ADM: 1
    BR0816I Number of segments in schema of owner OUTLN: 9
    BR0816I Number of segments/LOBs in schema of owner SAPSR3: 21553/2395
    BR0816I Number of segments/LOBs in schema of owner SYS: 2714/144
    BR0816I Number of segments/LOBs in schema of owner SYSTEM: 407/22
    BR0280I BRCONNECT time stamp: 2014-04-24 10.36.13
    BR0961I Number of conditions found in DBCHECKORA: 128
    BR0280I BRCONNECT time stamp: 2014-04-24 10.36.13
    BR0301E SQL error -1031 at location BrDbdiffRead-1, SQL statement:
    'PREPARE stmt_5 FROM'
    'SELECT OBJNAME FROM "SAPSR3".DBDIFF WHERE DBSYS IN ('ORACLE', ' ') AND OBJTYPE = 'TABL' AND DIFFKIND IN ('02', '61', '99') ORDER BY OBJNAME'
    ORA-01031: insufficient privileges
    BR0806I End of BRCONNECT processing: censafis.chk 2014-04-24 10.36.13
    BR0280I BRCONNECT time stamp: 2014-04-24 10.36.13
    BR0804I BRCONNECT terminated with errors
    BR0292I Execution of BRCONNECT finished with return code 3
    Thanks
    Vimal

  • Change password for internal/oracle??

    If for some reason, I need to change password for internal, could I logon as system to change password for internal?? Thanks for any reply...

    You could...but it is little tricky...
    Here are the steps...make sure you do a complete export of the existing
    schema...if any thing were to go wrong...
    There are different method of changing the password file.
    ORADIM or ORAPWD..
    I tend to use ORAPWD if I am concentrating on the password only...
    if there are any more alteration to be made to the SID...such as renaming A SID
    san so forth..then I use ORADIM..
    BUT for your need any one of this will work..
    CHANGING the INTERNAL PASSWORD USING ORADIM command:
    to change the password with ORADIM:
    1) Delete the SID fro the password you want to change:
    c:\ORADIM -DELETE -SID SID
    where SID is the SID to delete
    2) Verify that the PWDSID.ORA and STRTSID.CMD files have been removed from the
    \ORACLE_HOME\DATABASE\
    directory
    3) create the same SID again and specify a new INTERNAL password
    c:\ORADIM -NEW SID SID -INTPWD NEWPASSWORD -STARTMODE AUTO
    -MAXUSERS N -PFILE
    <drive:
    \path\init{sid}.ora>
    where SID is the same SID to recreate, NEW_PASSWORD is the INTERNAL password,
    and N is the maximum number of DBAs/Operators who can be logged in at once with
    the password..
    This should take care of you issue..
    However there are some other way to delete and use authentication...
    If you decide to use ORAPWD:
    Then there is a different approach to modifying the internal password...
    CHANGING PASSWORD USING ORAPWD
    F:\OraHome1\BIN>orapwd file=shahpwd password=snawaz
    this will create a passowrd file shahpwd
    also make sure your init.ora is set to
    remote_login_passwordfile = exclusive
    shutdown the database log..out of the svrmgrl..
    and log back in with a new password...
    svrmgrl> connect interna/snawaz
    GOOD LUCK
    Shah

Maybe you are looking for

  • Can not open asset files in tutorial

    First off all of the videos are done to fast for a beginner.  Slow down speaking, give a beginner a chance to see where your cursor is.  Also found this with the Start here Tutorial for Ai. I followed along just fine in the first video in setting up

  • How to clear the form after save?

    Hi, My environment is JSF1.2 and Hibernate3. Scope of my bean is request level. On JSF form where I press the save button, data is saved in the database and form is empty for new record. I do not want to call method resetMe() because I have many bean

  • How do I burn a CD in Elements 11?

    I understand I can't do so directly.  FYI that I don't want to permanently move the images; just to make copies on the CD.  Many thanks.

  • Safari always crashes on launch

    Today I DL'ed the Safari update hoping it would fix the way Safari continually crashes on me. The symptoms are pretty straigh forward, I click the Safari icon in the Dock, Safari launches with a blank page and then the beachball start spinning. After

  • Adobe Flash Player 11.4.400.252 Beta 2 (IE 10 Desktop)

    Hello Folks, after having failed in all known methods to uninstall a Flash® Player release I come here asking for any suitable help. What kind of help? I'd like to know how to uninstall Flash® Player 11.3.370.178 ActiveX (x86) from Windows 8 CP with