RE: Additional scripts to execute after creation of database for Oracle

Hi it is possilble to execute additional scripts such as CATALOG.SQL; CATAUDIT.SQL etc to enable v$session views? as these views are not created when i used the wizard in Oracle to create the database in 9i.
Is this normal or am i not creating the database correctly?
Also does this steps of running additional scripts required for Oracle 10 or 11?
Thanks for any info

Hi,
after creating the database, run the following scripts
sql>@$ORACLE_HOME/rdbms/admin/catalog.sql;
sql>@$ORACLE_HOME/rdbms/admin/catproc.sql;
connect SYSTEM/&&systemPassword
sql>@$ORACLE_HOME/rdbms/admin/pupbld.sql;
regards,
Xaheer

Similar Messages

  • How to add additional disks on vmware OEL4 and use it for Oracle 10gR2?

    I created a virtual machine on vmware workstation 6 and installed OEL4.
    during first install I created 20 GB disk but now I want to add more disks.
    from vmware documentation I tried to add more 8 gb disk to the virtual host.
    under devices I see two lines;
    Hard Disk (SCSI 0:0) 20.0 GB
    Hard Disk (SCSI 0:2) 8.0 GB
    but I must be missing some step since I can not see 20 + 8 gb at df;
    [root@antuhost ~]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda1              13G  9.7G  2.3G  82% /
    none                  506M     0  506M   0% /dev/shm
    /dev/sda2             4.9G  851M  3.8G  19% /homeThank you.

    Oh the check the answer from Re: How to add additional disks on vmware OEL4 and use it for Oracle 10gR2?

  • Where to running SQL Scripts after install of ODAC for Oracle Client?

    I just installed ODAC for Oracle Client on a windows server, that runs a sql server database, for developers to connect a web app to an Oracle/Unix database. The install states to run SQL scripts located in the $ORACLE_HOME\ASP.NET\SQL directory after the install. I'm not sure where to run them? On the ORACLE DB on the Unix server? If someone could bring me up to speed I would appreciate it. Thanks.

    If I do run the scripts, do you know what user they should be run as? The developer are using ASP.NET for connectivity.
    Why there is no Oracle Expert answer this simple question? ?
    After ODAC 11.1.0.7.20 installation completed, there is a message in the last screen:
    *"Run the SQL script located in c:\app\Administrator\product\11.1.0\client_1\ASP.NET\SQL directory for a new installation or an upgrade of Oracle Providers for ASP.NET"*
    The question is: How to run these 9 SQL scripts ?
    In SQL*Plus, which oracle user should I connect to in order to run these 9 scrips, including:
    InstallAllOracleASPNETProviders.sql
    InstallOracleASPNETCommon.sql
    InstallOracleMembership.sql
    InstallOraclePersonalization.sql
    InstallOracleProfile.sql
    InstallOracleRoles.sql
    InstallOracleSessionState.sql
    InstallOracleSiteMap.sql
    InstallOracleWebEvents.sql

  • How to manage the tables after deploying an SDA for Oracle

    How can I manage the tables after deploying an SDA  on Oracle.There is tool for MaxDB,but how can I connection to the Oracle Database?
    Thanks

    In J2ee administrator console

  • Additional 2 zeroes appear after flat file upload for New Taiwan Dollar

    Hi,
    Appreciate if anyone has encountered this issue when loading up flat file for New Taiwan Dollar currency. Example.
    Flat File Data
    0CHRT_ACCTS - SSG1
    0COMP_CODE - TW80
    0FISCYEAR - 2007
    0FISCPER     
    0FISCPER3     
    0VERSION - 1
    0VTYPE - 10
    0CURTYPE - 10
    0GL_ACCOUNT - 100050
    ZBDGT_USD -
    ZBDGT_LC     
    0LOC_CURRCY - TWD
    ZAUDIT_LC - 815,537
    After data is loaded into cube
    0CHRT_ACCTS - SSG1
    0COMP_CODE - TW80
    0FISCYEAR - 2007
    0FISCPER     
    0FISCPER3     
    0VERSION - 1
    0VTYPE - 10
    0CURTYPE - 10
    0GL_ACCOUNT - 100050
    ZBDGT_USD -
    ZBDGT_LC     
    0LOC_CURRCY - TWD
    ZAUDIT_LC - 81,553,700
    Appreciate any assistance. Points will be rewarded if solution can resolve issue.
    Best regards,
    Eric Tang

    Hi Simon,
    Ok, this is the a line from the flat file
    0CHRT_ACCTS - SSG1
    0COMP_CODE - TW80
    0FISCYEAR - 2007
    0FISCPER
    0FISCPER3
    0VERSION - 1
    0VTYPE - 10
    0CURTYPE - 10
    0GL_ACCOUNT - 100050
    ZBDGT_USD -
    ZBDGT_LC
    0LOC_CURRCY - TWD
    ZAUDIT_LC - 815,537
    and this is what is shown in the listcube
    0CHRT_ACCTS - SSG1
    0COMP_CODE - TW80
    0FISCYEAR - 2007
    0FISCPER
    0FISCPER3
    0VERSION - 1
    0VTYPE - 10
    0CURTYPE - 10
    0GL_ACCOUNT - 100050
    ZBDGT_USD -
    ZBDGT_LC
    0LOC_CURRCY - TWD
    ZAUDIT_LC - 81,553,700

  • OMS Jobs could not execute after server shutting down for days in holiday.

    Hi all,
    I found yesterday that all jobs won't run after a long term holiday(several days),the Oracle Management Server and the database server installed on different machine,all shutdown before holiday.Those jobs were scheduled to perform day by day without ending date.
    Howerer,when we come back to work and startup database server and the Management Server,in the past two days those jobs won't run anymore.I add a new job and find it can run correctly.And I found there is many extra connections from OS users DBSNMP to database,why?Each time I stop the agent service on the database host,and then restart it,I found in the jobs history lists there is failure notice said "job failed while running due to the agent stopped".
    Should I recreate those jobs again?There is about 20 different jobs,my God!
    Your reply is highly appreciated!

    Try editing boot.properties file in both Admin server and bi_server1 in these two locations
    domain/servers/AdminServer/security/boot.properties
    domain/servers/bi_server1/security/boot.properties
    Once it is done,Try restarting and let us know the outcome.
    Thanks,

  • Location of Book folder after creation of Book for validation

    As part of the Print Book process in A3 one can request that a softcopy of the book is made available for inspection. This is viewed automatically by Preview.
    If one asks to Save AS the file one sees that the file is in a folder called Book with a name that starts fstpBook.....
    Where is this folder located? - I have used Tinkertools to make invisble items on the drive visible but cannot seee the folder or the pdf file.
    Of course I can complete the Save As process to save the file to a known directory - but I would like to know where Aperture puts the file
    Thanks for any info

    I've just had this. The dropbox preferences are in a hidden directory (.dropbox) in your home folder. Delete that and it should start up as it would with a clean install.
    To do this:
    Open terminal
    run 'sudo rm -r .dropbox'
    enter your password
    That *should* sort it. I'd renamed my home directory and this messed it up, before I did the steps above I created an alias to my new location that matched to old name, I'm not sure if this is needed but worth a try if the above doesn't sort it..

  • How long should the Repository Creation Utility take for Oracle Portal?

    I'm running the Oracle Repository Creation Utility (RCU) as a precursor to installing WebCenter, and the schema creation process is stuck on the "Portal" step. The first 10-12 steps each took less than 30 seconds to complete, and the last step has been going for 2 hours 14 minutes.
    I checked the rcu log files, and they are constantly being updated with new progress information as though the process is still working. I haven't been able to find anyone else on the internet with this problem. From various screenshots on google, it looks like it can complete in under 10 minutes in some cases.
    Thanks,
    Dave

    Is it showing some error ?
    Check with DB settings and parameters properly.Usaully it should not take long time to complete.Possible chances are corrupt rcu file.I would suggest download again the RCU and re-run it.
    Anyways in which version of DB you are trying to install ?(vendor and version).
    Which version of RCU you are using ?
    Regards,
    Hoque

  • Error importing with impdp after applying a patch for oracle 11g

    Hello guys,
    I recently unistalled all the oracle software with my database in order to start all fresh. I then installed the database and applied a patch from the version 11.1.0.6.0 to 11.1.0.7. I used the DBUA to do such a thing and it worked wonderfully.
    I'm now trying to do a full import but it seems there's something wrong with the connection. Below is the syntax and am using Windows 7 BTW.
    C:\>impdp \"sys/2learn@practicante as sysdba\" full=y DIRECTORY=export DUMPFILE=expdp.sgtc.01052012.dmp logfile=impdpPRACTICANTE.log
    Import: Release 11.1.0.7.0 - Production on Lunes, 07 Mayo, 2012 15:20:55
    Copyright (c) 2003, 2007, Oracle. All rights reserved.
    UDI-12154: la operaci¾n ha generado un error ORACLE 12154
    ORA-12154: TNS:no se ha podido resolver el identificador de conexión especificado
    C:\>
    Thanks!

    Thanks for the reply!
    You may be right about not using the sysdba to logon but just changed it...am still having the same issue though.
    SQL> ALTER USER scott IDENTIFIED BY tiger ACCOUNT UNLOCK;
    Usuario modificado.
    SQL> GRANT READ, WRITE ON DIRECTORY export TO scott;
    Concesión terminada correctamente.
    SQL> connect scott;
    Introduzca la contraseña:
    Conectado.
    C:\>impdp scott/tiger@practicante full=y DIRECTORY=export DUMPFILE=expdp.sgtc.01052012.dmp logfile=impdpPRACTICANTE.log
    Import: Release 11.1.0.7.0 - Production on Lunes, 07 Mayo, 2012 16:05:23
    Copyright (c) 2003, 2007, Oracle. All rights reserved.
    UDI-12154: la operación ha generado un error ORACLE 12154
    ORA-12154: TNS:no se ha podido resolver el identificador de conexi¾n especificado
    C:\>type D:\Oracle2practice\NETWORK\ADMIN\tnsnames.ora
    # tnsnames.ora Network Configuration File: D:\Oracle2practice\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    PRACTICA.cre.com.bo =
    (DESCRIPTION =
    (ADDRESS_LIST=
    (ADDRESS = (PROTOCOL = TCP)(HOST = GGTPRACTICANTE.cre.com.bo)(PORT = 15
    21))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = practicante)
    C:\>sqlplus scott/tiger@practicante
    SQL*Plus: Release 11.1.0.7.0 - Production on Lun May 7 16:57:30 2012
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    ERROR:
    ORA-12154: TNS:no se ha podido resolver el identificador de conexi¾n
    especificado
    C:\>tnsping fubar
    TNS Ping Utility for 32-bit Windows: Version 11.1.0.7.0 - Production on 07-MAY-2012 17:00:16
    Copyright (c) 1997, 2008, Oracle. All rights reserved.
    Archivos de parßmetros utilizados:
    D:\Oracle2practice\network\admin\sqlnet.ora
    TNS-03505: Fallo al resolver el nombre
    C:\>sqlplus scott/P@ssW0rde@practicante
    SQL*Plus: Release 11.1.0.7.0 - Production on Lun May 7 17:14:49 2012
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    ERROR:
    ORA-12154: TNS:no se ha podido resolver el identificador de conexi¾n especificado
    I tried to fix the error but it is still there...any other way that could help or is there anything wrong with what I have done so far?

  • Why does the calc script screen freezes after executing the script

    Hello Everyone:
    When a calc script gets executed, the calc Script in the ASS freezes even though the calc script has finished it´s execution. Does anybody knows why? How can i prevent these to happen?
    Hope someone could help me, thanks in advanced
    Best Regards

    if you execute the calc script in foreground, console will freezes and it will not allow any thing to do.
    Once script is completed, console will be freed.
    You can execute the calc script in back ground so that you can continue your work and you can track the progress in the sessions.

  • How can I perform a silent install of an application AND use "run executable after installation"

    I am trying to do a silent install of a program I built using LabVIEW 8.5.  I also need to call an exe after the installation, so I am using the "run executable after installation" option on the Advanced tab of the installer.  I then pass the following command lines to the setup.exe:
    /qb /acceptlicenses yes /r
    This installs the LabVIEW program successfully, but does not then run the additional exe afterward.  If I run the setup.exe normally (with no command line parameters), the additional exe gets run.
    Thanks,
    Jason

    jmburns wrote:
    I am trying to do a silent install of a program I built using LabVIEW 8.5.  I also need to call an exe after the installation, so I am using the "run executable after installation" option on the Advanced tab of the installer.  I then pass the following command lines to the setup.exe:
    /qb /acceptlicenses yes /r
    This installs the LabVIEW program successfully, but does not then run the additional exe afterward.  If I run the setup.exe normally (with no command line parameters), the additional exe gets run.
    Thanks,
    Jason
    This problem is fixed in a future release of LabVIEW. Here's the CAR ID 67549 for tracking purposes.
    Message Edited by Bob P on 07-10-2008 09:10 AM

  • User Exit after creation of Production Order

    Hello gurus.
    I would like to populate a table with the Production Order number once I create the document in transaction CO01. The problem is, I cannot find a user exit that can be executed after I save the Production Order number.
    We use internal assignment of production order numbers, so we don't know the number of the document until it's created. I'd like to find a way to be able to get the number of the document, once it's created and add it in a custom table I created.
    Is there a User Exit for this? Or maybe an alternative way of achieving this?
    Thank you.

    Fernando,
    I would suggest you to create a custom table and custom program. The program should pick up the all the orders which were created from AFKO table, on successful completion of running the program it should update the custom table with the date and completion time. So next time when this program is run, it should pick up order who's creation date and time is greater than that in the custom table. You can schedule to run this program in background.
    Regards,
    Prasobh

  • Why an Additional Accounting document created after cancellation?

    Dear Experts,
    The sales order item was Invoiced using VF01 and excise invoice generated which  had two accounting document created.
    When we cancelled through VF11 we have now 3 accounting document instead of two. When checked the above two mentioned doc were additional and showing executed from J1IH but we have not passed any entry in this Tcode. They have already cancelled excise invoice so why this additional accounting document are showing for this line item.
    Is there someway to reverse this somehow? Why this additional accounting document? (Attached doc flow)
    Many Thanks ,

    Dear Deepak
    We can see Two accounting documents at the the time of VF01--one for excise entries and another for normal accounting(this is happening in my current client)
    Let me give an example-- if sales order having the value of total 1000Rs with Excise values 103Rs(10+2+1) and some sales tax--55Rs(5%)
    Then at the time of VF01 --one accounting document (Example--AC1)shows as:
    Customer account Dr 1158 Rs
    Domestic sales revenue account Cr 1000Rs
    Cenvat Suspense account Cr 103Rs
    Sales tax Cr 55Rs
    The another accounting document will be created automatically--due to background  excise invoice generation--which contains only excise entries:(AC-Excise)
    CENVAT suspense account Dr--103Rs
    CENVAT BED payable Cr--100Rs
    CENVAT CESS payable Cr--2 Rs
    CENVAT SH.Cess payable Cr-1Rs...
    Note: some times there is repeated creation of AC1(AC2,AC3 etc...) with same amounts due to some updation related errors(unfortunately we are unable to reproduce this due to--this was happening as and when)
    Note: I have checked the accounting document creation time for the repeated accounting documents--all are showing with same time with same user name.
    I think this was happened in your case-(i may be wrong here)
    So please check--the creation time of accounting and update us..
    Phanikumar

  • Revenue Recognition: Fiscal/Period updated as 0000/00 for a Rev rec document created after creation of a Contract.

    Hi All,
    We have created a Contract/Subscription and the corresponding Rev Rec document that got posted is with fiscal/period as 0000/00.
    Revenue Recognition: Fiscal/Period updated as 0000/00 for a Rev rec document created after creation of a Contract.
    We have not executed VF45 or any revenue recognition process.
    What amay be the reasons and how can we proceed further on this ?
    Thanks,
    M.Shiva Kumar

    Dear Amrish,
    Problem of this you did not maintain the provision account in your revenue account determination.  Please go to vkoa transaction and maintatin this provisional account any account number.
    eg;  application: v. condition type: kofk, chart of account: int, sales org:  0001, revenue account: 89999, provisional account 788888 (something)
    I hope you understood 
    Thanks & regards

  • How to run executable after installation?

    Hi everyone,
    I created an installer from one labview program with the application builder
    of Labview7.1 for my customer, and this installer will be burned
    on a CD. There are several configuration files which should be always
    modified, so I want to give the customer a possibility that he can
    change them by himself without creation of a new installer , I think the
    "run executable after installation" is the way to do it, but I don't know
    how to implement such an executable command to copy some files from CD to
    the destination directory which the program should be installed, could
    anyone give me some tips? Thans a lot!
    Le

    When you setup your build file, add the files using SourceFile Tab>>add support files, then click on custom destination, here you can add support files during installation. Hope this is what you are looking for.
    Paul
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

Maybe you are looking for