Oracle 10g database creation in windows2003 server

hi,
i need the step by step procedure to create oracle 10g database in windows 2003 server.
with regards
velu

asifkabirdba wrote:
http://download.oracle.com/docs/cd/B19306_01/install.102/b15681/toc.htm
Asif,
IMO, the OP wanted to have steps given to him for the database creation , not the installation of the software.Not sure though since the wording chosen by him is not very clear.
@OP,
If you are looking for the database creation steps , the best would be to use DBCA! Other than that, you may want to look at the manual way of doing the same, given over here.
http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/create.htm#i1017640
That said, if you were looking for the installation instructions, please look at the link given by Asif.
HTH
Aman....

Similar Messages

  • Problem Oracle 10g database Installation on Windows 2003 Server

    Hi All,
    I am trying to face some problem to install oracle 10g database on windows 2003 server with service pack 2. Once I start to installation it give me an error "Error in writing to directory 'c:\documents and settings\administrator\local settings\temp\orainstall2004xxx'. Please ensure that this directory is writable and has at least 45MB of disk space. Installation cannot continue"
    I double-insured that there is enough disk-space and I am also in the Administrators-Group.
    Please guide me for the above problem although I have done oracle 9i database installation with the same configuration.
    Regards
    Muhammad Shoaib

    898118 wrote:
    Hi All,
    I am trying to face some problem to install oracle 10g database on windows 2003 server with service pack 2. Once I start to installation it give me an error "Error in writing to directory 'c:\documents and settings\administrator\local settings\temp\orainstall2004xxx'. Please ensure that this directory is writable and has at least 45MB of disk space. Installation cannot continue"
    I double-insured that there is enough disk-space and I am also in the Administrators-Group.
    Please guide me for the above problem although I have done oracle 9i database installation with the same configuration.
    Regards
    Muhammad ShoaibOracle really doesn't like to be installed into directories with spaces in their names.

  • Error on clone database, oracle 10g release 2 for windows server 2008

    Hi,
    OS: Windows Server 2008 X64
    Oracle: oracle 10g release r2 for windows server 2008
    An error occurred when creating a database, stop at last step, Screenshot:
    [http://temp.wsria.com/oracle_create_db.png|http://temp.wsria.com/oracle_create_db.png]
    the trace log content:
    [main] [9:56:35:982] [CommandLineArguments.process:563] CommandLineArguments->process: number of arguments = 32
    [main] [9:56:35:982] [CommandLineArguments.process:738] CommandLineArguments->process: Create Database argument is specified
    [main] [9:56:35:982] [CommandLineArguments.process:910] CommandLineArguments->process: template Name argument is specified
    [main] [9:56:35:982] [CommandLineArguments.process:960] CommandLineArguments->process: db name argument is specified
    [main] [9:56:35:982] [CommandLineArguments.process:3074] CommandLineArguments->process: in Operation Type is Creation/GenerateScripts Mode condition
    [main] [9:56:35:997] [CommandLineArguments.process:3298] CommandLineArguments->process: Successfully process command line arguments
    [main] [9:56:36:668] [Host.checkOPS:2055] Inside checkOPS
    [main] [9:56:36:668] [Host.checkOPS:2067] Trying to check cluster existence
    [main] [9:56:36:715] [Library.getInstance:97] Created instance of Library.
    [main] [9:56:36:715] [Library.load:197] Loading orauts.dll...
    [main] [9:56:36:715] [Library.load:203] oracleHome D:\oracle\product\10.2.0\db_1
    [main] [9:56:36:715] [sPlatform.isHybrid:63] osName=Windows Vista osArch=amd64 rc=false
    [main] [9:56:36:715] [Library.load:223] Loading library D:\oracle\product\10.2.0\db_1\bin\orauts.dll
    [main] [9:56:36:715] [Library.load:247] Loaded library D:\oracle\product\10.2.0\db_1\bin\orauts.dll from path=
    D:\oracle\product\10.2.0\db_1\bin
    [main] [9:56:36:715] [Library.load:197] Loading MSVCRT.dll...
    [main] [9:56:36:715] [Library.load:203] oracleHome D:\oracle\product\10.2.0\db_1
    [main] [9:56:36:715] [sPlatform.isHybrid:63] osName=Windows Vista osArch=amd64 rc=false
    [main] [9:56:36:715] [Library.load:223] Loading library D:\oracle\product\10.2.0\db_1\bin\MSVCRT.dll
    [main] [9:56:36:731] [Library.load:247] Loaded library D:\oracle\product\10.2.0\db_1\bin\MSVCRT.dll from path=
    D:\oracle\product\10.2.0\db_1\bin
    [main] [9:56:36:731] [Library.load:197] Loading orawsec10.dll...
    [main] [9:56:36:731] [Library.load:203] oracleHome D:\oracle\product\10.2.0\db_1
    [main] [9:56:36:731] [sPlatform.isHybrid:63] osName=Windows Vista osArch=amd64 rc=false
    [main] [9:56:36:731] [Library.load:223] Loading library D:\oracle\product\10.2.0\db_1\bin\orawsec10.dll
    [main] [9:56:36:731] [Library.load:247] Loaded library D:\oracle\product\10.2.0\db_1\bin\orawsec10.dll from path=
    D:\oracle\product\10.2.0\db_1\bin
    [main] [9:56:36:731] [Library.load:197] Loading orasrvm10.dll...
    [main] [9:56:36:731] [Library.load:203] oracleHome D:\oracle\product\10.2.0\db_1
    [main] [9:56:36:731] [sPlatform.isHybrid:63] osName=Windows Vista osArch=amd64 rc=false
    [main] [9:56:36:731] [Library.load:223] Loading library D:\oracle\product\10.2.0\db_1\bin\orasrvm10.dll
    [main] [9:56:36:731] [Library.load:247] Loaded library D:\oracle\product\10.2.0\db_1\bin\orasrvm10.dll from path=
    D:\oracle\product\10.2.0\db_1\bin
    [main] [9:56:36:731] [Version.isPre10i:189] isPre10i.java: Returning FALSE
    [main] [9:56:36:731] [WindowsSystem.regKeyExists:1006] WindowsSystem.regKeyExists: mainkey= HKEY_LOCAL_MACHINE subkey = Software\Oracle\Ocr
    [main] [9:56:36:746] [WindowsSystem.getCSSConfigType:1163] configType=null
    [main] [9:56:36:746] [Host.checkOPS:2073] cluster existence:false
    [main] [9:56:36:746] [Host.checkOPS:2111] Cluster installed=false
    [main] [9:56:36:902] [InitParamHandler.endElement:506] CustomSGA flag: false
    [main] [9:56:36:902] [InitParamHandler.endElement:507] Database Type: MULTIPURPOSE
    [main] [9:56:36:918] [InitParamHandler.endElement:508] Mem Percentage: 40
    [main] [9:56:36:918] [InitParamHandler.endElement:526] distributing Memory: 13737443328
    [main] [9:56:36:918] [MemoryCalculator.calculateMemory:122] Setting SGA to MAX_SGA 1610612736
    [main] [9:56:36:918] [StorageAttributes.setAttribute:232] IN threadID:1 group#=1
    [main] [9:56:36:918] [StorageAttributes.setAttribute:232] IN threadID:1 group#=2
    [main] [9:56:36:918] [StorageAttributes.setAttribute:241] Current threadID=1
    [main] [9:56:36:918] [StorageAttributes.setAttribute:248] Current threadID=1 ==> redoGroups[0]=1
    [main] [9:56:36:918] [StorageAttributes.setAttribute:258] vRedoGroups:[1]
    [main] [9:56:36:918] [StorageAttributes.setAttribute:288] setAttribute: bExists=false
    [main] [9:56:36:918] [StorageAttributes.setAttribute:232] IN threadID:1 group#=3
    [main] [9:56:36:918] [StorageAttributes.setAttribute:241] Current threadID=1
    [main] [9:56:36:918] [StorageAttributes.setAttribute:248] Current threadID=1 ==> redoGroups[0]=1
    [main] [9:56:36:918] [StorageAttributes.setAttribute:248] Current threadID=1 ==> redoGroups[1]=2
    [main] [9:56:36:918] [StorageAttributes.setAttribute:258] vRedoGroups:[1, 2]
    [main] [9:56:36:933] [StorageAttributes.setAttribute:288] setAttribute: bExists=false
    [main] [9:56:36:933] [TemplateManager.parseCloneTemplate:1477] See for any transportable datafiles in TemplateManager.....
    [main] [9:56:36:933] [TemplateManager.isInstallTemplate:2178] Selected Template by user:=General Purpose
    [main] [9:56:36:933] [TemplateManager.isInstallTemplate:2185] The Message Id to be searched:=GENERAL_PURPOSE
    [main] [9:56:36:933] [TemplateManager.parseCloneTemplate:1489] create new clone data file for tp file.......
    [main] [9:56:36:933] [Host.setupOIDCommandlineParameters:7184] setupOIDCommandlineParameters:
    [main] [9:56:36:933] [Host.setupOIDCommandlineParameters:7185] m_regWithdirService: false
    [main] [9:56:36:933] [Host.setupOIDCommandlineParameters:7186] m_unregWithdirService: false
    [main] [9:56:36:933] [Host.setupOIDCommandlineParameters:7187] m_updateDirService: false
    [main] [9:56:36:933] [Verifier.processRawConfigFile:3523] StorageType == 0
    [main] [9:56:36:933] [Verifier.setOradataDest:4349] setOradataDest:dfDest=D:\oracle\product\10.2.0\oradata
    [main] [9:56:36:933] [TemplateManager.updateDatafileDestination:1957] updateDatafiles:datafileDir=D:\oracle\product\10.2.0\oradata
    [main] [9:56:36:933] [TemplateManager.updateDatafileDestination:2103] From template, RedoLogGrName=1
    [main] [9:56:36:965] [TemplateManager.updateDatafileDestination:2118] new file name redo01.log
    [main] [9:56:36:965] [TemplateManager.updateDatafileDestination:2103] From template, RedoLogGrName=2
    [main] [9:56:36:965] [TemplateManager.updateDatafileDestination:2118] new file name redo02.log
    [main] [9:56:36:965] [TemplateManager.updateDatafileDestination:2103] From template, RedoLogGrName=3
    [main] [9:56:36:965] [TemplateManager.updateDatafileDestination:2118] new file name redo03.log
    [main] [9:56:36:965] [ProgressOnlyHost.performOperation:162] processRawConfigFile=false
    [main] [9:56:36:965] [Verifier.validateTemplate:1629] StorageType == 0
    [main] [9:56:36:965] [ProgressOnlyHost.performOperation:178] validateTemplate=true
    [main] [9:56:36:965] [OracleHome.isRacEnabled:149] bRacOn = false
    [main] [9:56:36:980] [Verifier.validateTemplate:1629] StorageType == 0
    [main] [9:56:36:980] [Verifier.calculateCloneDatafilePathsAndSizes:2951] canonicalPath=D:\oracle\product\10.2.0\
    [main] [9:56:36:980] [Verifier.calculateCloneDatafilePathsAndSizes:2951] canonicalPath=D:\oracle\product\10.2.0\
    [main] [9:56:36:980] [Verifier.calculateCloneDatafilePathsAndSizes:2951] canonicalPath=D:\oracle\product\10.2.0\
    [main] [9:56:36:980] [Verifier.calculateCloneDatafilePathsAndSizes:2951] canonicalPath=D:\oracle\product\10.2.0\
    [main] [9:56:36:980] [Verifier.calculateCloneDatafilePathsAndSizes:2951] canonicalPath=D:\oracle\product\10.2.0\
    [main] [9:56:36:980] [Verifier.calculateRedoLogGroupFileSizes:3083] canonicalPath=D:\oracle\product\10.2.0\
    [main] [9:56:36:980] [Verifier.calculateRedoLogGroupFileSizes:3083] canonicalPath=D:\oracle\product\10.2.0\
    [main] [9:56:36:980] [Verifier.calculateRedoLogGroupFileSizes:3083] canonicalPath=D:\oracle\product\10.2.0\
    [main] [9:56:36:980] [Verifier.getControlfFileSizes:3001] No. of Control files:=3
    [main] [9:56:37:105] [Host.executeSteps:4044] Executing steps....
    [main] [9:56:37:105] [Host.setUpForOperation:2920] setUpForOperation: Mode = 128
    [main] [9:56:37:121] [Host.executeSteps:4186] setupForOperation returned: true
    [main] [9:56:37:121] [Host.createStepSQLInterface:5948] sid =ora10g
    [main] [9:56:37:136] [SQLEngine.initialize:242] Execing SQLPLUS/SVRMGR process...
    [main] [9:56:37:136] [SQLEngine.initialize:270] m_bReaderStarted: false
    [main] [9:56:37:136] [SQLEngine.initialize:274] Starting Reader Thread...
    [Thread-4] [9:56:37:355] [StepContext$ModeRunner.run:2478] ---- Progress Needed:=true
    [Thread-4] [9:56:37:464] [BasicStep.execute:202] Executing Step : CLONE_DB_CREATION_RMAN_RESTORE
    [Thread-4] [9:56:37:464] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-01092
    [Thread-4] [9:56:37:464] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-01034
    [Thread-4] [9:56:37:464] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-03114
    [Thread-4] [9:56:37:464] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-12560
    [Thread-4] [9:56:37:464] [StepErrorHandler.setIgnorableErrors:250] setting Ignorable Error: ORA-01109
    [Thread-4] [9:56:37:464] [BasicStep.configureSettings:304] messageHandler being set=null
    [Thread-4] [9:56:37:464] [BasicStep.execute:202] Executing Step : INSTANCE_CREATION
    [Thread-4] [9:56:37:464] [BasicStep.configureSettings:304] messageHandler being set=null
    [Thread-4] [9:56:37:479] [InitParamAttributes.sortParams:3532] m_sortOn:-1 sortOn:4
    [Thread-4] [9:56:37:620] [OracleHome.isRacEnabled:149] bRacOn = false
    [Thread-4] [9:56:37:667] [Host.noEntryinOratab:5115] Check made for oratab arg passed............
    [Thread-4] [9:56:37:667] [Oradim.getAddEntryCommand:353] AddEntry=[D:\oracle\product\10.2.0\db_1\bin\oradim.exe, -new, -sid, ORA10G, -startmode, manual, -spfile]
    [Thread-4] [9:56:38:899] [Oradim.getEditEntryCommand:422] getEditEntry cmd=[D:\oracle\product\10.2.0\db_1\bin\oradim.exe, -edit, -sid, ORA10G, -startmode, auto, -srvcstart, system]
    [Thread-4] [9:56:39:55] [Oradim.addSidToRegistry:871] oracleHomeKey: SOFTWARE\ORACLE\KEY_OraDb10g_home1
    [Thread-4] [9:56:39:117] [BasicStep.configureSettings:304] messageHandler being set=oracle.sysman.assistants.util.UIMessageHandler@c73f0d8
    [Thread-4] [9:56:39:117] [CloneRmanRestoreStep.executeImpl:217] Instance Creation went fine..........
    [Thread-4] [9:56:39:117] [CloneRmanRestoreStep.executeImpl:224] db_recovery_file_dest=D:\oracle\product\10.2.0\flash_recovery_area
    [Thread-4] [9:56:39:117] [CloneRmanRestoreStep.executeImpl:227] db_recovery_file_dest_size=2147483648
    [Thread-4] [9:56:39:991] [SQLEngine.setSpool:1750] old Spool = null
    [Thread-4] [9:56:39:991] [SQLEngine.setSpool:1751] Setting Spool = D:\oracle\product\10.2.0\db_1\cfgtoollogs\dbca\ora10g\CloneRmanRestore.log
    [Thread-4] [9:56:39:991] [SQLEngine.setSpool:1752] Is spool appendable? --> true
    [Thread-4] [9:56:39:991] [CloneRmanRestoreStep.executeImpl:320] starting with pfile=D:\oracle\product\10.2.0\admin\ora10g\pfile\init.ora

    Check your SQLNET.AUTHENTICATION_SERVICES settings in sqlnet.ora file.
    ORA-28547 : Connection to server failed, probable Net8 admin error
    thanks
    http://swervedba.wordpress.com/

  • Win32 Oracle 10g Database Server Installation problems

    Hello,
    I have recently installed the Oracle 10g Database Server for Win32. The installation seemed to be successful. I used the Enterprise option and all the suggested defaults. Ihave the following services installed and started after the installation:
    o OracleDBConsoleORCL [started]
    o OracleOraDb10g_home1iSQL*Plus [started]
    o OracleOraDb10g_home1SNMPPeerEncapsulator [manual]
    o OracleOraDb10g_home1SNMPPeerMasterAgent [manual]
    o OracleOraDb10g_home1TNSListener [started]
    o OracleServiceORCL [started]
    I have created the following files:
    # LISTENER.ORA Network Configuration File: d:\oracle10gServer\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = asparuh)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = d:\oracle10gServer)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = ORCL)
    (ORACLE_HOME = d:\oracle10gServer)
    (SID_NAME = ORCL)
    # TNSNAMES.ORA Network Configuration File: d:\oracle10gServer\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = asparuh)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ORCL)
    INST1_HTTP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = asparuh)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = MODOSE)
    (PRESENTATION = http://HRService)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    I go to the DOS console and type:
    c:> sqlplus scott/tiger@ORCL
    and I get:
    ERROR: ORA-28000: the account is locked
    I did this right after I restarted my computer.
    When I use the Enterprise Manager at:
    http://localhost:5500/em/
    I get for ORCL:
    Status: Status Pending
    Status Pending Since: Unavailable
    Seems that I can never get the database started properly?! When I press the Startup/Shutdown button I get:
    Current Status: open
    This is the correct current database status, although it doesnot match the current status in the sitemap page
    What does this mean? Do you think this may contain the clue to the answer to this problem?
    When I restart the Database I get the same status: unavailable.
    I need your help to resolve this problem. The alternative is to revert back to Oracle 9i DB Server. Thank you in advance.
    gkk

    I can help you with the SCOTT account being locked. Try:
    sqlplus /nolog
    connect / as sysdba
    alter user scott identified by tiger account unlock;

  • How to setup management server in oracle 10g database

    guys,
    i've installed oracle 10g database into my machine. but i don know how to setup the management server (for scheduling owb10g process flows). unlike 9idb, we have an option emca to setup the management server. if anyone of u knows abt it, please help me. do i need to install the grid control just to have the scheduling mechanism? please advice.

    Well, it depends heavily on what operating system you're using, what mail server you're trying to install, your network topology, etc. Realistically, this is a question that is probably better asked in a forum for whatever mail server you're trying to install...
    Justin

  • Auditing in oracle 10g database and oracle 10g application server

    Dear friends,
    We have oracle 10g application server and oracle 10g database server in place.My criteria is to audit users connected using oracle application user credentials to the database.
    Can you please tell me how can i do it.
    Thanks & regards,

    Its the database connection you want to track. The session audit will show where it came from.
    Auditing is turned using this command:
    alter system set audit_trail = DB scope=spfile;
    Note: The use of spfile will require a DB bounce before audit starts
    To audit Sessions:
    audit create session;
    Query by Audit Type:
    SELECT A.USERNAME,
    OS_USERNAME,
    A.TIMESTAMP,
    A.RETURNCODE,
    TERMINAL,
    USERHOST
    FROM DBA_AUDIT_SESSION A
    WHERE USERHOST = <replace with iAS servername> ;
    By User
    SELECT USERNAME,OBJ_NAME,ACTION_NAME , TIMESTAMP
    FROM DBA_AUDIT_TRAIL WHERE USERNAME = 'SCOTT';
    Check for users sharing database accounts
    select count(distinct(terminal)),username
    from dba_audit_session
    having count(distinct(terminal))>1
    group by username;
    Attempts to access the database at unusual hours
    SELECT username, terminal, action_name, returncode,
    TO_CHAR (TIMESTAMP, 'DD-MON-YYYY HH24:MI:SS'),
    TO_CHAR (logoff_time, 'DD-MON-YYYY HH24:MI:SS')
    FROM dba_audit_session
    WHERE TO_DATE (TO_CHAR (TIMESTAMP, 'HH24:MI:SS'), 'HH24:MI:SS') <
    TO_DATE ('08:00:00', 'HH24:MI:SS')
    OR TO_DATE (TO_CHAR (TIMESTAMP, 'HH24:MI:SS'), 'HH24:MI:SS') >
    TO_DATE ('19:30:00', 'HH24:MI:SS');
    Attempts to access the database with non-existent users
    SELECT username, terminal, TO_CHAR (TIMESTAMP, 'DD-MON-YYYY HH24:MI:SS')
    FROM dba_audit_session
    WHERE returncode <> 0
    AND NOT EXISTS (SELECT 'x'
    FROM dba_users
    WHERE dba_users.username = dba_audit_session.username);
    Other audits you might consider:
    audit grant any object privilege;
    audit alter user;
    audit create user;
    audit drop user;
    audit drop tablespace;
    audit grant any role;
    audit grant any privilege;
    audit alter system;
    audit alter session;
    audit delete on AUD$ by access;
    audit insert on AUD$ by access;
    audit update on AUD$ by access;
    audit delete table;
    audit create tablespace;
    audit alter database;
    audit create role;
    audit create table;
    audit alter any procedure;
    audit create view;
    audit drop any procedure;
    audit drop profile;
    audit alter profile;
    audit alter any table;
    audit create public database link;
    Best Regards
    mseberg

  • Oracle 10g Database Server or Oracle 10g Application Server

    Greetings and Salutations!
    I need to install APEX 3.01 for development purposes and I'm wondering if I need to do an Oracle 10g Database Server installation, an Oracle 10g Application Server installation, and then the APEX 3.01 installation, or is there another way such as an Oracle 10g Application Server installation and then the APEX 3.01 installation.
    I'm confused and I need advice.
    Thanks,
    Charles

    Apex software runs inside the database using the database's PL/SQL engine.
    Apex software is accessed via HTTP requests that may be sent to an HTTP server as included on the database 'companion CD' or in the Application Server.
    Apex installation is described in the APEX install manual at http://www.oracle.com/technology/products/database/application_express/index.html

  • Errors in manual creation of oracle 10g database

    I created oracle 10g database manually and i am getting post installation errors.. could you please help out?
    I executed @?/sqlplus/admin/pupbld.sql but it still shows
    Error accessing PRODUCT_USER_PROFILE
    Warning: Product user profile information not loaded!
    You may need to run PUPBLD.SQL as SYSTEM
    i tried to see
    SQL> desc product_user_profile;
    ERROR:
    ORA-04043: object "SYSTEM"."SQLPLUS_PRODUCT_PROFILE" does not exist
    not there?? any other scripts to be run ? please guide me.
    2. I can not able login sys@sid as sysdba
    SQL> select * from v$pwfile_users;
    no rows selected
    i changed
    remote_login_passwordfile string EXCLUSIVE
    re-started db but no help...
    SQL> grant sysdba to sys;
    grant sysdba to sys
    ERROR at line 1:
    ORA-01990: error opening password file
    I re-created
    $ORACLE_HOME/bin/orapwd file=$ORACLE_HOME/dbs/orapwmydb.ora password=xxxx entries=5 force=y
    but no help..
    Could one please help out... ! great thanks in advance..

    thanks for prompt reply .. but still one issue remain..
    oracle DEVS $ sqlplus sys@sid sysdba
    SQL*Plus: Release 10.1.0.4.0 - Production on Thu Jan 7 10:51:44 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter password:
    ERROR:
    ORA-01031: insufficient privileges
    but i can able to login as sqlplus sys as sysdba
    SQL> select * From v$pwfile_users;
    no rows selected
    i tired to do
    SQL> grant sysdba to sys;
    grant sysdba to sys
    ERROR at line 1:
    ORA-01990: error opening password file
    '/u02/app/oracle/product/10.1.0/dbs/orapw'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    there is already one password file with orapwsid.ora.. how this should be solved ? please help. thanks

  • Oracle 10g Database conflicts with HTMLDB

    Hai all,
    I have encountered a strange conflict when I am trying to work out with Oracle 10g database and the famous HTML DB.
    It is like this:
    I have a 10g DB installed and an ASP application that works on this 10g instance via "Microsoft ODBC driver for oracle" perfectly.
    Now I have downloaded and installed the 10g Companion CD and installed the HTML DB 1.5 along with the mandatory Apache web server. Good!! I could scrawl through the database using the HTML DB, creating applications, forms, items and etc fancy things without any issues.
    The problem that I found was:
    The ASP based application that used to work initially now is erroring out saying that "TNS could not resolve service name".
    I thought that the Listener might be damaged or the ASP site was damaged or the Microsoft ODBC driver files were damaged and several other vauge guessings.
    I have tested the issue in several ways (reinstalled oracle, the DB, the ASP Applicaton, re-configurin listener in a variety of ways) but every time installing BLINDLY the companion CD too. Nothing seem to work.
    Then I recollected that the same issue I have encountered in the past with the installation of Oracle 8i and Developer 2000, where the TNS listener configured by the former damages the one configured by the later and vice-versa.
    Basing on this past reminiscence, I finally stopped installing Companion CD over the Oracle installation and carried out the DB installation and the ASP based app. And everything worked fine.
    CAN anybody tell me what is going wrong with these two oracle products(Oralce 10g DB and the HTML DB+Apache)?
    WHY always the installation of a CLIENT SW (Developer, HTML DB etc) damages the connection with the database via ODBC drivers?
    Many Thanks in advance.
    Ravi

    Dera Mr. Tyler,
    Thanks for your reply...I have implemented the solution that you have given for the TNS Listener conflict and everything works fine...
    Here I have one more thing thats not working as I thought. do kindly help me out.
    My requirement is to show the list of available storage drives (say C:, d:, e: etc on windows) available on the database server. Let me eloborate my problem well....
    i have a Java App that executes a specific SQL script to create a tablespace, a user and the required db objects that my applicaiton needs.
    if the Java App runs on the same machine where the oracle instance is running, the Java app pops up a list of available drives on the machine, creates a directory for the tablespace datafiles on the drive selected from the above list box, then runs the script which creates the tablespace and the rest of the things.
    But if i run the Java app from another machine on the network, then my BLIND java app is popping up the drives of the local machine but NOT those from the oracle server machine and creates the folder on the local machine but not on the Oracle server and obviously the rest of the phases (tablespace creation itself) are failing as the required folder is not found on the oracle server machine.
    the work arounds that i am thinking are:
    a) use java ->
    get the IP of the oracle server machine ->
    use some java api such as java.net, java.io etc ->
    create the required folder on the server machine instead of the local machihe
    ISSUE: Java network programming is too tough for me(excuse me for this..i am not too good!!)
    b) use some oracle sql or pl/sql api s to do the same
    ISSUE: not found one!!!!
    c) create a java stored procedure/function to get the list of drives of the oracle server and return as a string variable. then call this proc from the Java app once connected to the database....
    ISSUE: i have created the SO-CALLEd java func. no compilation or loading errors. but there is no o/p either. but the same code when i run as a java class is showing the desired o/p. here is the code piece...can you please help me out!!!
    -------Java Stored Function------
    import java.io.*;
    public class HDDLister
         public static String listDrives()
              String rootsList = "Available Roots: ";
              try
                   File[]roots = File.listRoots();
                   for (int i=0;i<roots.length;i++)
                        rootsList += roots.toString();
                        rootsList += "#";
              catch(Exception ex)
                   rootsList = ex.toString();
              return rootsList;
    -------Command to publish the Funciton-------
    CREATE OR REPLACE FUNCTION HDDLISTER
    RETURN VARCHAR2
    IS
    LANGUAGE JAVA
    NAME 'HDDLister.listDrives() return java.lang.String';
    and finally the point of the problem is, once we show the drives available on the server machine to the user and the user selects a drive, how to create a folder on the server machine???
    Thousands of thanks in advance
    Ravi

  • Export and import Oracle 10G database

    Hello all
    Can anyone tell me once for all how can i backup oracle 10G database and restore it in other computer (export and import)
    thanks alot
    Ron

    Do you can access to metalink?
    If not, I copy an paste this doc's....
    Doc ID: Note:10767.1
    Subject: How to perform FULL System Export/Imports
    Type: BULLETIN
    Status: PUBLISHED
    Content Type: TEXT/X-HTML
    Creation Date: 18-APR-1994
    Last Revision Date: 30-AUG-2002
    Purpose
    This article highlights some important points to consider when performing
    a Full System Export and Import.
    Scope and Application
    It is intended to assist users performing FULL System Exports and Imports.
    A Full System Export and Import is a useful way to replicate or clean up
    a database. Please note the following guidelines when performing a Full
    System Export and Import:
    1. When performing the import, ensure you are pointing at the correct
    instance. Always check values for the SID and two task driver before
    proceeding.
    *Note:   On Unix systems, just entering a sub-shell, such as using
    C-shell, can change the database that the import would work
    against.
    2. When possible, it is advisable to take a physical copy of the
    exported database and the database you intend to import into before
    starting the import. This ensures any mistakes are reversible.
    3. NEVER run a FULL SYSTEM IMPORT on a machine that has more than one
    database UNLESS you are 100% sure all tablespaces have been
    pre-created. A full import will create any undefined tablespaces
    using the same datafile names as the exported database. There are
    situations where this is very dangerous:
    -> If the datafiles belong to ANY other database, they will be
    CORRUPTED. This is especially true if the exported database is
    on the same machine, because its datafiles will be re-used by
    the database you are importing into.
    -> If the datafiles have names that clash with existing operating
    system files.
    4. When exporting, it is advisable to also produce a report showing
    information you may need before / after the import:
    -> List the tablespaces and datafiles
    -> List the rollback segments
    -> List a count, by user, of each object type such as tables,
    indexes, etc.
    This enables you to ensure that tablespaces have been pre-created
    and to check the success of the import after it is complete.
    5. If you are creating a completely new database from an export, remember
    to create an extra rollback segment in SYSTEM, and make this available
    in the init.ora file before proceeding with the import.
    6. There are some versions of export that do not retain sequence numbers
    correctly. It is advisable to select next_value for each sequence
    after the export so that these can be checked after import.
    Following these guidelines will help you to avoid major problems.
    Doc ID: Note:174226.1
    Subject: How To Copy an Oracle Database To Another Machine
    Type: HOWTO
    Status: PUBLISHED
    Content Type: TEXT/X-HTML
    Creation Date: 12-OCT-2001
    Last Revision Date: 01-OCT-2003
    goal: How to copy an Oracle database to another machine
    fact: Oracle Server - Enterprise Edition
    fix:
    Pre-requisites: The copy is between 2 machines, both have to be on the same OS
    and have to have exactly the same database version installed.
    1. Make sure the database you want to copy was closed with a SHUTDOWN IMMEDIATE,
    SHUTDOWN NORMAL or SHUTDOWN TRANSACTIONAL.
    2. Copy init.ora and control files to create instance and be able to go in
    mount mode. Check the init.ora for the locations where the controlfiles have
    to be, if those locations are not valid on the machine put the control files on
    different places and adjust the init.ora accordingly.
    3.a. Copy the datafiles (all of them).
    b. Copy the redo-logfiles (all of them).
    4.a. (Unix only) Set the environment variables:
    ORACLE_SID - set to the database name you wish to create
    ORACLE_HOME - set to full pathname of the Oracle system home directory
    PATH - needs to include $ORACLE_HOME/bin
    b. (NT/2000 only) Do 'set ORACLE_SID=<SID>'
    Use oradim to create the service for the instance. For more information
    on oradim please refer to (the part that refers to creating a new instance):
    Note:68720.1 Creating a new 7.3, 8.0, 8.1 Instance/Database
    5. Use servermanager (check the name to use for your version of oracle) or
    sqlplus (version 9i and above) to startup the database in mount mode.
    Do
    CONNECT INTERNAL/<PASSWORD>
    then
    STARTUP MOUNT
    Then do a rename of the copied datafiles if they are not in the same path as on
    the other machine. For all the files that are in the result of the query:
    SELECT NAME FROM V$DATAFILE;
    do
    ALTER DATABASE RENAME FILE '<oldfullpath>\<filename>' to <
    newfullpath>\<filename>';
    6. Query the datadictionary for the old location of the redolog files using:
    SELECT MEMBER FROM V$LOGFILE;
    If the new place is not the same as the old do:
    ALTER DATABASE RENAME FILE '<oldfullpath>\<redologfilename>' to &
    lt;newfullpath>\<redologfilename>';
    7. Now open the database:
    ALTER DATBASE OPEN;
    ******************************************************************

  • 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

  • Installation of Oracle 10g Database on Windows Vista Home Basic

    Hi All,
    I'm confused about the possibility of installing Oracle 10g Database Server in Windows Home Basic Operating System with Service Pack 1. Please help me out with a confirmation.
    Thanks in advance
    Prasanth

    Hi Prasanth
    Yes that should be possible but is it a production database or just a test database.
    you can always control that in metalink if it is supported, I don't believe it is.
    Read that documentation to perform the installation.
    http://download.oracle.com/docs/cd/B19306_01/install.102/b14316/toc.htm

  • Exporting of files in oracle 10g database

    hey friends,
    I installed Oracle 10g Database server on Windows XP,when i tried to take the backup through "Export to Files".I got this error.
    I have added Administrator in "Login as Batch JOb" and has given administrator along with the password in host credentials.
    I explain the procedure.I Login as Sys as SysOper as Oracle does not allow to take backup as sysdba.
    I created the job and also given the right path for the backup but some how it fails then i check the log and i find the following output.
    Output Log
    Export: Release 10.1.0.2.0 - Production on Fri Mar 4 16:39:23 2005
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Username:
    EXP-00004: invalid username or password
    Username: Password:
    EXP-00004: invalid username or password
    Username:
    EXP-00030: Unexpected End-Of-File encountered while reading input
    EXP-00000: Export terminated unsuccessfully
    The output log says i am giving invalid username and password but i don't know where i am giving the invalid username and password.
    Please guide me as I am new to Oracle and want to learn Oracle Administration.
    Thanks & Regards
    Ankush

    Give me output of following on standby server
    SQL>select name from v$datafile;
    SQL>show parameter log_archive_dest

  • Oracle 10g  Database control installation error

    Hi,
    Installing oracle 10g database control had give me an error.But Repository created successfully . please find the log file below
    Is there i need to install ...? before i start to run emca to install Database Control.
    my points of interest are here
    FileNotFoundException: /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/http-web-site.xml (No such file or directory)
    i didn't find jms.xml,rmi.xml,http-web-site.xml etc in this location /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/
    File/directory /opt/db/oracle/product/10.2.0/sysman/emdrep/config/repository.variables does not exist
    Let me know how to slove this error.
    Thanks,
    anil
    Error
    =========
    emca -config dbcontrol db -repos create
    STARTED EMCA at Apr 8, 2008 4:33:25 PM
    EM Configuration Assistant, Version 10.2.0.1.0 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Database SID: XXX
    Listener port number: 1521
    Password for SYS user:
    Password for DBSNMP user:
    Password for SYSMAN user:
    Email address for notifications (optional):
    Outgoing Mail (SMTP) server for notifications (optional):
    You have specified the following settings
    Database ORACLE_HOME ................ /opt/db/oracle/product/10.2.0
    Database hostname ................ xxx.xxxx.local
    Listener port number ................ 1521
    Database SID ................ XXX
    Email address for notifications ...............
    Outgoing Mail (SMTP) server for notifications ...............
    Do you wish to continue? [yes(Y)/no(N)]: yes
    Apr 8, 2008 4:34:55 PM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM/emca_2008-04-08_04-33-25-PM.log.
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig updateReposVars
    SEVERE: File/directory /opt/db/oracle/product/10.2.0/sysman/emdrep/config/repository.variables does not existApr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Failed to unlock all EM-related accounts
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Failed to unlock all EM-related accounts
    Refer to the log file at /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM/emca_2008-04-08_04-33-25-PM.log for more details.
    Could not complete the configuration. Refer to the log file at /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM/emca_2008-04-08_04-33-25-PM.log for more details.
    the following is log generated (emca_2008-04-08_04-33-25-PM.log)
    Apr 8, 2008 4:34:56 PM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
    CONFIG: Setting oracle.installer.oui_loc to /opt/db/oracle/product/10.2.0/oui
    Apr 8, 2008 4:34:56 PM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
    CONFIG: Setting oracle.installer.oui_loc to /opt/db/oracle/product/10.2.0/oui
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Homes to scan for used ports: [opt/db/oracle/product/10.2.0]
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Searching all DBConsole instances for used ports under ORACLE_HOME /opt/db/oracle/product/10.2.0
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager findUsedPortsFromXML
    CONFIG: Could not find or correctly parse file /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/jms.xml in searching for tag jms-server with att
    ribute port
    java.io.FileNotFoundException: /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/jms.xml (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at java.io.FileReader.<init>(FileReader.java:41)
    at oracle.sysman.emcp.util.PortManager.findUsedPortsFromXML(PortManager.java:282)
    at oracle.sysman.emcp.util.PortManager.markAllUsedPorts(PortManager.java:1172)
    at oracle.sysman.emcp.util.PortManager.getFreePorts(PortManager.java:543)
    at oracle.sysman.emcp.EMDBPreConfig.getFreePorts(EMDBPreConfig.java:2324)
    at oracle.sysman.emcp.EMDBPreConfig.checkPorts(EMDBPreConfig.java:2261)
    at oracle.sysman.emcp.EMDBPreConfig.performConfiguration(EMDBPreConfig.java:670)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:233)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:160)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:141)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking JMS port: null from /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager findUsedPortsFromXML
    CONFIG: Could not find or correctly parse file /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/rmi.xml in searching for tag rmi-server with att
    ribute port
    java.io.FileNotFoundException: /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/rmi.xml (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at java.io.FileReader.<init>(FileReader.java:41)
    at oracle.sysman.emcp.util.PortManager.findUsedPortsFromXML(PortManager.java:282)
    at oracle.sysman.emcp.util.PortManager.markAllUsedPorts(PortManager.java:1176)
    at oracle.sysman.emcp.util.PortManager.getFreePorts(PortManager.java:543)
    at oracle.sysman.emcp.EMDBPreConfig.getFreePorts(EMDBPreConfig.java:2324)
    at oracle.sysman.emcp.EMDBPreConfig.checkPorts(EMDBPreConfig.java:2261)
    at oracle.sysman.emcp.EMDBPreConfig.performConfiguration(EMDBPreConfig.java:670)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:233)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:160)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:141)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking RMI port: null from /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager findUsedPortsFromXML
    CONFIG: Could not find or correctly parse file /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/http-web-site.xml in searching for tag web-site
    with attribute port
    java.io.FileNotFoundException: /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/http-web-site.xml (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at java.io.FileReader.<init>(FileReader.java:41)
    at oracle.sysman.emcp.util.PortManager.findUsedPortsFromXML(PortManager.java:282)
    at oracle.sysman.emcp.util.PortManager.markAllUsedPorts(PortManager.java:1180)
    at oracle.sysman.emcp.util.PortManager.getFreePorts(PortManager.java:543)
    at oracle.sysman.emcp.EMDBPreConfig.getFreePorts(EMDBPreConfig.java:2324)
    at oracle.sysman.emcp.EMDBPreConfig.checkPorts(EMDBPreConfig.java:2261)
    at oracle.sysman.emcp.EMDBPreConfig.performConfiguration(EMDBPreConfig.java:670)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:233)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:160)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:141)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking HTTP port: null from /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.FileUtil getProperties
    CONFIG: Error reading file /opt/db/oracle/product/10.2.0/sysman/config/emd.properties
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager getAgentPort
    CONFIG: Cannot parse EMD_URL correctly. No port identified
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking Agent port: null from /opt/db/oracle/product/10.2.0/sysman/config/emd.properties
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Cannnot parse EMD_URL correctly. No port identified
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.FileUtil getProperties
    CONFIG: Error reading file /opt/db/oracle/product/10.2.0/install/staticports.ini
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager getFreePorts
    CONFIG: /opt/db/oracle/product/10.2.0:mcidm11.pacs11.local:null:SDM:{}:null:{DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT_SDM.
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: AGENT_PORT_SDM value: 3938
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT_SDM.
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DBCONTROL_HTTP_PORT_SDM value: 1158
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT_SDM.
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: JMS_PORT_SDM value: 5540
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT_SDM.
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: RMI_PORT_SDM value: 5520
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMDBPreConfig getFreePorts
    CONFIG: Ports assigned for SID: SDM : {DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: SDM, oracleHome: /opt/db/oracle/product/10.2.0, and user: SYS
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig createRepository
    CONFIG: Spooling to /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM/emca_repos_create_2008-04-08_04-34-58-PM.log
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: SDM, oracleHome: /opt/db/oracle/product/10.2.0, and user: SYS
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig grantPrivsToDbsnmp
    CONFIG: Exception while granting priviliges.
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-00942: table or view does not exist
    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1467)
    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeSql(SQLEngine.java:1708)
    at oracle.sysman.emcp.EMReposConfig.grantPrivsToDbsnmp(EMReposConfig.java:503)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:208)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:124)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig invoke
    CONFIG: Failed to grant priviliges to dbsnmp.
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig updateReposVars
    SEVERE: File/directory /opt/db/oracle/product/10.2.0/sysman/emdrep/config/repository.variables does not existApr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: SDM, oracleHome: /opt/db/oracle/product/10.2.0, and user: SYS
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig unlockAccounts
    CONFIG: Unlocking dbsnmp and sysman
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig unlockAccounts
    CONFIG: ORA-06550: line 1, column 62:
    PLS-00201: identifier 'SYSMAN.MGMT_VIEW_PRIV' must be declared
    ORA-06550: line 1, column 62:
    PL/SQL: Statement ignored
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-06550: line 1, column 62:
    PLS-00201: identifier 'SYSMAN.MGMT_VIEW_PRIV' must be declared
    ORA-06550: line 1, column 62:
    PL/SQL: Statement ignored
    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1467)
    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeSql(SQLEngine.java:1708)
    at oracle.sysman.emcp.EMReposConfig.unlockAccounts(EMReposConfig.java:566)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:235)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:124)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Failed to unlock all EM-related accounts
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Failed to unlock all EM-related accounts
    Refer to the log file at /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM/emca_2008-04-08_04-33-25-PM.log for more details.
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Failed to unlock all EM-related accounts
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:239)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:124)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)

    Hi all,
    i started creating database control repository, when i saw emca running i had seen repository created successfully , but sysman user is not created at this point of time. Then i looked into emca_repos_create_2008-04-10_11-57-03-AM.log file but the file is unable to open because it's looking for file emreposcre.sql which creates sysman user in this location /opt/db/oracle/product/10.2.0/sysman/admin/emdrep/sql/
    i feel while installing the database these files are not created....? or i need to run any scripts before running emca ....?
    give me some inputs to this thread.
    Thanks,
    nil
    STARTED EMCA at Apr 10, 2008 11:55:41 AM
    EM Configuration Assistant, Version 10.2.0.1.0 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Database SID: XXXXX
    Listener port number: 1521
    Password for SYS user:
    Password for SYSMAN user:
    Do you wish to continue? [yes(Y)/no(N)]: yes
    Apr 10, 2008 11:57:02 AM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /opt/db/oracle/product/10.2.0/cfgtoollog
    Apr 10, 2008 11:57:03 AM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Apr 10, 2008 11:57:03 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    Enterprise Manager configuration completed successfully
    FINISHED EMCA at Apr 10, 2008 11:57:03 AM
    mcidm11 10.2.0/bin>
    CONFIG: Spooling to /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM/emca_repos_create_2008-04-10_11-57-03-AM.log
    Apr 10, 2008 11:57:03 AM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Apr 10, 2008 11:57:03 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    mcidm11 emca/SDM> pwd
    /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM
    mcidm11 emca/SDM> more emca_repos_create_2008-04-10_11-57-03-AM.log
    SP2-0310: unable to open file "/opt/db/oracle/product/10.2.0/sysman/admin/emdrep/sql/emreposcre.sql"mcidm11 emca/SDM> cd
    Directory: /opt/db
    mcidm11 /opt/db> cd /opt/db/oracle/product/10.2.0/sysman/admin/emdrep/sql/
    Directory: /opt/db/oracle/product/10.2.0/sysman/admin/emdrep/sql
    mcidm11 emdrep/sql> ls
    core db ias ocs

Maybe you are looking for

  • Need help with date and time calculations please

    Hello there.. Im stuck, and im hoping someone can help.. Working on a list to manage and track PTO.  User completes PTO request form, Fields Name Start Date (with time) End Date (with time) Total Number of Days/hours requested: (calculation) Full Day

  • Shared applications modules

    Hi, I've been reading the section about shared AM in the developer's guide, however I found explanations rather incomplete. I would like to know how to do the following: 1. Use a shared AM from the user interface, a.k.a. have a data control referring

  • Back Up and Saving Projects

    HI, I have 2 questions and if anyone have answers, that would be great. 1. Since 2 persons I know just had their hard disks crashed, I am trying to back up all of my FCP project. I've heard a lot of negative things about Media Manajor so that's out o

  • Mov import fails after updating from version 4 to 4.2.1

    Okay, here's the story: I've got 2 Computers - my AVID System and my new Premiere Pro System (that I hate already!) I exported 2 QT file from AVID Express. 1. a QT .mov file with avid dv codec 2. a QT .mov file animation uncompressed I Installed QT P

  • How to play youtube from MAC to apple tv

    How do I play youtube from MAC to apple tv?