Problem to create a Schema

After installing Oracle 8i, I can't create a schema.
Can you help me please to indicate to me how I can create a schema?
Should I download other file?
Thank You
null

You donot need download any thing for this.
First create a user say scott.
Create user scott identified by tiger;
grant connect , resource to scott;
If the user is alreadt there , please ignore the above.
Now run the following statement.
CREATE SCHEMA AUTHORIZATION SCOTT
CREATE TABLE sox
(color VARCHAR2(10) PRIMARY KEY, quantity NUMBER)
CREATE VIEW red_sox
AS SELECT color, quantity FROM sox WHERE color = 'RED'
GRANT select ON red_sox TO public;
Hope the above will help you.

Similar Messages

  • Problems with creating SH Schema in exists Database 10.2.0.2

    Hello ALL
    I have problem with installation SH Demo Schema in exists Oracle Database 10.2.0.2 Enterprise Edition on Windows 2003 EE SP1
    First I could try to configure my DB in Oracle Confuguration Assistant but I couldn't to add examles schemas there.
    Then I installed Companion 10.2.0.1 with examples schemas in $ORACLE_HOME Database 10.2.0.2 and executed script sh_main.sql under SYS user.
    After all SH Schema created in our DB but data exists in only two tables such as COSTS and SALES_TRANSACTIONS_EXT.
    I haven't any more data in others tables.
    In my log files I see follow :
    SQL*Loader-500: Unable to open file (D:\oracle\DB_BI\demo\schema\sales_historydmsal_v3.ctl)
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: The system cannot find the file specified.
    SQL*Loader-500: Unable to open file (D:\oracle\DB_BI\demo\schema\sales_historydem_v3.ctl)
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: The system cannot find the file specified.
    SQL*Loader-500: Unable to open file (D:\oracle\DB_BI\demo\schema\sales_historysale_v3.ctl)
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: The system cannot find the file specified.
    and etc.
    Please help me to install SH Schema in exists DB may be anybody resolved this issue.

    The document you are refering to is OK, but it assumes you already have installed the demo files.
    In order for the demo to be installed and working, some requirements must be met.
    You must have installed DB10g Enterprise Edition, as demos such as SH require the partitioning option, available only on E.E.
    Start a second installation from the companion disk, start your oracle installer, select Database Products, verify the Oracle Home details are the same as those of your Oracle Home, confirm the action and install.
    At the end of the installation you must see these directories at the $ORACLE_HOME/demo/schema directory:
    bus_intelligence  mk_dir.sql.ouibak    mkunplug.sql   sales_history
    human_resources   mk_dir.sql.ouibak.1  mkverify.sql   shipping
    info_exchange     mkplug.sql           order_entry    sted_mkplug.sql.dbl
    log               mksample.sql         product_media
    mk_dir.sql        mksample.sql.sbs     README.txt

  • XSD Changes - Problem Exception - creating schema

    I am having a problem and need your help. New to SOA.
    I have a xsd file in my project. Based on the xsd definition in the file I have created a BPEL variable (using element) refering to the xsd element name. Added a simplae assign statement and I could see the child elements fine during the Assign statement.
    However when I add new child element in the xsd file or even change the name of the pre-existing child element name the variable in the assign activity gives the error "Problem Exception - creating schema". I created a completely new variable by refering the xsd element but still the new variable also gives error "Problem Exception - creating schema".
    It appears that it does not like me changing the xsd file at all. Am I missing any step. Do I need to take any more step after changing the xsd to be able to create a new variable based on the xsd file.
    Please help.
    Thanks

    I looked it from the variable definition by clicking on "Exeception - Problem Building Schema" and it showing more details. The error is "Duplicated definition for : VariableFetchPOData"
    Where can I see the duplicated definition information. ?
    Please advise
    Thanks

  • Problem Creating Oracle Schema in Active Directory

    Hi,
    I am trying to integrate oracle 9i in an Microsoft Active directory domain
    I tried to integrate the db in the domain using net configuration assistant on the Oracle Client but
    I get always the same error after inserting the fully name of domain controller and confirm to create the oracle schema. The error I get is:
    “The Assistant is unable to create or update
    the schema for the following reason:
    ConfigException: Could not create Oracle schema oracle.net.config.ConfigException
    You must update the schema from a computer which directly supports
    your type of directory."
    Also I checked every requirement to install:
    -Log on as an Administrative account in the domain
    -Enable active directory schema changes
    -ping the whole dns domain, the fqdn of my domain controller is dc.ecm.com, I can:
    ping dc.ecm.oracle
    At this point I don’t know anymore what I can do.
    Please help me
    Thank you in advance
    Fahim Ghauri

    Take a look at metalink Note:361192.1
    Bug 3975572 - "...Netca 10g can successfully create a schema and context in W2k but does not in W2003. This reproduces on both the domain server and a client..."

  • Problems on creating table under schema for BPM Demo project

    hi,
    i have not enough experience in database concepts, but i can create ,insert and modify the tables and data by using SQL query in oracle database 10 g express edition
    The reason behind send this qurery is i wanted to create the database tables under "Quote" schema., which is necessary to store and retrive data for my BPM demo project.
    Two important . Sql scirpt file namely create_user.sql and quote.sql used to create the database tables under "quote" schema available on e:/bpm/sql
    i could create "quote" schema by this command on commandline,
    >cd e:/bpm/sql
    >sqlplus sys/welcome as sysdba @create_user.sql quote quote
    but when creating database tables under "quote" schema , i got "SP2-0734 - unknown command exception thrown
    in commandline i was used like this to create table,
    >sqlplus quote quote @quote.sql
    Can anyone who familiar with database query concept help me to create tables on "quote " schema,
    thanks in advance

    Hello,
    Please find enclosed a complete chapter about the CREATE TABLE statement:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_7002.htm#i2095331
    At the end there're many examples.
    Hope this help.
    Best regards,
    Jean-Valentin

  • Installation stuck at Create database schema Phase 13 of 27

    Hi
    I am installing the Netweaver 7.01 SP3 and have already removed it completely after getting stuck at the same installation step. Do not know what is going wrong. A small extract of the log is shown below. Any advice on how to proceed will be helpful. I know when einstalling it has to be removed completely which I did using uninstallation and then clean up tool. But again it is stooping at the same step. I had let it run more almost two days but of no use. My system configuration is good enough with 2GB RAM etc.
    INFO       2009-03-12 16:52:00.443 [synxcpath.cpp:807]
               CSyPath::createDirectory()
    Creating directory C:\sapdb.
    INFO       2009-03-12 16:52:00.458 [synxcpath.cpp:807]
               CSyPath::createDirectory()
    Creating directory C:\sapdb\NSP.
    INFO       2009-03-12 16:52:00.458 [synxcpath.cpp:807]
               CSyPath::createDirectory()
    Creating directory C:\sapdb\NSP\saplog.
    INFO       2009-03-12 16:52:00.474 [synxcpath.cpp:807]
               CSyPath::createDirectory()
    Creating directory E:\sapdb\NSP\sapdata.
    INFO       2009-03-12 16:52:01.67 [sixxcstepexecute.cpp:790]
    Execute step sdb_create_db_instance of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|SdbPreInstanceDialogs|ind|ind|ind|ind|4|0|SdbInstanceDialogs|ind|ind|ind|ind|1|0|SDB_INSTANCE_CREATE|ind|ind|ind|ind|0|0
    File sapdb.inf does exist. Will use the commands in file sapdb.inf.
    INFO       2009-03-12 16:52:06.544 [sixxcstepexecute.cpp:790]
    Execute step sdb_init_instance_type of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|SdbPreInstanceDialogs|ind|ind|ind|ind|4|0|SdbInstanceDialogs|ind|ind|ind|ind|1|0|SDB_INSTANCE_CREATE|ind|ind|ind|ind|0|0
    INFO       2009-03-12 17:12:38.722 [sixxcstepexecute.cpp:790]
    Execute step CheckDBUnicode of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
    INFO       2009-03-12 17:12:39.883 [sixxcstepexecute.cpp:790]
    Execute step CreateDbSchema of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
    Also see log browser from the installation window............................
    Please see below as it is geeting stuck at
    component ><![CDATA[Run ABAP Reports]]></component><currentprogress current="105" total="216"/>
    Mar 12, 2009 5:12:35 PM [Info]:                                                  com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[SAPinstCommLink,5,main]]: Received: <?xml version="1.0" encoding="UTF-8"?><sapinstgui version="1.0"><dialog sid="diProgress" progress="true" windowtitle="SAPinst vtaneja2@skumar278-1: SAP NetWeaver 7.0 SR1 including Enhancement Package 1 &gt; SAP Application Server ABAP &gt; MaxDB &gt; Central System &gt; Central System"><title>Task Progress</title><description>Task is running</description><status><![CDATA[]]></status><component  current="true"><![CDATA[Create users for SAP system]]></component><component  current="true"><![CDATA[Install common system files]]></component><component  current="true"><![CDATA[Unpack SAP archives]]></component><component  current="true"><![CDATA[Install SAP Cryptographic component><component ><![CDATA[Perform MaxDB post-load activities]]></component><component ><![CDATA[Import MaxDB statistics]]></component><component ><![CDATA[Install central instance]]></component><component ><![CDATA[Start central services instance]]></component><component ><![CDATA[Start instance]]></component><component ><![CDATA[ABAP post installation activities]]></component><component ><![CDATA[Check DDIC password]]></component><component ><![CDATA[Run ABAP Reports]]></component><currentprogress current="99" total="216"/>
    <button sid="btPREV" default="false" enabled="false" ><caption>&lt; &amp;Back</caption><action>ACTION_PREV</action><tooltiphelp><![CDATA[]]></tooltiphelp></button><button sid="btNEXT" enabled="false" ><caption>&amp;Next</caption><action sendValuesBack="false">ACTION_NEXT</action><tooltiphelp></tooltiphelp></button></dialog></sapinstgui>
    Mar 12, 2009 5:12:35 PM [Info]:                                                  com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[SAPinstCommLink,5,main]]: Received: <?xml version="1.0" encoding="UTF-8"?><sapinstgui version="1.0"><dialog sid="diProgress" progress="true" windowtitle="SAPinst [Setup database connection for user SKUMAR278-1\nspadm]]></component><component ><![CDATA[Setup database connection for user skumar278-1\SAPServiceNSP]]></component><component ><![CDATA[Perform MaxDB pre-load activities]]></component><component ><![CDATA[Import ABAP]]></component><component ><![CDATA[Post load activities]]></component><component ><![CDATA[Perform MaxDB post-load activities]]></component><component ><![CDATA[Import MaxDB statistics]]></component><component ><![CDATA[Install central instance]]></component><component ><![CDATA[Start central services instance]]></component><component ><![CDATA[Start instance]]></component><component ><![CDATA[ABAP post installation activities]]></component><component ><![CDATA[Check DDIC password]]></component><component ><![CDATA[Run ABAP Reports]]></component><currentprogress current="100" total="216"/>
    <button sid="btPREV" default="false" enabled="false" >
    vtaneja2@skumar278-1: SAP NetWeaver 7.0 SR1 including Enhancement Package 1 &gt; SAP Application Server ABAP &gt; MaxDB &gt; Central System &gt; Central System"><title>Task Progress</title><description>Task is running</description><status><![CDATA[]]></status><component  CDATA[Prepare database schema for ABAP]]></component><component  current="true"><![CDATA[Create database schema]]></component><component ><![CDATA[Create sequence for the ABAP user]]></component><component ><![CDATA[Setup database connection for user SKUMAR278-1\nspadm]]></component><component ><![CDATA[Setup database connection for user skumar278-1\SAPServiceNSP]]></component><component ><![CDATA[Perform MaxDB pre-load activities]]></component><component ><![CDATA[Import ABAP]]></component><component ><![CDATA[Post load activities]]></component><component ><![CDATA[Perform MaxDB post-load activities]]></component><component ><![CDATA[Import MaxDB statistics]]></component><component ><![CDATA[Install central instance]]></component><component ><![CDATA[Start central services instance]]></component><component ><![CDATA[Start instance]]></component><component ><![CDATA[ABAP post installation activities]]></component><component ><![CDATA[Check DDIC password]]></component><component ><![CDATA[Run ABAP Reports]]></component><currentprogress current="104" total="216"/>
      [Install central instance]]></component><component ><![CDATA[Start central services instance]]></component><component ><![CDATA[Start instance]]></component><component ><![CDATA[ABAP post installation activities]]></component><component ><![CDATA[Check DDIC password]]></component><component ><![CDATA[Run ABAP Reports]]></component><currentprogress current="105" total="216"/>
    <button sid="btPREV" default="false" enabled="false" ><caption>&lt; &amp;Back</caption><action>ACTION_PREV</action><tooltiphelp><![CDATA[]]></tooltiphelp></button><button sid="btNEXT" enabled="false" ><caption>&amp;Next</caption><action sendValuesBack="false">ACTION_NEXT</action><tooltiphelp></tooltiphelp></button></dialog></sapinstgui>
    Mar 12, 2009 5:12:39 PM [Info]:                                                  com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[SAPinstCommLink,5,main]]: Received: <?xml version="1.0" encoding="UTF-8"?><sapinstgui version="1.0"><update><updateitem><dialogstatus><![CDATA[ ]]></dialogstatus></updateitem></update></sapinstgui>
    Mar 12, 2009 5:38:16 PM [Info]:                                                  com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[AWT-EventQueue-0,6,main]]: Sent: <?xml version="1.0"?><sapinstlog severity="FLOW TRACE" filename="" version="1.0"/>
    Mar 12, 2009 5:38:16 PM [Info]:                                                  com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[SAPinstCommLink,5,main]]: Received: <?xml version="1.0" encoding="UTF-8"?><sapinstlog version="1.0" append="false" filename="C:\Program Files\sapinst_instdir\NW701\AS-ABAP\ADA\CENTRAL\sapinst_dev.log"/>
    Mar 12, 2009 5:43:59 PM [Info]:                                                  com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[AWT-EventQueue-0,6,main]]: Sent: <?xml version="1.0"?><sapinstlog logoff="true" filename="" version="1.0"/>
    Mar 12, 2009 6:08:17 PM [Info]:                                                  com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[AWT-EventQueue-0,6,main]]: Sent: <?xml version="1.0"?><sapinstlog logoff="true" filename="" version="1.0"/>
    Mar 12, 2009 6:30:31 PM [Info]:                                                  com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[AWT-EventQueue-0,6,main]]: Sent: <?xml version="1.0"?><sapinstlog logoff="true" filename="" version="1.0"/>
    Thanks in advance
    Vikas

    Guess you are talking about sapinst.log file. Below are the last few lines after which it did not proceed
    Do see the last step create DB schema....... The previos log was from sapinst_dev.log 
    Oliver I have a doubt could it be becuase of the host name.
    The host name of my machine is "skumar278-1" with DNS domain name for SAP system "asiapac.globalcsc.net"
    Could this be the reason for the problem i am facing i.e installation getting stuck at phase 13 Create DB schema.... Other than this I cannot see anything else which can go wrong.. Do have the DHCP server available..
    The page file as per the ram settings i.e for 2 GB should be 3072 so I have set it to the same. Though
    the prerequisite page shows
    "For the selected services at least 7138 MB swap space are recommended. Current value: 2851 MB. (Updated 2005-06-24)"
    Can this be the reason???
    Also I just looked at the services file.. there are about about 4-5 different files with the name services .3 services.4 ...  services.5 etc als there is no entry for port 3900 3600 & 8000.. .. do not know what to do... Please suggest..
    INFO 2009-03-12 17:12:35.412
    Execute step CheckDbExistence of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
    INFO 2009-03-12 17:12:35.726
    Execute step check_dbm_dba_user_passwd of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
    INFO 2009-03-12 17:12:37.718
    Execute step StartDb of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
    INFO 2009-03-12 17:12:38.722
    Execute step CheckDBUnicode of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
    INFO 2009-03-12 17:12:39.883
    Execute step CreateDbSchema of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0

  • Vivado 2013.4 ERROR: [IP_Flow 19-395] Problem validating against XML schema: Invalid value format for this type spirit:order

    Hello,
    I just downloaded and installed Vivado 2013.4 on my Xubuntu 12.04 machine. But when I try to add IP from the IP catalog, as in the ug937 Lab1 step2, it fails with obscure error messages (see below).
    Here's basically what I did:
    -In the Flow Navigator, i select the IP Catalog button.
    -In the search field of the IP Catalog, I type DDS.
    -then I double-click the DDS Compiler and my error occure.
    Please Help,
    Jerome.
    [HDL 9-1061] Parsing VHDL file "/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sources/sinegen_demo.vhd" into library work ["/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sources/sinegen_demo.vhd":1]
    Analysis Results[IP_Flow 19-3378] Failed to create IP instance 'dds_compiler_0'. Error saving IP file.
    [IP_Flow 19-193] Failed to save BOM file '/home/jmassol/.Xil/Vivado-2683-ubuntu/coregen/dds_compiler_0/dds_compiler_0.xml'.
    [IP_Flow 19-193] Failed to save BOM file '/home/jmassol/.Xil/Vivado-2683-ubuntu/coregen/dds_compiler_0/dds_compiler_0.xml'.
    [HDL 9-1061] Parsing VHDL file "/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sources/sinegen.vhd" into library work ["/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sources/sinegen.vhd":1]
    [IP_Flow 19-194] Failed to save IP instance 'dds_compiler_0'.
    set_property target_language Verilog [current_project]
    [IP_Flow 19-193] Failed to save BOM file '/home/jmassol/.Xil/Vivado-2683-ubuntu/coregen/dds_compiler_0/dds_compiler_0.xml'.
    [IP_Flow 19-193] Failed to save BOM file '/home/jmassol/.Xil/Vivado-2683-ubuntu/coregen/dds_compiler_0/dds_compiler_0.xml'.
    [IP_Flow 19-395] Problem validating against XML schema: Invalid value format for this type spirit:order
    [IP_Flow 19-194] Failed to save IP instance 'dds_compiler_0'.
    [IP_Flow 19-395] Problem validating against XML schema: Invalid value format for this type spirit:order
    sources_1[IP_Flow 19-194] Failed to save IP instance 'dds_compiler_0'.
    [HDL 9-1061] Parsing VHDL file "/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sources/sinegen_demo.vhd" into library work ["/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sources/sinegen_demo.vhd":1]
    [IP_Flow 19-194] Failed to save IP instance 'dds_compiler_0'.
    [IP_Flow 19-194] Failed to save IP instance 'dds_compiler_0'.
    update_compile_order -fileset sim_1
    [IP_Flow 19-193] Failed to save BOM file '/home/jmassol/.Xil/Vivado-2683-ubuntu/coregen/dds_compiler_0/dds_compiler_0.xml'.
    [HDL 9-1061] Parsing VHDL file "/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sources/fsm.vhd" into library work ["/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sources/fsm.vhd":1]
    [IP_Flow 19-3378] Failed to create IP instance 'dds_compiler_0'. Error saving IP file.
    [IP_Flow 19-395] Problem validating against XML schema: Invalid value format for this type spirit:order
    [IP_Flow 19-3378] Failed to create IP instance 'dds_compiler_0'. Error saving IP file.
    [IP_Flow 19-395] Problem validating against XML schema: Invalid value format for this type spirit:order
    [HDL 9-1061] Parsing VHDL file "/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sources/fsm.vhd" into library work ["/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sources/fsm.vhd":1]
    [IP_Flow 19-395] Problem validating against XML schema: Invalid value format for this type spirit:order
    [IP_Flow 19-3378] Failed to create IP instance 'dds_compiler_0'. Error saving IP file.
    [HDL 9-1654] Analyzing Verilog file "/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sim/testbench.v" into library work ["/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sim/testbench.v":1]
    [IP_Flow 19-395] Problem validating against XML schema: Invalid value format for this type spirit:order
    [HDL 9-1061] Parsing VHDL file "/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sources/debounce.vhd" into library work ["/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sources/debounce.vhd":1]
    [IP_Flow 19-193] Failed to save BOM file '/home/jmassol/.Xil/Vivado-2683-ubuntu/coregen/dds_compiler_0/dds_compiler_0.xml'.
    [IP_Flow 19-2313] Loaded Vivado IP repository '/opt/Xilinx/Vivado/2013.4/data/ip'.
    [IP_Flow 19-395] Problem validating against XML schema: Invalid value format for this type spirit:order
    [IP_Flow 19-3378] Failed to create IP instance 'dds_compiler_0'. Error saving IP file.
    [IP_Flow 19-1704] No user IP repositories specified
    [IP_Flow 19-194] Failed to save IP instance 'dds_compiler_0'.
    [IP_Flow 19-193] Failed to save BOM file '/home/jmassol/.Xil/Vivado-2683-ubuntu/coregen/dds_compiler_0/dds_compiler_0.xml'.
    [IP_Flow 19-3378] Failed to create IP instance 'dds_compiler_0'. Error saving IP file.
    Vivado Commands[Project 1-11] Changing the constrs_type of fileset 'constrs_1' to 'XDC'.
    [IP_Flow 19-193] Failed to save BOM file '/home/jmassol/.Xil/Vivado-2683-ubuntu/coregen/dds_compiler_0/dds_compiler_0.xml'.
    [IP_Flow 19-3378] Failed to create IP instance 'dds_compiler_0'. Error saving IP file.
    [IP_Flow 19-193] Failed to save BOM file '/home/jmassol/.Xil/Vivado-2683-ubuntu/coregen/dds_compiler_0/dds_compiler_0.xml'.
    sim_1[IP_Flow 19-194] Failed to save IP instance 'dds_compiler_0'.
    [IP_Flow 19-395] Problem validating against XML schema: Invalid value format for this type spirit:order
    [HDL 9-1654] Analyzing Verilog file "/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sim/testbench.v" into library work ["/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sim/testbench.v":1]
    [IP_Flow 19-395] Problem validating against XML schema: Invalid value format for this type spirit:order
    [IP_Flow 19-3378] Failed to create IP instance 'dds_compiler_0'. Error saving IP file.
    [IP_Flow 19-234] Refreshing IP repositories
    [IP_Flow 19-3378] Failed to create IP instance 'dds_compiler_0'. Error saving IP file.
    [IP_Flow 19-395] Problem validating against XML schema: Invalid value format for this type spirit:order
    [IP_Flow 19-194] Failed to save IP instance 'dds_compiler_0'.
    [IP_Flow 19-193] Failed to save BOM file '/home/jmassol/.Xil/Vivado-2683-ubuntu/coregen/dds_compiler_0/dds_compiler_0.xml'.
    [IP_Flow 19-194] Failed to save IP instance 'dds_compiler_0'.
    [IP_Flow 19-395] Problem validating against XML schema: Invalid value format for this type spirit:order
    [IP_Flow 19-193] Failed to save BOM file '/home/jmassol/.Xil/Vivado-2683-ubuntu/coregen/dds_compiler_0/dds_compiler_0.xml'.
    [IP_Flow 19-194] Failed to save IP instance 'dds_compiler_0'.
    [IP_Flow 19-3378] Failed to create IP instance 'dds_compiler_0'. Error saving IP file.
    [HDL 9-1061] Parsing VHDL file "/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sources/debounce.vhd" into library work ["/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sources/debounce.vhd":1]
    [IP_Flow 19-3378] Failed to create IP instance 'dds_compiler_0'. Error saving IP file.
    [IP_Flow 19-194] Failed to save IP instance 'dds_compiler_0'.
    [HDL 9-1061] Parsing VHDL file "/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sources/sinegen.vhd" into library work ["/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sources/sinegen.vhd":1]
    set_property constrs_type XDC [current_fileset -constrset]
     

    We had the same problem when switching to Ubuntu 14.04, and there actually is a solution for it: make sure your locales are set to English.
    $> env | grep LC_*
    should only show english (or C) locales, all others are known to cause parsing errors in some numbers, usually caused by wrong string-to-float conversions (e.g. 18,29 in german is 18.29 in english). You can change the locales in the file /etc/default/localesThis is not the first time we had problems with the locale settings, Xilinx does not seem to test their software with anything else than en_US, causing obscure bugs like this one.
    HTH
    Philipp

  • 1Z0-051 SQL Fundamentals 1 Exam Guide Problem with loading HR schema

    Hi,
    I’m new to Oracle Databases and have started studying with Oracle Press 11g SQL Fundamentals 1 Exam Guide 1Z0-051.
    The book is good except the problem I have is the HR schema they talk about is made up off seven tables (Countries, Departments, Employees, Job_History, Jobs, Locations and Regions).
    But the HR schema that I get is only made up off 4 tables (Bonus, Dept, Emp, Salgrade).
    Can anyone who has used this book please advise what I’m doing wrong and how I can get the correct Schema please.

    Hi,
    Well I haven't used that book but with whatever little I know , I shall try to attempt the question.
    There was an ancient schema for Human Resource, SCOTT which is haivng 4 tables only. Since 9i, there were an introduction of new schemas like HR ( Human Resource), OE( Order Entry) and so on. So the book is referring to that.
    Now when you create the database using Database Configuration Assistant, there comes an option with a check box, that do you want to create sample schemas or not? If you select that option, you get all these schemas in your db. If not, you only get the old SCOTT schema.
    If you have missed creating these schemas( which I belive is the case) than you need to manually create them. Here is the description for how to create them manually.
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28328/installation.htm#sthref20
    HTH
    Aman....

  • Hoe to Create new schema?

    I have oracle installed in my PC, and then i installed PL/SQL developer. now i want to create a schema for me.I have given a tnsnames.ora file but i dont have any password.
    Can any body tell me that in this case am I be able to create a schema or not?
    If yes then please guide me.
    Is anything else required to understand my problem?
    Thanks in advance.
    Soumen

    Check this link for creating schemas.
    http://www.psoug.org/reference/schema.html
    For creating schemas, login as SYSTEM. You may have entered password when installing oracle.

  • Create Authorization Scheme for LDAP Groups

    I have installed APEX 4.0 in my staging environment and got the LDAPS to finally work. I can now login to the application with my LAN user name and password. The only problem is so can everyone else on the LAN. So I wanted to create an authorization scheme that would only allow a certain group or groups of LDAP users into the application rather than everyone.
    I am at the Create Authorization Scheme page and am kind of stuck. Has anyone done this before and can share some SQL or knowledge?

    hi larosejh
    If you want to do that you must write your own procedures using the dbms_ldap package. I found some code a while back that searches the LDAP. Maybe you can use this to create a function for your authentication.
    DECLARE
    retval PLS_INTEGER;
    my_session DBMS_LDAP.session;
    my_attrs DBMS_LDAP.string_collection;
    my_message DBMS_LDAP.message;
    my_entry DBMS_LDAP.message;
    entry_index PLS_INTEGER;
    my_dn VARCHAR2(256);
    my_attr_name VARCHAR2(256);
    my_ber_elmt DBMS_LDAP.ber_element;
    attr_index PLS_INTEGER;
    i PLS_INTEGER;
    my_vals      DBMS_LDAP.STRING_COLLECTION ;
    ldap_host VARCHAR2(256);
    ldap_port VARCHAR2(256);
    ldap_user VARCHAR2(256);
    ldap_passwd VARCHAR2(256);
    ldap_base VARCHAR2(256);
    BEGIN
    retval := -1;
    -- Please customize the following variables as needed
    ldap_host := 'host';
    ldap_port := '389';
    -- In case of update/insert/delete need change ldap_user to other.
         -- ldap_user := 'cn=orcladmin';
         -- ldap_passwd:= 'welcome';
    -- set User and password to NULL for anonymous user.
    ldap_user := 'user';
    ldap_passwd:= 'password';
    ldap_base := 'CN=Users,DC=ee,DC=intern';
    -- end of customizable settings
    -- Start output Header--
    DBMS_OUTPUT.PUT_LINE('+++++++++++++++++++++++++++++++++++++++++++++++++++');
    DBMS_OUTPUT.PUT('> DBMS_LDAP Search Example ');
    DBMS_OUTPUT.PUT_LINE('');
    DBMS_OUTPUT.PUT_LINE(RPAD('> LDAP Host ',25,' ') || ': ' || ldap_host);
    DBMS_OUTPUT.PUT_LINE(RPAD('> LDAP Port ',25,' ') || ': ' || ldap_port);
    -- Choosing exceptions to be raised by DBMS_LDAP library.
    DBMS_LDAP.USE_EXCEPTION := TRUE;
    my_session := DBMS_LDAP.init(ldap_host,ldap_port);
    DBMS_OUTPUT.PUT_LINE (RPAD('> Ldap session ',25,' ') || ': ' ||
    RAWTOHEX(SUBSTR(my_session,1,8)) ||
    '(returned from init)');
    -- bind to the directory
    retval := DBMS_LDAP.simple_bind_s(my_session,
    ldap_user, ldap_passwd);
    DBMS_OUTPUT.PUT_LINE(RPAD('> simple_bind_s Returns ',25,' ') || ': '
    || TO_CHAR(retval));
    -- issue the search
    my_attrs(1) := 'dn'; -- retrieve all attributes
    retval := DBMS_LDAP.search_s(my_session, ldap_base,
    DBMS_LDAP.SCOPE_SUBTREE,
    'objectclass=*',
    my_attrs,
    0,
    my_message);
    DBMS_OUTPUT.PUT_LINE(RPAD('> search_s Returns ',25,' ') || ': '
    || TO_CHAR(retval));
    DBMS_OUTPUT.PUT_LINE (RPAD('> LDAP message ',25,' ') || ': ' ||
    RAWTOHEX(SUBSTR(my_message,1,8)) ||
    '(returned from search_s)');
    -- count the number of entries returned
    retval := DBMS_LDAP.count_entries(my_session, my_message);
    DBMS_OUTPUT.PUT_LINE(RPAD('> Number of Entries ',25,' ') || ': '
    || TO_CHAR(retval));
    DBMS_OUTPUT.PUT_LINE('+++++++++++++++++++++++++++++++++++++++++++++++++++');
    -- End output Heading --
    -- get the first entry
    my_entry := DBMS_LDAP.first_entry(my_session, my_message);
    entry_index := 1;
    -- Loop through each of the entries one by one
    while my_entry IS NOT NULL loop
    -- print the current entry
    my_dn := DBMS_LDAP.get_dn(my_session, my_entry);
    -- DBMS_OUTPUT.PUT_LINE (' entry #' || TO_CHAR(entry_index) ||
    -- ' entry ptr: ' || RAWTOHEX(SUBSTR(my_entry,1,8)));
    DBMS_OUTPUT.PUT_LINE (' dn: ' || my_dn);
    my_attr_name := DBMS_LDAP.first_attribute(my_session,my_entry,
    my_ber_elmt);
    attr_index := 1;
    while my_attr_name IS NOT NULL loop
    my_vals := DBMS_LDAP.get_values (my_session, my_entry,
    my_attr_name);
    if my_vals.COUNT > 0 then
    FOR i in my_vals.FIRST..my_vals.LAST loop
    DBMS_OUTPUT.PUT_LINE(' ' || my_attr_name || ' : ' ||
    SUBSTR(my_vals(i),1,200));
    end loop;
    end if;
    my_attr_name := DBMS_LDAP.next_attribute(my_session,my_entry,
    my_ber_elmt);
    attr_index := attr_index+1;
    end loop;
    my_entry := DBMS_LDAP.next_entry(my_session, my_entry);
    DBMS_OUTPUT.PUT_LINE(' --------------------------------------------------- ');
    entry_index := entry_index+1;
    end loop;
    -- unbind from the directory
    retval := DBMS_LDAP.unbind_s(my_session);
    DBMS_OUTPUT.PUT_LINE(RPAD('unbind_res Returns ',25,' ') || ': ' ||
    TO_CHAR(retval));
    -- Start Output Footer --
    DBMS_OUTPUT.PUT_LINE('Directory operation Successful .. exiting');
    -- Start Output Footer --
    -- Handle Exceptions
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE(' Error code : ' || TO_CHAR(SQLCODE));
    DBMS_OUTPUT.PUT_LINE(' Error Message : ' || SQLERRM);
    DBMS_OUTPUT.PUT_LINE(' Exception encountered .. exiting');
    END;
    /

  • Create Authentication Scheme From Scretch

    Hi there,
    I have build an application for users, but the problem i ran in to is that when i try to create a new Create Authentication Scheme,
    it doenst let me create one from scratch.
    only two options avaliable are :
    - Based on a pre-configured scheme from the gallery
    - As a copy of an existing authentication scheme
    Can some one maby explain me why i dont have the option to create a scheme from scratch, and what will i need to do to get the option.
    Yours Sincerly,
    Sebastian!

    The scenario is as follow,
    I'm working on a project as for my finals, and the they asked us to make a Authetication login for users.
    I can make groups and users in Apex. I've put some users in a group called: 'Developers'. I want users that are in 'Developers' to be blocked
    from certain pages in the application (they may not access all the pages, only certain pages).
    So i have read the book Pro Oracle Application Express 4 AUTHENTICATION AND USER MANAGEMENT
    and the book says you need to start wich an authentication for users.
    I tried it with several tutorials and still it doesnt work. I'm not that good in programming, I do understand what they are saying but finding everything in apex.oracle is just such a work.
    I did the following.
    Creating the my_users
    apexdemo@10gR2> create table my_users(
    username varchar2(8),
    password varchar2(8)
    insert into user_repository values
    ('john', '1234');
    This was to create a table and add a user into it.
    Next i created a custom Authentication Scheme and added the following code
    create or replace package pkg_auth as
    function authenticate(p_username in varchar2,
    p_password in varchar2) return boolean;
    end;
    create or replace package body pkg_auth as
    function authenticate(p_username in varchar2,
    p_password in varchar2) return boolean is
    -- default the result to 0
    v_result integer := 0;
    begin
    -- store 1 in v_result if a matching row
    -- can be found
    select 1
    into v_result
    from user_repository
    where username = lower(p_username)
    and password = p_password;
    -- return true if a matching record was found
    return(v_result = 1);
    exception
    -- if no record was found then return false
    when no_data_found then
    return false;
    end authenticate;
    end;
    I tried the code with
    declare
    bres boolean := false;
    begin
    -- use the correct username and password
    bres := pkg_auth.authenticate('john', '1234');
    if (bres = true) then
    dbms_output.put_line('Authentication was successful');
    else
    dbms_output.put_line('Authentication failed');
    end if;
    end;
    and it returned : Authentication was successful
    But when i try to login with the user him self i says login credentials invalid
    I dont know what i;m doing wrong or what i'm forgetting here to make it work.

  • LiveCache Server Install stuck on step "Create database Schema"

    Hi,
    I am trying to install LiveCache Server 7.7 using MaxDB as the database on a Windows 2003 Server (64 bit).  However, it seems to be stuck on the "Create database  schema" step.  This is the last step on the installation.   We run it for 24 hours without the step completing.  We retried several times but the same result.  I have seen that this happened to somebody on a different forum but no solution was provided.  Any help is appreciated.
    Willy

    Hello,
    -> Are you using the "@" character in the passwords of the database users?
    -> May be the issue is similar to the reported in the SAP Note 848436?
    -> Please try to run the installation with default passwords:
           control/control
           superdba/admin
           sap<SID>/sap
    -> See the documentation at http://maxdb.sap.com/doc/7_7/default.htm -> Database Administration -> Managing Users
                                         -> Conventions for User Names and Passwords
    -> SAP Note 767598 (SAP MaxDB: Available Documentation)
    -> As SAP customer you have the option to create the OSS ticket on this issue, we could login to the system to review the problem & discuss the issue in more details.
    Thank you and best regards, Natalia Khlopina

  • Problems with 11g Global Schema / Java API Test Programs

    Hi,
    In the process of trying to get the 11g sample java api programs up and running, I've encountered a problem. Having installed without error the sample schemas for documentation and set up the 11g version of the test code, I get this error when I try to run BuildAW11g.java
    Created the AW GLOBAL_AWJ
    Identifier "GLOBAL.CHANNEL_DIM.TOTAL_ID" is invalid.
         at
    oracle.olapi.syntax.parser.IdentifierResolver.error(Unknown Source)
         at oracle.olapi.syntax.SyntaxObject.validate(Unknown Source)
         at oracle.olapi.syntax.SyntaxObject.fromSyntax(Unknown Source)
         at oracle.olapi.syntax.SyntaxObject.fromSyntax(Unknown Source)
         at oracle.olapi.syntax.SyntaxObject.fromSyntax(Unknown Source)
         at oracle.olapi.examples.metadata.BuildAW11g.createDimension(BuildAW11g.java:470)
         at oracle.olapi.examples.metadata.BuildAW11g.run(BuildAW11g.java:120)
         at oracle.olapi.examples.BaseExample11g.execute(BaseExample11g.java:54)
         at oracle.olapi.examples.BaseExample11g.execute(BaseExample11g.java:74)
         at oracle.olapi.examples.metadata.BuildAW11g.main(BuildAW11g.java:989)
    This seems to indicate that there is a problem with the sample schema - that GLOBAL.CHANNEL_DIM.TOTAL_ID doesn't exist. Is that right?
    On the topic of the sample schemas, a quick question. The install script runs without error so presumably the tables described in the readme had been installed, but I'm not sure. How can I verify this? When I connect as global using Oracle SQL Developer and expand 'Tables' in the right hand pane, I don't see any tables at all. I would have (perhaps naively) expected to see the tables listed in the samples schemas readme, eg, CHANNEL_DIM. Should I have? If not, how can I view these tables? Thanks in advance for any input anyone may have.
    -exits

    After a reboot the "DHCP-check" is passed:
    INFO: Checking DetectIfDHCPAssignedIP
         This is a prerequisite condition to test whether the primary IP address of the system is DHCP-assiged or static.
    INFO: Detecting the IP.....:192.168.1.4
    INFO: Checking the network interface display name.... :eth0
    INFO: Checking the network reference name..... :eth0
    INFO: Checking the platform .......46
    INFO: Checking the LINUX vendor .... :enterprise
    INFO: Inspect interface file :/etc/sysconfig/network-scripts/ifcfg-eth0
    INFO: Check complete. The overall result of this check is: Passed
    But net configuration assistant is still failing.

  • Create a schema B whose structure is same as schmea A but without any data

    Hi Buddies,
    I will create a schema B whose structure is same as schmea A, but without any data imported from A?
    schema A in one production instance, schema B will be created in a test instance in another server.
    9i database.
    Is there any buddy has any good way to achive this purpose?
    Thanks a lot in advance
    Jerry

    Hi friends:
    OK, I prepare a new exp/imp, but befoe doing that, I want to identify all errors happened in previous exp/imp
    1. I set statistics=none in exp par file, now I have a clean export without any warnings. :-)
    2. I checked previous imp log, found the below problem
    1)
    ORA-01917 user or role xxx doesn't exit-- this is not important, some users have not been created in test
    instance. while, we can set grants=n in the later imp par file.
    2)
    ORA-01659. unable to allocate minextents beyond 63 in tablespace RPT_IN_MID
    --this is seriours. I found the total same errors like below
    ORA-01658: unable to create INITIAL extent for segment in tablespace RPT_IN_MID
    ORA-01658: unable to create INITIAL extent for segment in tablespace RPT_IN_MID
    ORA-01658: unable to create INITIAL extent for segment in tablespace RPT_IN_MID
    ORA-01658: unable to create INITIAL extent for segment in tablespace RPT_IN_MID
    ORA-01658: unable to create INITIAL extent for segment in tablespace RPT_IN_MID
    ORA-01658: unable to create INITIAL extent for segment in tablespace RPT_IN_MID
    ORA-01658: unable to create INITIAL extent for segment in tablespace RPT_IN_MID
    ORA-01658: unable to create INITIAL extent for segment in tablespace RPT_IN_MID
    ORA-01658: unable to create INITIAL extent for segment in tablespace RPT_IRIN
    ORA-01658: unable to create INITIAL extent for segment in tablespace RPT_IRTB
    ORA-01658: unable to create INITIAL extent for segment in tablespace RPT_FCPTB
    ORA-01658: unable to create INITIAL extent for segment in tablespace RPT_FCPTB
    ORA-01658: unable to create INITIAL extent for segment in tablespace RPT_FLFTB
    ORA-01658: unable to create INITIAL extent for segment in tablespace RPT_FLFTB
    ORA-01658: unable to create INITIAL extent for segment in tablespace RPT_IN_MID
    ORA-01658: unable to create INITIAL extent for segment in tablespace RPT_IN_MID
    ORA-01658: unable to create INITIAL extent for segment in tablespace RPT_TABLE
    ORA-01658: unable to create INITIAL extent for segment in tablespace RPT_TABLE
    ORA-01658: unable to create INITIAL extent for segment in tablespace RPT_IN_MID
    ORA-01658: unable to create INITIAL extent for segment in tablespace RPT_IN_MID
    ORA-01658: unable to create INITIAL extent for segment in tablespace RPT_IN_MID
    ORA-01658: unable to create INITIAL extent for segment in tablespace RPT_IN_MID
    ORA-01658: unable to create INITIAL extent for segment in tablespace RPT_IN_MID
    ORA-01658: unable to create INITIAL extent for segment in tablespace RPT_FCPTB
    ORA-01658: unable to create INITIAL extent for segment in tablespace RPT_IN_MID
    ORA-01658: unable to create INITIAL extent for segment in tablespace RPT_IN_MID
    ORA-01658: unable to create INITIAL extent for segment in tablespace RPT_IN_MID
    ORA-01658: unable to create INITIAL extent for segment in tablespace RPT_IN_MID
    ORA-01658: unable to create INITIAL extent for segment in tablespace RPT_IN_MID
    but, before import, I already add datafiles to the all above tablespace one by one.
    like,
    alter tablespace RPT_IRTB
    Add datafile '/cma7/appl/oracle/dods/dt_irtb02.dbf' Size 64M;
    why still have this problem? is there anything I can improve, please advice?
    3) ORA-2000 unable to set values for xxxx (object), doesn't exit or insufficient privileges.
    (do I need to set user as sys in the future imp par file)?
    for the database link problem, I will check after the above problem resolved.
    Thank you very much
    Jerry

  • Could not create HR schema - Oracle 10gR2

    Dear all,
    I am running Oracle database 10.2.0.2.0 on Sun Solaris for x86.
    In the installation process, I created a template database named "orcl". Both the installation of software and database creation are completed successfully.
    Now I want to create the HR schema in my database, however this could not be done successfully. Please refer to ouputs below:
    bash-3.00$ sqlplus /nolog
    SQLPlus: Release 10.2.0.2.0 - Production on Mon May 17 10:29:43 2010*
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    SQL> connect sys/oracle@orcl as sysdba
    Connected.
    SQL> alter user hr account unlock identified by hr;
    User altered.
    SQL> @?/demo/schema/human_resources/hr_code.sql
    Procedure created.
    BEFORE INSERT OR UPDATE OR DELETE ON employees
    ERROR at line 2:
    ORA-00942: table or view does not exist
    ALTER TRIGGER secure_employees DISABLE
    ERROR at line 1:
    ORA-04080: trigger 'SECURE_EMPLOYEES' does not exist
    Warning: Procedure created with compilation errors.
    AFTER UPDATE OF job_id, department_id ON employees
    ERROR at line 2:
    ORA-00942: table or view does not exist
    Commit complete.
    Please help me to find out why I could not create this schema and guide me how to do this.
    Any suggestion from you is appreciated.
    Thanks so much.
    HuyNQ.
    Edited by: user8723822 on May 16, 2010 8:47 PM

    Dear all,
    Sorry for my mistake. Actually, after executing some SQL command, I see that the HR schema already applied into my system. For example:
    With these commands:
    select * from HR.countries;
    select * from hr.regions;
    select * from HR.departments;
    the output are:
    COUNTRY_ID COUNTRY_NAME                             REGION_ID
    AR         Argentina                                2
    AU         Australia                                3
    BE         Belgium                                  1
    BR         Brazil                                   2
    CA         Canada                                   2
    CH         Switzerland                              1
    CN         China                                    3
    DE         Germany                                  1
    DK         Denmark                                  1
    EG         Egypt                                    4
    FR         France                                   1
    HK         HongKong                                 3
    IL         Israel                                   4
    IN         India                                    3
    IT         Italy                                    1
    JP         Japan                                    3
    KW         Kuwait                                   4
    MX         Mexico                                   2
    NG         Nigeria                                  4
    NL         Netherlands                              1
    SG         Singapore                                3
    UK         United Kingdom                           1
    US         United States of America                 2
    ZM         Zambia                                   4
    ZW         Zimbabwe                                 4
    *25 rows selected*
    REGION_ID              REGION_NAME
    *1 Europe*
    *2 Americas*
    *3 Asia*
    *4 Middle East and Africa*
    DEPARTMENT_ID          DEPARTMENT_NAME                MANAGER_ID             LOCATION_ID
    *10 Administration 200 1700*
    *20 Marketing 201 1800*
    *30 Purchasing 114 1700*
    *40 Human Resources 203 2400*
    *50 Shipping 121 1500*
    *60 IT 103 1400*
    *70 Public Relations 204 2700*
    *80 Sales 145 2500*
    *90 Executive 100 1700*
    *100 Finance 108 1700*
    *110 Accounting 205 1700*
    *120 Treasury 1700*
    *130 Corporate Tax 1700*
    *140 Control And Credit 1700*
    *150 Shareholder Services 1700*
    *160 Benefits 1700*
    *170 Manufacturing 1700*
    *180 Construction 1700*
    *190 Contracting 1700*
    *200 Operations 1700*
    *210 IT Support 1700*
    *220 NOC 1700*
    *230 IT Helpdesk 1700*
    *240 Government Sales 1700*
    *250 Retail Sales 1700*
    *260 Recruiting 1700*
    *270 Payroll 1700*
    *27 rows selected*
    My actual problem now is that I cannot connect to the database using HR user
    SQL> connect hr/oracle@orcl as sysdba
    ERROR:
    ORA-01031: insufficient privileges
    Warning: You are no longer connected to ORACLE.
    SQL> connect hr/oracle@orcl
    ERROR:
    ORA-01017: invalid username/password; logon denied
    I don't know how to connect to my database using this user and what is its password.
    Please help me in this case...
    Thanks so much for all of your replies because it really helped me to find out the problem and what actually i am facing to now.
    HuyNQ.

