Errors in xdbConfiguration.sql

There are compile errors in the xdbConfiguration package. This is the new version from January 2003.
The .02 Reset Demo fails and you can't do much from there. The SQL qutput follows after this.
SQL> create or replace package body XDB_CONFIGURATION as
2 --
3 FTP_XPATH varchar2(256) := '/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port';
4 HTTP_XPATH varchar2(256) := '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port';
5 --
6 function getDatabaseSummary
7 return XMLType
8 as
9 summary xmltype;
10 dummy xmltype;
11 begin
12 select dbms_xdb.cfg_get()
13 into dummy
14 from dual;
15
16 select xmlElement
17 (
18 "Database",
19 XMLAttributes
20 (
21 x.NAME as "Name",
22 extractValue(config,'/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port') as "HTTP",
23 extractValue(config,'/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port') as "FTP"
24 ),
25 xmlElement
26 (
27 "Services",
28 (
29 xmlForest(Value as "ServiceName")
30 )
31 ),
32 xmlElement
33 (
34 "Hosts",
35 (
36 XMLForest(HOST_NAME as "HostName")
37 )
38 )
39 )
40 into summary
41 from SYS.DATABASE_SUMMARY x, (select dbms_xdb.cfg_get() config from dual);
42 return summary;
43 end;
44 --
45 procedure folderDatabaseSummary
46 as
47 result boolean;
48 targetResource varchar2(256) := '/sys/databaseSummary.xml';
49
50 xmlref ref xmltype;
51
52 begin
53
54 begin
55 dbms_xdb.deleteResource(targetResource,dbms_xdb.DELETE_FORCE);
56 exception
57 when others then
58 null;
59 end;
60
61 select make_ref(DATABASE_SUMMARY,'DATABASE_SUMMARY')
62 into xmlref
63 from DATABASE_SUMMARY;
64 result := dbms_xdb.createResource(targetResource,xmlref);
65
66 dbms_xdb.setAcl(targetResource,'/sys/acls/bootstrap_acl.xml');
67 end;
68 --
69 procedure setXDBport(PORT_XPATH varchar2, PORT_NUMBER number)
70 as
71 config XMLType;
72 begin
73 config := dbms_xdb.cfg_get();
74 select updateXML(config, PORT_XPATH, PORT_NUMBER)
75 into config
76 from dual;
77 dbms_xdb.cfg_update(config);
78 commit;
79 dbms_xdb.cfg_refresh();
80 end;
81 --
82 -- Create the setHTTPport and setFTPport procudures
83 --
84 procedure setHTTPport (PORT_NUMBER number)
85 as
86 begin
87 setXDBport(HTTP_XPATH || '/text()', PORT_NUMBER);
88 end;
89 --
90 procedure setFTPport(PORT_NUMBER number)
91 as
92 begin
93 setXDBport(FTP_XPATH || '/text()', PORT_NUMBER);
94 end;
95 --
96 end XDB_CONFIGURATION;
97 /
Warning: Package Body created with compilation errors.
SQL> show errors
Errors for PACKAGE BODY XDB_CONFIGURATION:
LINE/COL ERROR
55/6 PL/SQL: Statement ignored
55/54 PLS-00302: component 'DELETE_FORCE' must be declared
61/4 PL/SQL: SQL Statement ignored
61/20 PL/SQL: ORA-22970: name does not correspond to an object view
SQL> spool off
.02 reset Demo Output
SQL*Plus: Release 9.2.0.1.0 - Production on Thu Apr 15 02:39:11 2004
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> connect sys@&3 as sysdba
Enter password: ******
Connected.
SQL> --
SQL> -- Create home directory for target user...
SQL> --
SQL> call xdb_utilities.createHomeFolder('&1')
2 /
old 1: call xdb_utilities.createHomeFolder('&1')
new 1: call xdb_utilities.createHomeFolder('SCOTT')
call xdb_utilities.createHomeFolder('SCOTT')
ERROR at line 1:
ORA-04063: package body "XDB.XDB_UTILITIES" has errors
SQL> begin
2 if (xdb_utilities.resourceExists('/home/&1/purchaseOrders')) then
3 xdb_utilities.deleteFolder('/home/&1/purchaseOrders');
4 end if;
5 if (xdb_utilities.resourceExists('/home/&1/poSource/xsd/purchaseOrder.xsd')) then
6 xdb_utilities.deleteFolder('/home/&1/poSource/xsd/purchaseOrder.xsd');
7 end if;
8 if (xdb_utilities.resourceExists('/home/&1/poSource/xsl/purchaseOrder.xsl')) then
9 xdb_utilities.deleteFolder('/home/&1/poSource/xsl/purchaseOrder.xsl');
10 end if;
11 if (xdb_utilities.resourceExists('/home/&1/poSource/xsl/empdept.xsl')) then
12 xdb_utilities.deleteFolder('/home/&1/poSource/xsl/empdept.xsl');
13 end if;
14 if (xdb_utilities.resourceExists('/home/&1/poSource')) then
15 xdb_utilities.deleteFolder('/home/&1/poSource');
16 end if;
17 end;
18 /
old 2: if (xdb_utilities.resourceExists('/home/&1/purchaseOrders')) then
new 2: if (xdb_utilities.resourceExists('/home/SCOTT/purchaseOrders')) then
old 3: xdb_utilities.deleteFolder('/home/&1/purchaseOrders');
new 3: xdb_utilities.deleteFolder('/home/SCOTT/purchaseOrders');
old 5: if (xdb_utilities.resourceExists('/home/&1/poSource/xsd/purchaseOrder.xsd')) then
new 5: if (xdb_utilities.resourceExists('/home/SCOTT/poSource/xsd/purchaseOrder.xsd')) then
old 6: xdb_utilities.deleteFolder('/home/&1/poSource/xsd/purchaseOrder.xsd');
new 6: xdb_utilities.deleteFolder('/home/SCOTT/poSource/xsd/purchaseOrder.xsd');
old 8: if (xdb_utilities.resourceExists('/home/&1/poSource/xsl/purchaseOrder.xsl')) then
new 8: if (xdb_utilities.resourceExists('/home/SCOTT/poSource/xsl/purchaseOrder.xsl')) then
old 9: xdb_utilities.deleteFolder('/home/&1/poSource/xsl/purchaseOrder.xsl');
new 9: xdb_utilities.deleteFolder('/home/SCOTT/poSource/xsl/purchaseOrder.xsl');
old 11: if (xdb_utilities.resourceExists('/home/&1/poSource/xsl/empdept.xsl')) then
new 11: if (xdb_utilities.resourceExists('/home/SCOTT/poSource/xsl/empdept.xsl')) then
old 12: xdb_utilities.deleteFolder('/home/&1/poSource/xsl/empdept.xsl');
new 12: xdb_utilities.deleteFolder('/home/SCOTT/poSource/xsl/empdept.xsl');
old 14: if (xdb_utilities.resourceExists('/home/&1/poSource')) then
new 14: if (xdb_utilities.resourceExists('/home/SCOTT/poSource')) then
old 15: xdb_utilities.deleteFolder('/home/&1/poSource');
new 15: xdb_utilities.deleteFolder('/home/SCOTT/poSource');
begin
ERROR at line 1:
ORA-04068: existing state of packages has been discarded
ORA-04063: package body "XDB.XDB_UTILITIES" has errors
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at line 2

You need to be running the correct version of the database. You are running 9.2.0.1.0 or 9.2.0.2.0. The basicDemo requires 9.2.0.3.0 or later. The earlier versions are NOT supported for XML DB.

Similar Messages

  • XDB Basic Demo xdbconfiguration.sql Errors

    I get the following errors running the xdbconfiguration.sql under sys: Any Suggestions?
    SQL> create or replace package body XDB_CONFIGURATION as
    2 --
    3 FTP_XPATH varchar2(256) := '/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port';
    4 HTTP_XPATH varchar2(256) := '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port';
    5 --
    6 function getDatabaseSummary
    7 return XMLType
    8 as
    9 summary xmltype;
    10 dummy xmltype;
    11 begin
    12 select dbms_xdb.cfg_get()
    13 into dummy
    14 from dual;
    15
    16 select xmlElement
    17 (
    18 "Database",
    19 XMLAttributes
    20 (
    21 x.NAME as "Name",
    22 extractValue(config,'/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port') as "HTTP",
    23 extractValue(config,'/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port') as "FTP"
    24 ),
    25 xmlElement
    26 (
    27 "Services",
    28 (
    29 xmlForest(Value as "ServiceName")
    30 )
    31 ),
    32 xmlElement
    33 (
    34 "Hosts",
    35 (
    36 XMLForest(HOST_NAME as "HostName")
    37 )
    38 )
    39 )
    40 into summary
    41 from SYS.DATABASE_SUMMARY x, (select dbms_xdb.cfg_get() config from dual);
    42 return summary;
    43 end;
    44 --
    45 procedure folderDatabaseSummary
    46 as
    47 result boolean;
    48 targetResource varchar2(256) := '/sys/databaseSummary.xml';
    49
    50 xmlref ref xmltype;
    51
    52 begin
    53
    54 begin
    55 dbms_xdb.deleteResource(targetResource,dbms_xdb.DELETE_FORCE);
    56 exception
    57 when others then
    58 null;
    59 end;
    60
    61 select make_ref(DATABASE_SUMMARY,'DATABASE_SUMMARY')
    62 into xmlref
    63 from DATABASE_SUMMARY;
    64 result := dbms_xdb.createResource(targetResource,xmlref);
    65
    66 dbms_xdb.setAcl(targetResource,'/sys/acls/bootstrap_acl.xml');
    67 end;
    68 --
    69 procedure setXDBport(PORT_XPATH varchar2, PORT_NUMBER number)
    70 as
    71 config XMLType;
    72 begin
    73 config := dbms_xdb.cfg_get();
    74 select updateXML(config, PORT_XPATH, PORT_NUMBER)
    75 into config
    76 from dual;
    77 dbms_xdb.cfg_update(config);
    78 commit;
    79 dbms_xdb.cfg_refresh();
    80 end;
    81 --
    82 -- Create the setHTTPport and setFTPport procudures
    83 --
    84 procedure setHTTPport (PORT_NUMBER number)
    85 as
    86 begin
    87 setXDBport(HTTP_XPATH || '/text()', PORT_NUMBER);
    88 end;
    89 --
    90 procedure setFTPport(PORT_NUMBER number)
    91 as
    92 begin
    93 setXDBport(FTP_XPATH || '/text()', PORT_NUMBER);
    94 end;
    95 --
    96 end XDB_CONFIGURATION;
    97 /
    Warning: Package Body created with compilation errors.
    SQL> show errors
    Errors for PACKAGE BODY XDB_CONFIGURATION:
    LINE/COL ERROR
    55/6 PL/SQL: Statement ignored
    55/54 PLS-00302: component 'DELETE_FORCE' must be declared
    61/4 PL/SQL: SQL Statement ignored
    61/20 PL/SQL: ORA-22970: name does not correspond to an object view
    SQL> spool off

    Sorry, I forgot to mention the database I am using.
    Oracle version 9.2.0.3.0.
    OS: WindowsXP

  • XdbConfiguration.sql giving errors for package XDB_CONFIGURATION

    Hi,
    I am getting following errors(at the bottom) while running xdbConfiguration.sql before installing the demo.
    I am logged in as sys user(sysdba) and using running
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    on Windows2000.
    Is the wrong version of Oracle. Do I have have 9.2.4.0.
    Thanks in advance for help.
    Om Soni
    Errors for PACKAGE BODY XDB_CONFIGURATION:
    LINE/COL ERROR
    51/6 PL/SQL: Statement ignored
    51/54 PLS-00302: component 'DELETE_FORCE' must be declared
    56/4 PL/SQL: SQL Statement ignored
    56/20 PL/SQL: ORA-22970: name does not correspond to an object view

    Hi ,
    I upgraded to 9.2.0.4.0. The error still shows up while running the xdbConfiguration.sql.
    The following errors show up:
    Errors for PACKAGE BODY XDB_CONFIGURATION:
    LINE/COL ERROR
    51/6 PL/SQL: Statement ignored
    51/54 PLS-00302: component 'DELETE_FORCE' must be declared
    56/4 PL/SQL: SQL Statement ignored
    58/9 PL/SQL: ORA-00942: table or view does not exist
    I got rid of first two error by removing dbms_xdb.DELETE_FORCE from line
    dbms_xdb.deleteResource(targetResource,dbms_xdb.DELETE_FORCE);
    Last two error are at line :
    select make_ref(DATABASE_SUMMARY,'DATABASE_SUMMARY')
    into xmlref
    from DATABASE_SUMMARY;
    Looking at the script DATABASE_SUMMARY is not a object.
    May be the script has a bug in it.
    -Om

  • Error while installing SQL Server 2012 X64 SP2,

    Error while installing SQL Server 2012 X64 SP2,
     When I installed the SQL Server 2012 X64 SP1, I got the attached error.
     What might be the issue here?
     Thank you
     Best
    Jamal

    Hello,
    Are you trying to install SQL Server on a compressed or encrypted drive? SQL Server won’t install on a drive/folder with these attributes.
    Are you trying to install SQL Server on a ReFS file system? It is not supported on SQL Server 2012.
    Disable any security/antivirus software and download the media again. Mount the media (.ISO file) and try to install again.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Error: while generating SQL.java.rmi.ServerException:

    Hi:
    I tried the JGuru's "MusicStore" example. HOwever at Task 6 and 7 I am getting the following error:
    Error: while generating SQL.java.rmi.ServerException:
    RemoteException occured in server thread; nested exception is:
    * java.rmi.RemoteException: Error connecting to database;
    nested exception is:
    * SQL Exception: Failed to start database 'MusicStoreDB', see
    the next exception for details.
    Please make sure the database name/user/password is valid
    and the J2ee server and database are running.
    However when i check my database it is running perfectly:
    E:\>%j2ee_home%\bin\cloudscape -start
    Sun Feb 16 12:48:11 PST 2003: [RmiJdbc] Starting Cloudscape RmiJdbc Server Version
    Sun Feb 16 12:48:14 PST 2003: [RmiJdbc] COM.cloudscape.core.JDBCDriver registered i
    Sun Feb 16 12:48:14 PST 2003: [RmiJdbc] Binding RmiJdbcServer...
    Sun Feb 16 12:48:14 PST 2003: [RmiJdbc] No installation of RMI Security Manager...
    Sun Feb 16 12:48:14 PST 2003: [RmiJdbc] RmiJdbcServer bound in rmi registry
    Server:
    J2EE server listen port: 1050
    Naming service started:1050
    Binding DataSource, name = jdbc/DB2, url = jdbc:cloudscape:rmi:CloudscapeDB;crea
    te=true
    Binding DataSource, name = jdbc/Cloudscape, url = jdbc:cloudscape:rmi:Cloudscape
    DB;create=true
    Binding DataSource, name = jdbc/InventoryDB, url = jdbc:cloudscape:rmi:Cloudscap
    eDB;create=true
    Binding DataSource, name = jdbc/DB1, url = jdbc:cloudscape:rmi:CloudscapeDB;crea
    te=true
    Binding DataSource, name = jdbc/MusicStore, url = jdbc:cloudscape:rmi:MusicStore
    DB;create=false
    Binding DataSource, name = jdbc/XACloudscape, url = jdbc/XACloudscape__xa
    Binding DataSource, name = jdbc/XACloudscape__xa, dataSource = COM.cloudscape.co
    re.RemoteXaDataSource@1d88db7
    Starting JMS service...
    Initialization complete - waiting for client requests
    Binding: < JMS Destination : jms/Topic , javax.jms.Topic >
    Binding: < JMS Destination : jms/Queue , javax.jms.Queue >
    Binding: < JMS Cnx Factory : TopicConnectionFactory , Topic , No properties >
    Binding: < JMS Cnx Factory : QueueConnectionFactory , Queue , No properties >
    Binding: < JMS Cnx Factory : jms/QueueConnectionFactory , Queue , No properties
    >
    Binding: < JMS Cnx Factory : jms/TopicConnectionFactory , Topic , No properties
    >
    Starting web service at port: 8000
    Starting secure web service at port: 7000
    J2EE SDK/1.3.1
    Starting web service at port: 9191
    J2EE SDK/1.3.1
    J2EE server startup complete.
    Can anyone suggest me a way out..plz

    what type of persistent u r using also post ur query if bmp and check with another example with cmp.

  • ORA-00604: error at recursive sql level 1ORA-01882: timezone region not fou

    hello eveyone i have installed SQL developer and try to create a connexion but it shows the following error:
    " : ORA-00604: error at recursive sql level 1ORA-01882: timezone region not found"
    (i choosed TNS as connexion type , default as rol )
    plz help
    thanks

    Hi Raccio,
    Using the forum search functionality, I came across the following threads with some tips that might help you:
    ORA-00604 & ORA-01804 when connecting to Oracle 11 database 11.1.0.6.0
    ora-01882 "timezone region not found" with 3.0.03.97 but not with 3.0.03.45
    Regards,
    Gary Graham
    SQL Developer Team
    Edited by: gggraham on Jul 20, 2011 1:03 PM

  • Error in appdstln.sql during upgrade to 12.1.1

    Hi All,
    I am upgrading my 11.5.9 ebs to 12.1.1 I have gone through all steps outlined in chapter 3 of Oracle® E-Business Suite
    Upgrade Guide Release 11i to 12.1.3 Part No. E16342-03. I am now in point number 10 under " Perform the Upgrade" i.e :
    Run the American English upgrade patch driver which is (u6678700.drv)
    After going through nearly 130,000 jobs I got the following error in appdstln.sql
    ORA-01400: cannot insert NULL into("AP"."AP_PAYMENT_HIST_DISTS"."INVOICE_DISTRIBUTION_ID")
    Please help me get through this error asap as we are very low on time.

    Please log a SR as no similar issues are reported in MOS website.
    Thanks,
    Hussein

  • 4.7 Enterprise install error in catproc.sql phase(RedHat5- Oracle 10.2.0.4)

    Hi,
    I am installing SAP 4.7 Enterprise on Red Hat 5.3 and Oracle 10.2.0.4. When I install 4.7 Enterpirse I have an error in catproc.sql phase like below: -
    ERROR 2009-06-02 18:42:34
    CJS-00084  SQL statement or script failed.<br>DIAGNOSIS: Error message: ORA-955 for defaultdestSQL> Rem     bnainani   11/29/00  - specify compatible=8.0 for create_queue_tableSQL> Rem     liwong     10/20/00  - add def$_destination.flagSQL> Rem     bnainani   11/15/00  - specify compatible=8.0 for queue tableSQL> Rem     narora     09/13/00  - add comment on new def$_destination columnsSQL> Rem     liwong     09/01/00  - add master w/o quiesce: fixesSQL> Rem     liwong     07/12/00  - add total_prop_time_latSQL> Rem     liwong     06/29/00  - add total_txn_count, total_prop_timeSQL> Rem     liwong     05/17/00  - add_master_db w/o quiesceSQL> Rem     jstamos    05/17/00  - add_master_db w/o quiesceSQL> Rem     elu        01/24/00  - add column apply_init to def$_destinationSQL> Rem     alakshmi   12/02/99  - Bug 979398: Before-row insert trigger onSQL> Rem                            def$_propagatorSQL> Rem     wesmith    10/31/98 -  change shape of table def$_pushed_transactionsSQL> Rem     jnath      02/23/98 -  bug 601972: split anonymous pl/sql blocksSQL> Rem     wesmith    01/21/98 -  create def$_pushed_transactions table forSQL> Rem                            server-side RepAPISQL> Rem     nbhatt     07/27/97 -  change create_queuetable -> create_queue_tableSQL> Rem     nbhatt     04/21/97 -  change 'TRACKING' in CREATE_QUEUE to 'DEPENDENCYSQL> Rem     nbhatt     04/21/97 -  change syntax of create_queueSQL> Rem     liwong     04/16/97 -  Alter view system.AQ$DEF$_AQ{CALL,ERROR}SQL> Rem     liwong     04/11/97 -  Fixing defaultdest_primary typoSQL> Rem     jstamos    04/10/97 -  remove unneeded indexesSQL> Rem     nbhatt     04/08/97 -  change create_qtable to create_queuetableSQL> Rem     jstamos    04/04/97 -  tighter AQ integrationSQL> Rem     liwong     04/02/97 -  Add schema_name, package_name in def$_calldestSQL> Rem     ato        03/31/97 -  create_qtable interface changeSQL> Rem     liwong     03/25/97 -  remove batch_no from def$_tranorderSQL> Rem     liwong     02/24/97 -  pctversion --> 0 for def$_aqcall, def$_aqerrorSQL> Rem     liwong     02/22/97 -  Remove dropping view aq$def$_aqcallSQL> Rem     ademers    02/07/97 -  Remove constraint def$_calldest_callSQL> Rem     liwong     01/11/97 -  drop and create aq$def$_aqcall (temporary)SQL> Rem     liwong     01/10/97 -  Alter view aq$def$_aqcallSQL> Rem     liwong     01/07/97 -  Alter default value for batch_noSQL> Rem     jstamos    12/23/96 -  change temp$nclob colSQL> Rem     jstamos    11/21/96 -  nchar supportSQL> Rem     sjain      11/11/96 -  Remove dummy buffer # commentSQL> Rem     asgoel     11/05/96 -  Disable misc_tracking in def$_aqerrorSQL> Rem     sjain      11/06/96 -  deferror changesSQL> Rem     vkrishna   10/28/96 -  change STORED IN to STORE AS for lobSQL> Rem     sjain      10/02/96 -  Aq conversionSQL> Rem     sbalaram   09/24/96 -  ARPC performance - add foreign key indexSQL> Rem     jstamos    09/06/96 -  rename temp$lob and temporarily change nclobSQL> Rem     sjain      09/03/96 -  AQ conversonSQL> Rem     ademers    08/02/96 -  queue_batch default in def_destinationSQL> Rem     ademers    07/29/96 -  queue_batch default in def_callSQL> Rem     ademers    07/29/96 -  queue_batch defaultSQL> Rem     jstamos    07/24/96 -  add system.temp$lobSQL> Rem     sbalaram   07/22/96 -  create def$_aqcall and def$_aqerror tablesSQL> Rem     jstamos    06/12/96 -  LOB support for deferred RPCsSQL> Rem     ldoo       06/28/96 -  Comment out queue_table from def_tranorderSQL> Rem     ademers    05/30/96 -  create def_originSQL> Rem     ademers    05/28/96 -  fix def_destination col namesSQL> Rem     ldoo       05/09/96 -  New security modelSQL> Rem     sjain      05/01/96 -  add seq col to def_destinationSQL> Rem     ademers    04/29/96 -  add batch_no, dep_scn to def_callSQL> Rem     jstamos    12/04/95 -  324303: use index to avoid sorting the queueSQL> Rem     jstamos    08/17/95 -  code review changesSQL> Rem     jstamos    08/16/95 -  add comments to tablesSQL> Rem     wmaimone   01/04/96 -  7.3 mergeSQL> Rem     hasun      01/31/95 -  Modify tables.<br>SOLUTION: See ora_sql_results.log and the Oracle documentation for details.
    Also  some error lines in ora_sql_results.log file like below:
    Connected to an idle instance.
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    Disconnected
    DOC>     The following statement will cause an "ORA-01722: invalid number"
    DOC>     error and terminate the SQLPLUS session if the user is not SYS.
    DOC>     Disconnect and reconnect with AS SYSDBA.
    ERROR at line 1:
    ORA-01432: public synonym to be dropped does not exist
    ERROR at line 1:
    ORA-00942: table or view does not exist
    DOC>     The following PL/SQL block will cause an ORA-20000 error and
    DOC>     terminate the current SQLPLUS session if the user is not SYS.
    DOC>     Disconnect and reconnect with AS SYSDBA.
    ERROR at line 1:
    ORA-01921: role name 'EXP_FULL_DATABASE' conflicts with another user or role
    name
    ERROR at line 1:
    ORA-01434: private synonym to be dropped does not exist
    ERROR at line 1:
    ORA-04043: object DIANA does not exist
    ERROR at line 1:
    ORA-04043: object DIUTIL does not exist
    ERROR at line 1:
    ORA-04043: object DIUTIL does not exist
    ERROR at line 1:
    ORA-04043: object SUBPTXT2 does not exist
    ERROR at line 1:
    ORA-04043: object CREATE_TABLE_COST_COLUMNS does not exist
    ERROR at line 1:
    ORA-01434: private synonym to be dropped does not exist
    And ora_sql.log  file is:
    connect  /  as sysdba ;
    SHUTDOWN ABORT;
    exit;
    Executed successfully.
    connect  /  as sysdba ;
    SHUTDOWN IMMEDIATE;
    exit;
    Executed with error.
    connect  /  as sysdba ;
    STARTUP NOMOUNT;
    exit;
    Executed successfully.
    connect  /  as sysdba ;
    CREATE DATABASE MDP CONTROLFILE REUSE  MAXLOGFILES 255 MAXLOGMEMBERS 3 MAXLOGHISTORY 1000 MAXDATAFILES 254 MAXINSTANCES 50 NOARCHIVELOG CHARACTER SET UTF8 NATIONAL CHARACTER SET UTF8 DATAFILE '/oracle/MDP/sapdata1/system_1/system.data1' SIZE 350M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M EXTENT MANAGEMENT LOCAL DEFAULT TEMPORARY TABLESPACE PSAPTEMP TEMPFILE '/oracle/MDP/sapdata1/temp_1/temp.data1' SIZE 1750M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M UNDO TABLESPACE PSAPUNDO DATAFILE '/oracle/MDP/sapdata1/undo_1/undo.data1' SIZE 700M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M SYSAUX DATAFILE '/oracle/MDP/sapdata1/sysaux_1/sysaux.data1' SIZE 1000M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M
    LOGFILE GROUP 1 ('/oracle/MDP/origlogA/log_g11m1.dbf',
    '/oracle/MDP/mirrlogA/log_g11m2.dbf') SIZE 50M  REUSE ,
    GROUP 2 ('/oracle/MDP/origlogB/log_g12m1.dbf',
    '/oracle/MDP/mirrlogB/log_g12m2.dbf') SIZE 50M  REUSE ,
    GROUP 3 ('/oracle/MDP/origlogA/log_g13m1.dbf',
    '/oracle/MDP/mirrlogA/log_g13m2.dbf') SIZE 50M  REUSE ,
    GROUP 4 ('/oracle/MDP/origlogB/log_g14m1.dbf',
    '/oracle/MDP/mirrlogB/log_g14m2.dbf') SIZE 50M  REUSE
    exit;
    Executed successfully.
    connect  /  as sysdba ;
    set newpage 0
    set space 0
    set pagesize 0
    set linesize 32767
    set markup HTML off
    set heading off
    set verify off
    set feedback off
    set trimspool on
    set sqlprompt SQL>
    set termout on
    set verify off
    set echo off
    spool ora_query3_tmp0_1.res
    SELECT STATUS FROM V$INSTANCE;
    spool off
    exit;
    Executed successfully.
    connect  /  as sysdba ;
    @@/oracle/MDP/102_64/rdbms/admin/catalog.sql
    exit;
    Executed successfully.
    connect  /  as sysdba ;
    set newpage 0
    set space 0
    set pagesize 0
    set linesize 32767
    set markup HTML off
    set heading off
    set verify off
    set feedback off
    set trimspool on
    set sqlprompt SQL>
    set termout on
    set verify off
    set echo off
    spool ora_query3_tmp0_1.res
    SELECT STATUS FROM V$INSTANCE;
    spool off
    exit;
    Executed successfully.
    connect  /  as sysdba ;
    @@/oracle/MDP/102_64/rdbms/admin/catblock.sql
    exit;
    Executed successfully.
    connect  /  as sysdba ;
    set newpage 0
    set space 0
    set pagesize 0
    set linesize 32767
    set markup HTML off
    set heading off
    set verify off
    set feedback off
    set trimspool on
    set sqlprompt SQL>
    set termout on
    set verify off
    set echo off
    spool ora_query3_tmp0_1.res
    SELECT STATUS FROM V$INSTANCE;
    spool off
    exit;
    Executed successfully.
    connect  /  as sysdba ;
    @@/oracle/MDP/102_64/rdbms/admin/catproc.sql
    exit;
    Executed with error.
    connect  /  as sysdba ;
    set newpage 0
    set space 0
    set pagesize 0
    set linesize 32767
    set markup HTML off
    set heading off
    set verify off
    set feedback off
    set trimspool on
    set sqlprompt SQL>
    set termout on
    set verify off
    set echo off
    spool ora_query3_tmp0_1.res
    SELECT STATUS FROM V$INSTANCE;
    spool off
    exit;
    Executed successfully.
    connect  /  as sysdba ;
    @@/oracle/MDP/102_64/rdbms/admin/catproc.sql
    exit;
    Executed with error.
    connect  /  as sysdba ;
    set newpage 0
    set space 0
    set pagesize 0
    set linesize 32767
    set markup HTML off
    set heading off
    set verify off
    set feedback off
    set trimspool on
    set sqlprompt SQL>
    set termout on
    set verify off
    set echo off
    spool ora_query3_tmp0_1.res
    SELECT STATUS FROM V$INSTANCE;
    spool off
    exit;
    Executed successfully.
    connect  /  as sysdba ;
    @@/oracle/MDP/102_64/rdbms/admin/catproc.sql
    exit;
    Executed with error.
    connect  /  as sysdba ;
    set newpage 0
    set space 0
    set pagesize 0
    set linesize 32767
    set markup HTML off
    set heading off
    set verify off
    set feedback off
    set trimspool on
    set sqlprompt SQL>
    set termout on
    set verify off
    set echo off
    spool ora_query3_tmp0_1.res
    SELECT STATUS FROM V$INSTANCE;
    spool off
    exit;
    Executed successfully.
    connect  /  as sysdba ;
    @@/oracle/MDP/102_64/rdbms/admin/catproc.sql
    exit;
    Executed with error.
    connect  /  as sysdba ;
    set newpage 0
    set space 0
    set pagesize 0
    set linesize 32767
    set markup HTML off
    set heading off
    set verify off
    set feedback off
    set trimspool on
    set sqlprompt SQL>
    set termout on
    set verify off
    set echo off
    spool ora_query3_tmp0_1.res
    SELECT STATUS FROM V$INSTANCE;
    spool off
    exit;
    Executed successfully.
    connect  /  as sysdba ;
    @@/oracle/MDP/102_64/rdbms/admin/catproc.sql
    exit;
    Executed with error.
    The errors are like these. How can I correct these errors and continue to installation? Is the oracle version 10.2.0.4  not correct version to install 4.7 enterprise on Red Hat Linux 5.3?
    Best regards,

    Hi Markus,
    I found 5 ERROR. There are different lines.
    First one:
          <fld name="STATUS">
            <strval><![CDATA[ERROR]]>
    Second one:
    CASE (= 'AUTOALLOCATE') RETURN (' AUTOALLOCATE '),
                    CASE (DEFAULT) RETURN (' ERROR ' + (tTablespaces.extMgmtAllocMode 
    Third one:
    CASE (= 'DICTIONARY') RETURN (' DICTIONARY '),
                  CASE (DEFAULT) RETURN (' ERROR ' + (tTablespaces.extMgmtMode 
    Fourth one:
    CASE (= 'AUTOALLOCATE') RETURN (' AUTOALLOCATE '),
                    CASE (DEFAULT) RETURN (' ERROR ' + (tTablespaces.extMgmtAllocMode 
    Fifth one:
    CASE (= 'DICTIONARY') RETURN (' DICTIONARY '),
                  CASE (DEFAULT) RETURN (' ERROR ' + (tTablespaces.extMgmtMode 
    Which one will I change to OK? Must all off them change to OK?
    Also is this problem about only these oracle error in your oppinion? For example in first line of ora_sql_results.log I have an error like below:
    CJS-00084 SQL statement or script failed
    Connected to an idle instance.
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    But ORACLE_HOME and ORACLE_SID environment variable are ok. Also I can connect and start and stop database manually. There is no problem about it.
    I installed anly Oracle patch 10.2.0.4. I didn't install any oracle interim patch. Should I have install oracle interim patch for Oracle 10.2.0.4?
    Best regards,

  • To_numer function return error in pl/sql

    Hello,
    I don't have a prob when running select to_number('1234.56') from dual, the numer contains digit decimal
    But this stm return error Invalid number in procedure unless I use to_number('1234.56','9999999.99')
    Please help me out.
    Do I have to set parameter in DB ?
    BTW: my NLS_NUMERIC_CHARACTER is set to '.,'
    Thanks.

    to_numer function return error in pl/sql
    hlthanh wrote:
    Hello,
    I don't have a prob when running select to_number('1234.56') from dual, the numer contains digit decimal
    But this stm return error Invalid number in procedure unless I use to_number('1234.56','9999999.99')
    Please help me out.
    Do I have to set parameter in DB ?
    BTW: my NLS_NUMERIC_CHARACTER is set to '.,'
    Thanks.Handle:      hlthanh
    Status Level:      Newbie
    Registered:      Mar 7, 1999
    Total Posts:      94
    Total Questions:      60 (38 unresolved)
    so many questions & so few answers.
    How SAD!

  • Error in converting SQL 2014 Trial to Full version using VLKey

    Hi,
    I am currently trying to upgrade my SQL 2014 evaluation version to the full version.
    I have purchased a Volume License for SQL Server 2014 Server/CAL and have extracted the product key from the ISO File.
    I have verified this product key with the product activation department and it is confirmed that it is a valid product key "ProdKey3 SQL Svr Standard Edtn 2014 00204 PA/BP VL:GVLK Pre Pidded"
    However, when i input the product key in to the server, it is showing me the error message:
    The SQL product key is not valid, enter key from certificate of authenticity or SQL server packaging
    Checked on the version of the evaluation and this is the edition - Microsoft SQL Server 2014.0120.2000.08
    The site that I am activating the server on does not have any internet connection, does this affect the activation?
    Would there be an alternate phone activation method for converting to Trial to Full?
    Kindly Assist. Thank you.

    Hi Julian,
    Firstly, according to the error message, please ensure that your SQL Server installation file is not corrupt, and make sure you use corresponding license key matched the edition and version of SQL Server. For more details about the error, please review the
    similar
    thread.
    Secondly, in addition to Ed’s post, you can also use the following command lines to upgrade SQL Server 2014 Trial to a full version.
    Setup.exe /q /ACTION=editionupgrade /INSTANCENAME=<MSSQLSERVER or instancename> /PID=<PID key for new edition>" /IACCEPTSQLSERVERLICENSETERMS
    Thirdly, for more detailed information regarding to the license issue, please call
    1-800-426-9400,
    Monday through Friday, 6:00 A.M. to 6:00 P.M. (Pacific Time) to speak directly to a Microsoft licensing specialist. For international customers, please use the Guide to Worldwide Microsoft Licensing Sites to find contact information in your locations.
    Thanks,
    Lydia Zhang

  • Getting error while expanding SQL Server 2012 agent.

    Hi All,
    Server Version Details: Microsoft SQL Server 2012 (SP1) - 11.0.3000.0 (X64)
        Oct 19 2012 13:38:57
        Copyright (c) Microsoft Corporation
        Standard Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)
    We are using SQL Server 2012 in Active/Passive Cluster and the problem is getting below error while expanding SQL Agent. Please share you views on this. Thank You.
    TITLE: Microsoft SQL Server Management Studio
    Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&LinkId=20476
    ADDITIONAL INFORMATION:
    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
    A severe error occurred on the current command.  The results, if any, should be discarded. (Microsoft SQL Server, Error: 0)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&ProdVer=11.00.3000&EvtSrc=MSSQLServer&EvtID=0&LinkId=20476
    BUTTONS:
    OK
    Regards,
    Kalyan
    ----Learners Curiosity Never Ends----

    Hi OHM SAI RAM,
    I’m writing to follow up with you on this post. Was the problem resolved after checking the error message and performing the action plan steps? I’d like to mark this issue as "Answered". Please also feel free to unmark the issue, with any new findings or
    concerns you may have.
    Thanks,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Getting error while installing sql server std 2008 R2 on win 7 prof. sp1 64bit

    Hi,
    I am getting error while installing sql server std 2008 R2 on win 7 prof. sp1 64bit. I have already tried all option but fail to installation
    an error during the installation of assembly micro soft.vc80.crt

    Hi,
    I am getting error while installing sql server std 2008 R2 on win 7 prof. sp1 64bit. I have already tried all option but fail to installation
    an error during the installation of assembly micro soft.vc80.crt
    Can you please post summary.txt file here.Below link will help you in finding it.
    http://technet.microsoft.com/en-us/library/ms143702(v=sql.105).aspx
    Also with error you posted I guess it is a known issue .You need to install below package and then continue with fresh installation
    http://www.microsoft.com/en-gb/download/details.aspx?id=15336
    Please make sure before beginning fresh installation you make sure previous failed installation is removed completely.Use add remove program to remove failed SQL Server.If yu still face issue please post summary.txt file here
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Error while installing SQL Server 2008 R2 in Windows 7 SP1 machine

    Hi Team,
    Error while installing SQL Server 2008 R2 in Windows 7 SP1 machine. I can confirm this machine has .Net
    Feature enabled and with Latest version.
    TITLE: Microsoft SQL Server 2008 R2 Setup
    The following error has occurred:
    Error 25541.Failed to open XML file C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config, system error: -2147024786
    Regards,
    Muthukumar.S.P.

    Hi,
    Can you follow workaround mentioned in below msdn blog
    http://blogs.msdn.com/b/astebner/archive/2007/11/01/5826719.aspx
    As per the blog you have to open the msi log files which must be located at
    C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log
    In MSI log files search for the error mentioned in blog. Below link will help you read setup log files
    http://msdn.microsoft.com/en-gb/library/ms143702%28v=sql.105%29.aspx
    PS: Please read links carefully and patiently and if it does not solves issue please post summary.txt file and details.txt file on skydrive for analysis
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Articles

  • Error While Installing SQL SERVER 2012 on Windows Serrver 2012 R2

    I encounter the following errors while installing SQL SERVER on Windows SERVER 2012 R2, can anybody help me out?
    dotdazzle

    If you are using any system account then password is not needed. From the screenshot I see NT Authority\....  so you don't need password.
    Balmukund Lakhani | Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • Unknown SQL Exception 208 occurred. Additional error information from SQL Server is included below.Invalid object name 'Webs'.

    SP 2013 Server + Dec 2013 CU. Upgrading from SharePoint 2010.
    We have a web application that is distributed over 7-8 content databases from SharePoint 2010. All but one database are upgradable. However, one database gives:
    Invalid object name 'Webs'.
    while running Test-SPContentDatabase or Mount-SPContentDatabase.
    EventViewer has the following reporting 5586 event Id:
    Unknown SQL Exception 208 occurred. Additional error information from SQL Server is included below.Invalid object name 'Webs'.
    After searching a bit, these links do not help:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/fd020a41-51e6-4a89-9d16-38bff9201241/invalid-object-name-webs?forum=sharepointadmin
    we are trying PowerShell only.
    http://blog.thefullcircle.com/2013/06/mount-spcontentdatabase-and-test-spcontentdatabase-fail-with-either-invalid-object-name-sites-or-webs/
    In our case, these are content databases. This is validated from Central Admin.
    http://sharepointjotter.blogspot.com/2012/08/sharepoint-2010-exception-invalid.html
    Our's is SharePoint 2013
    http://zimmergren.net/technical/findbestcontentdatabaseforsitecreation-problem-after-upgrading-to-sharepoint-2013-solution
    Does not seem like the same exact problem.
    Any additional input?
    Thanks, Soumya | MCITP, SharePoint 2010

    Hi,
    “All but one database are upgradable. However, one database gives:
    Invalid object name 'Webs'.”
    Did the sentence you mean only one database not upgrade to SharePoint 2013 and given the error?
    One or more of the following might be the cause:
    Insufficient SQL Server database permissions
    SQL Server database is full
    Incorrect MDAC version
    SQL Server database not found
    Incorrect version of SQL Server
    SQL Server collation is not supported
    Database is read-only
    To resolve the issue, you can refer to the following article which contains the causes and resolutions.
    http://technet.microsoft.com/en-us/library/ee513056(v=office.14).aspx
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

Maybe you are looking for

  • Access to an attribute of a value node of a component controller

    Hello experts, I'm new to the area of SAP CRM Web Client UI development. My problem is probably very simple and you will surely smile about it. I have created my own component with the value node FILE (that consists of five atributes) in the componen

  • Auto creation of user pages with their data when they register to a site and go to that page

    I have watched few posts slightly related to this topic but i didnt got the result. I am creating an user authentication system using Dreamweaver 8, PHP and MySQL. Database, login system and user authentication has been created. With 'Log In User' se

  • Purchase order ME_PROCESS_PO_CUST  not being called

    Hello, I've created an implementation of  ME_PROCESS_PO_CUST, which is automatically migrated to Enhancement (I'm in Netweaver 2004s). Then I go to ME21n and the badi is not being called. It is active, I have breakpoints inside the various methods, a

  • Problem loading texture with alpha channel

    Hi there, I'm trying to load a texture from a png wich includes an alpha channel. Inside my texture loading routine I use some code along the lines of: // Uses the bitmatp creation function provided by the Core Graphics framework. CGContextRef imgCon

  • Load movie in root and go to particular frame

    Hi, I have main flash file called index.swf and in that I'm loading an external movie called help.swf using the below code: loadMovie("help.swf",1); On help.swf I have a button which brings me back to the main file i.e. index.swf using the below code