Maybe you are looking for

  • Adobe Acrobat Pro XI trial install failure

    I have tried several times to install the trial of Acrobat Pro XI. Each time, after the Download Assistant downloads the Installer, I run the installer, and receive two error messages. First: "The installation cannot proceed, because some of the proc

  • Cant add effects to text in Premiere CS6

    Hey Guys, I'm trying to add noise to some text in Premiere Pro 6 but no luck, I used CS5 before this and all was fine, I could just drag effects onto the text and all was fine. Am I doing something wrong? Is it add effects to still, or default roll?

  • Newby question - sorry - Velocity/volume confusion - my head

    Hello! Sorry about this. If it's any consolation, I have tried searching for the answer, but I'm still none the wiser. I've played some midi stuff in, and now I want to fade out some notes at the end of a region. Firstly, how does one change the VOLU

  • Reply email with chinese characters become

    My colleagues sent an email with Chinese characters while I'm outside the office, so I replied it using my iPhone 4S with Chinese characters too. However, my colleagues (she is using Outlook) said the email that she received is not readable. All the

  • Strange Adobe Installer Issue

    I am on a updated version Of Windows 7 x64, with Firefox browser fully updated. Firefox V.34.0.5 I download Adobe Update from Adobe only, once the DL is complete I allow, and run as admin, i have tried it without Admin as well. It opens and at that p