Trouble creating database

I have tried to install Oracle Database 10g Enterprise on a Windows 2003 Server. The actual installation works ok, but when I come to the step where an actual database instance is created I get nothing but errors.
First I get an error saying:
Instance created
DIM-00019: create service error
O/S-Error: (OS 1388) A new member could not be added
to local group because the member has the wrong
account type.
Then I get lots of error ORA-12560: TNS:protocol adapter error.
And finaly I get an error saying that enterprise manager configuration failed.
I'm logged in as the administrator user in Windows.
Any tips what might be wrong?

Adding the computer to the ORA_DBA group didn't help, I still have to start the database service manually. Also, whats worse is that after a reboot the database does not come up properly. The services are started but the database is down and can not be started.
I had no trouble when installing on a standalone machine, but now it is in a Windows Cluster, and nothing seems to work as it should.

Similar Messages

  • Trouble creating a database in MySQL using java

    Hi all,
    I am trying to create a program that connects to MySQL and can create databases, tables etc. I can connect to MySQL using the program but I cannot create a database (however if i create the database with the command line i can create tables in the database).
    When I try to create a database i get the error
    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'persondatabase'Here is the code:
    import java.sql.*;
    class Connect {
    public Connect() {
    public Connection connectToMySQL(String database_name) {
      Connection con = null;
      try {
       Class.forName("com.mysql.jdbc.Driver").newInstance();
       con = DriverManager.getConnection("jdbc:mysql:///persondatabase", "", "");
      catch(ClassNotFoundException e) { System.out.println(e); }
      catch(InstantiationException e) { System.out.println(e); }
      catch(SQLException e) { System.out.println(e); }
      finally {
       return con;
    public void createDatabase(String database_name) {
      Connection con = null;
      Statement stmt = null;
      try {
       con = connectToMySQL(null);  //connect to mysql but not to any one databases
       con.setAutoCommit(false);
       if(!con.isClosed())
        System.out.println("Connected to MySQL. Creating the Database " + database_name);
       String str = "CREATE DATABASE " + database_name;
       stmt = con.createStatement();
       stmt.executeUpdate(str);
       con.commit();
      catch (Exception e2) { }
      finally {
       try {
        stmt.close();
        con.close();
       }catch (Exception e3) { }
    public void createPersonDetailsTable(String database_name, String table_name) {
      Connection con = null;
      Statement stmt = null;
      try {
       con = connectToMySQL(database_name);
       con.setAutoCommit(false);
       if(!con.isClosed())
        System.out.println("Connected to " + database_name + " creating the table " + table_name);
       String str = "CREATE TABLE " + table_name + "(id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, first_name VARCHAR(25), last_name VARCHAR(25), address VARCHAR(40), suburb VARCHAR(20), state VARCHAR(3), post_code INT(1), contact_number INT(10), email_address VARCHAR(40));";
       stmt = con.createStatement();
       stmt.executeUpdate(str);
       con.commit();
      catch (Exception e2) { System.out.println(e2); }
      finally {
       try {
        stmt.close();
        con.close();
       }catch (Exception e3) {  }
    }I am wondering if anyone can see where im going wrong? I am currently connecting with an anon account to MySQL.
    Here is the program I am using to test the above:
    class ConnectionTester {
    public ConnectionTester() {
      Connect s = new Connect();
      s.createDatabase("PersonDatabase");  //this throws the error
      //s.createPersonDetailsTable("PersonDatabase", "PersonDetails");
    public static void main(String[] arg) {
      ConnectionTester start = new ConnectionTester();
    }

    you should rethink whether you need to create a database using java. personally i think it's a bad idea. your database should exist and the schema should be ready to go when your app starts. why do you think you need to create one?
    %

  • Trouble Creating Users Via Web Form

    I'm having trouble creating user in a 9i database via web front end.
    I use the following sql to create the user
    strSQL="CREATE USER"""+strUser+"""PROFILE ""DEFAULT"" IDENTIFIED BY ""HELLO"" DEFAULT TABLESPACE ""DATA"" TEMPORARY TABLESPACE ""TEMP"" ACCOUNT UNLOCK"
    I then execute another two sql statments to grant "connect" thus
    strSQL="GRANT ""CONNECT"" TO "+strUser+""""
    strSQL="ALTER USER """ strUser"""DEFAULT ROLE ALL"
    Whenever I try connecting using the new users details, but get an error message that the server had problems accessing the LDAP directory service(ORA-28030).
    I'm happy that the SQL is correect as I created the account that I wanted using Enterprise Console and coppied the SQL it produced. I'm assuming that there's something in the background that is not being triggered when creating the user via the web front end.
    Can anyone tell me where I'm going wrong?
    Thanks
    Jason

    My apologies, I didn't realise HTML DB was a product. I thought it was a forum for questions regarding HTML and databases.
    Doh!!!
    Jason

  • Trouble creating new app

    I am new to Planning and having trouble creating a new app. I'm working w/ the Classic App Wizard in Workspace. I have created a 'hypuser' schema on Oracle 10g and and I use this in the 'configure database' stage of the Planning config. I have created/activated an instance 'inst1', and then in 'data source configuration' I have created a new datasource called 'dsn1' and have configured it as follows. For Relational Storage Config I have:
    Server: TestServer
    Port: 1521
    Product: PLANNING
    Database: xe
    User: hypuser
    Password: password
    For Essbase Server Info, I have:
    Server: TestServer
    User: hypuser
    Password: password
    In the Classic App Wizard, I select 'Create Application' and see that my data source name is pre-populated in the Select tab. I go on to choose a name for my app, description etc. and choose 'Planning' project from the Shared Services Project list. I then choose the instance that I had configured/activated earlier and finally check the Sample application checkbox. I feel I have followed all the correct steps, so I click 'finish', and after 5 minutes I get a totally nondescript error message: *"An error occurred while processing this page. Please check the log for details"*
    Which log is this error msg referring to? I have searched thru my C:\Hyperion\Planning directory and don't see any log files. More importantly, I can't detect where I'm making a mistake in the overall Planning database/datasource config and app creation process? All my other Hyperion apps, Smartview, Financial Studio, Web Analysis etc are working great with my Oracle database, so I can't imagine that it's a database issue. But I don't know what else it can be! I have plenty of cpu/memory resources on my Window 2003 server machine.. (fyi).
    Appreciate any advise on how to diagnose/solve this issue.
    thanks,
    Akshay

    Hi John,
    I've posted the following log (below) from the command window after running "startHyperionPlanning.bat" and going thru the create app process in Workspace. The log seems to point to a few different things that I have underlined.
    1. It keeps referring to problems with JDBC connection. What does this mean in the context of Planning ?install/config?
    2. It says "cannot set catalog name to: xe" Should I have used "+oracle: xe+" during the Repository config stage as the SID? I've used +'xe'+ in other places with no problems.
    3. It also says that 'No object was successfully created...' because of either OLAP server or database not running. I've double-checked and both my essbase server and oracle db are working fine and can be accessed by other apps.
    What does all of this suggest is the root cause of the problem. Should I go into oracle and manually delete all tables from the 'hypuser' schema? I'm a little skeptical about this, because during the database config I always choose the 'drop tables...' option.
    Anyways, appreciate your continued help on this.
    thanks,
    Akshay
    LOG:
    *Unable to create JDBC connection. java.sql.SQLException: [Hyperion][Oracle JDBC*
    *Driver][Oracle]ORA-12519 The listener could not find any available service handl*
    ers that are appropriate for the client connection. One possible cause for this
    error is that the server was not configured for the specified server type (share
    d/dedicated).
    Unable to set Planning's Oracle connection numeric character to '.'. java.lang.N
    ullPointerException
    Can not set database catalog name, skipping set of catalog name: xe_
    *Unable to create JDBC connection. java.sql.SQLException: [Hyperion][Oracle JDBC*
    *Driver][Oracle]ORA-12519 The listener could not find any available service handl*
    ers that are appropriate for the client connection. One possible cause for this
    error is that the server was not configured for the specified server type (share
    d/dedicated).
    Unable to set Planning's Oracle connection numeric character to '.'. java.lang.N
    ullPointerException
    Can not set database catalog name, skipping set of catalog name: xe*
    *Unable to create JDBC connection. java.sql.SQLException: [Hyperion][Oracle JDBC*
    *Driver][Oracle]ORA-12519 The listener could not find any available service handl*
    ers that are appropriate for the client connection_. One possible cause for this
    error is that the server was not configured for the specified server type (share
    d/dedicated).
    Unable to set Planning's Oracle connection numeric character to '.'. java.lang.N
    ullPointerException
    Can not set database catalog name, skipping set of catalog name: xe
    Can not get JDBC connection.
    *java.lang.Exception: No object were successfully created. This can be caused by*
    any of the following: The OLAP Server is not running, The DBMS is not running, t_
    he DBMS is running on a different machine that the one specified, the name and p_
    assword provided were incorrect._
    at com.hyperion.planning.HspPool.getObject(Unknown Source)
    at com.hyperion.planning.sql.HspSQLImpl.getConnection(Unknown Source)
    at com.hyperion.planning.sql.JDBCCacheLoader.loadObjects(Unknown Source)
    at com.hyperion.planning.sql.GenericCache.loadCache(Unknown Source)
    at com.hyperion.planning.sql.GenericCache.getCache(Unknown Source)
    at com.hyperion.planning.sql.GenericCache.getUnfilteredCache(Unknown Sou
    rce)
    at com.hyperion.planning.HspJSImpl.loadSystemCfg(Unknown Source)
    at com.hyperion.planning.HspJSImpl.<init>(Unknown Source)
    at com.hyperion.planning.HspJSHomeImpl.createHspJS(Unknown Source)
    at com.hyperion.planning.HspJSHomeImpl.getHspJSByApp(Unknown Source)
    at com.hyperion.planning.HyperionPlanningBean.Login(Unknown Source)
    at com.hyperion.planning.appdeploy.HspManageAppSession.deleteApplication
    *(Unknown Source)*
    at com.hyperion.planning.appdeploy.HspManageAppSession.createApplication
    *(Unknown Source)*
    at HspCreateApp.Handle(Unknown Source)
    at HspCreateApp.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
    ContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
    *0)*
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
    va:675)
    at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
    ool.java:683)
    at java.lang.Thread.run(Unknown Source)
    Attempted to release a null connection
    java.lang.NullPointerException: JDBCCacheLoader.loadObjects(): jdbc connection w
    as null.
    at com.hyperion.planning.sql.JDBCCacheLoader.loadObjects(Unknown Source)
    at com.hyperion.planning.sql.GenericCache.loadCache(Unknown Source)
    at com.hyperion.planning.sql.GenericCache.getCache(Unknown Source)
    at com.hyperion.planning.sql.GenericCache.getUnfilteredCache(Unknown Sou
    rce)
    at com.hyperion.planning.HspJSImpl.loadSystemCfg(Unknown Source)
    at com.hyperion.planning.HspJSImpl.<init>(Unknown Source)
    at com.hyperion.planning.HspJSHomeImpl.createHspJS(Unknown Source)
    at com.hyperion.planning.HspJSHomeImpl.getHspJSByApp(Unknown Source)
    at com.hyperion.planning.HyperionPlanningBean.Login(Unknown Source)
    at com.hyperion.planning.appdeploy.HspManageAppSession.deleteApplication
    *(Unknown Source)*
    at com.hyperion.planning.appdeploy.HspManageAppSession.createApplication
    *(Unknown Source)*
    at HspCreateApp.Handle(Unknown Source)
    at HspCreateApp.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
    ContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
    *0)*
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
    va:675)
    at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
    ool.java:683)
    at java.lang.Thread.run(Unknown Source)
    java.lang.RuntimeException: Error loading objects from data source: java.lang.Nu
    llPointerException: JDBCCacheLoader.loadObjects(): jdbc connection was null.
    at com.hyperion.planning.sql.GenericCache.loadCache(Unknown Source)
    at com.hyperion.planning.sql.GenericCache.getCache(Unknown Source)
    at com.hyperion.planning.sql.GenericCache.getUnfilteredCache(Unknown Sou
    rce)
    at com.hyperion.planning.HspJSImpl.loadSystemCfg(Unknown Source)
    at com.hyperion.planning.HspJSImpl.<init>(Unknown Source)
    at com.hyperion.planning.HspJSHomeImpl.createHspJS(Unknown Source)
    at com.hyperion.planning.HspJSHomeImpl.getHspJSByApp(Unknown Source)
    at com.hyperion.planning.HyperionPlanningBean.Login(Unknown Source)
    at com.hyperion.planning.appdeploy.HspManageAppSession.deleteApplication
    *(Unknown Source)*
    at com.hyperion.planning.appdeploy.HspManageAppSession.createApplication
    *(Unknown Source)*
    at HspCreateApp.Handle(Unknown Source)
    at HspCreateApp.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
    ContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
    *0)*
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
    va:675)
    at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
    ool.java:683)
    at java.lang.Thread.run(Unknown Source)
    Error cleaning up application after failed creation attempt: java.lang.NullPoint
    erException
    java.lang.NullPointerException: Connection was null
    at com.hyperion.planning.sql.HspSQLImpl.executeQuery(Unknown Source)
    at com.hyperion.planning.sql.HspSQLImpl.executeQuery(Unknown Source)
    at com.hyperion.planning.sql.HspSQLImpl.executeQuery(Unknown Source)
    at com.hyperion.planning.HspManageApplication.addPeriodsToYearTotal(Unkn
    own Source)
    at com.hyperion.planning.appdeploy.HspManageAppSession.createApplication
    *(Unknown Source)*
    at HspCreateApp.Handle(Unknown Source)
    at HspCreateApp.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
    ContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
    *0)*
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
    va:675)
    at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
    ool.java:683)
    at java.lang.Thread.run(Unknown Source)
    Can not get JDBC connection for SYS external changed actions.
    Can not get JDBC connection for SYS external changed actions.

  • Getting ORA-01031 when attempting to Create Database

    I am attempting to issue a CREATE DATABASE statement via JDBC but I am getting a "ORA-01031: insufficient privileges" error. I am logged in as an administrator and I have no trouble creating tables. I am also receiving the same error when attempting this from SQLPlus. I'm stumped.
    Thanks,
    Pino

    Pino,
    I haven't verified this, but only the SYS user can create a DATABASE in Oracle, and you also need to use a special login (when going via SQL*Plus) which JDBC cannot handle. Hence your failures both via JDBC and SQL*Plus.
    By the way, if you are new to Oracle, but have experience in another database, then the Oracle idea of a DATABASE is probably different than what you're used to. That's probably why you're stumped. If you haven't already done so, I suggest reading the Oracle Database Concepts volume of the Oracle documentation, which is available from:
    http://tahiti.oracle.com
    Good Luck,
    Avi.

  • Oracle 10g Help?Create database error

    I am unable to run a script createDB having command create database kmaa.I open up SQL*Plus, connect and login without any trouble as well. When I try to create a database I get the following:
    SQL> CREATE DATABASE kmaa;
    CREATE DATABASE kmaa
    Error at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-01100:database already mounted
    Any idea?

    Hi Pete,
    Oracle Express Edition creates a database automatically when you install it and the product is limited to one database instance per machine. Perhaps you are confusing users/schemas with what you may term a database. An Oracle database instance can be broken down into logical units called users or schemas. If you wish to create a database of books, you should create a user called books and then log on as this user and create your database objects. To make things simpler, Oracle XE comes with a browser interface based on Application Express. You can use this to create schemas, database objects and applications (forms reports etc) to access and manage those objects. Further to this you should RTFM.
    Regards
    Andre

  • Create Database alias

    Hi,
    I'm having trouble creating an alias for a database in Oracle 11gR2 (Server 2008 R2) using sql plus? Is there any reference of the command?
    I've done this time ago but can't remember the command ;(

    I support both names should be working?Yes. Just use "lsnrctl stat" on the server to check it out. See this example :SQL> sho parameter service
    NAME                                 TYPE        VALUE
    service_names                        string      db11r2
    SQL> !lsnrctl stat
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 21-MAY-2011 10:55:20
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                21-MAY-2011 10:53:19
    Uptime                    0 days 0 hr. 2 min. 1 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Log File         /home/oracle/base/diag/tnslsnr/linux542/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=linux542.localdomain)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=linux542.localdomain)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    Services Summary...
    Service "db11r2" has 1 instance(s).
      Instance "db11r2", status READY, has 1 handler(s) for this service...
    Service "db11r2XDB" has 1 instance(s).
      Instance "db11r2", status READY, has 1 handler(s) for this service...
    The command completed successfully
    SQL> alter system set service_names='db11r2, MYDB9CHRS';
    System altered.
    SQL> !lsnrctl stat
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 21-MAY-2011 10:55:52
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                21-MAY-2011 10:53:19
    Uptime                    0 days 0 hr. 2 min. 48 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Log File         /home/oracle/base/diag/tnslsnr/linux542/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=linux542.localdomain)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=linux542.localdomain)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    Services Summary...
    Service "MYDB9CHRS" has 1 instance(s).
      Instance "db11r2", status READY, has 1 handler(s) for this service...
    Service "db11r2" has 1 instance(s).
      Instance "db11r2", status READY, has 1 handler(s) for this service...
    Service "db11r2XDB" has 1 instance(s).
      Instance "db11r2", status READY, has 1 handler(s) for this service...
    The command completed successfully
    SQL>

  • 9.0.1 create database using dbca fails

    Solaris 8, 64-bit SPARC, 528mb RAM, 2 SCSI 9gig. Development box with no other users/processes running except Sendmail.
    Installed Oracle 9.0.1 on machine from CDs with no problems, Attempting to create database using Database Configuration Assistant.
    Creating 'general purpose' database using dbca with generally default parameters. Progress bar gets to 50% done, "creating & starting instance" is checked in progress window.
    CPU utilization goes to 100% and nothing happens for hours. Eventually have to cancel dbca. No control files or init.ora created, (pfile directory is empty) there are a bunch of oracle processes left running which have to be killed.
    I've tried this several times, moved stuff to different drives and/or filesystems, no luck. Have 5 gig available on /u01 where the database should install, and 8 gig available on /u02 where the .dbf's go.
    If I had any hair left, I'd pull it out. Any help would be greatly appreciated.
    Thanks in advance!

    I am getting this same problem: The DBCA gets to the point where it is installing the database and starting the instance (it says 51% of the way through), and then it just sits there doing nothing. I noticed when I installed Oracle (9.2.0) when it got to the point of the configuration assistants, there was mention of a listener not being able to start and the installer assuming it was already started (the listener that is). When the DBCA started right after, it stalled out at 51%.
    I aleady had the Sun JDK installed, but am assuming this is not the issue since the install got that far. Can someone please advise a course of action so that I can trouble shoot this? I am very very new to this side of Oracle. Any assistance is greatly appreciated and will be passed along to others in turn.
    Thanks,
    BillR

  • SQL Server error during create database through jdbc

    Hi ,
    Can anybody figure why I get the following exception
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Line 1: Incorrect syntax near '9876'.
    at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
    at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
    at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
    at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
    I am trying to create a new database through jdbc, I use only numeric characters in the database name.
    I can create the same database through SQL Enterprise Manager.
    -vikram

    The name of the database is 9876?
    Plan A: save yourself trouble and start database/table/column names with a letter.
    Plan B: if you really must, try quoting the database name: create database "9867".

  • Unable to Load Database/Unable to create database.

    RoboHelp 6.0 on my PC is suddenly unable to open existing
    projects or create new ones. The problem is not in the projects, as
    other people can unzip the same set of files and open them with
    RoboHelp on their PCs.
    The Details:
    When attempting to open an existing project (any project
    whether in version control or not), I get the message " Open
    project was cancelled or the application was unable to load
    database for..."
    I found the article that says to delete the CPD and XPJ files
    and then to use the Edit option to open the HHP file so that
    RoboHelp will recreate the two files. When I try that, I get the
    message "Unable to create database. Check that the directory is not
    read-only." It's
    not read-only.
    When I attempt to create a new project, the application acts
    like it is going to create one, but it just creates a project
    folder without the new first topic and then repeats the New Project
    Wizard window that prompts for title, etc. It will keep creating
    folders and returning to this window in a loop without ever really
    creating a project.
    RoboSource Control is functioning normally, by the way.
    I have uninstalled and reinstalled RH 6 several times, and
    have even uninstalled RH 6 and installed to RH 5 just to see if it
    could open projects, which it does with no problems. After that
    test, I uninstalled RH 5 and reinstalled RH 6, only to encounter
    the same problem all over again.
    This started happening after I uninstalled other unrelated
    software and received a message that some Service Pack 2 files had
    been changed and prompting me to insert the Service Pack 2 CD,
    which I don't have. This is because our IT department pre-builds
    our systems from an image and then distributes job-specific
    applications over the network. IT tried repairing Service Pack 2,
    but that didn't work. I'd like to uninstall and reinstall Service
    Pack 2, but the IT person says it's too risky on a system that was
    built from an image.
    We would like to find out
    which files RoboHelp is looking for when it launches a
    project so we can replace those files manually. Does anyone
    know what they are or have another suggestion that might fix the
    problem?
    Otherwise, I am stuck having to allow IT to rebuild my
    system. That means reinstalling and reconfiguring everything on it,
    just as if I were upgrading to a new PC. This can take a whole work
    week. However, I have already spent close to a work week on this
    problem, so maybe rebuilding would save time in the long
    run.

    Problem Resolution = HHA.dll
    For anyone who might be interested in the resolution to this
    issue, we did rebuild my PC and reinstall all of my software. The
    RoboHelp installation "complained" that I did not have HTML Help
    Workshop on my system and told me to download version 1.4 from
    Microsoft. I did have HTML Help Workshop..it's in my programs list.
    (It's not listed in programs on my co-workers' PCs, and they were
    not having problems, by the way.) But to make RH happy, I
    uninstalled the workshop and tried to install the version from
    Microsoft. But a message informed me that I already had a newer
    version of the workshop on my system, and I was back where I
    started. I could open projects, but there were weird problems.
    Selecting Topic Properties was met with an error message, and when
    the properties window opened, I could only see whatever template
    was assigned (or none if the topic had lost its template), and
    there was an extra section for Oracle help.
    So I started dinking around in the registry to see if I could
    get rid of any traces of the workshop so I could install the
    version RH wanted or to find any other clues to my problem. Under
    HTMLHelpAuthor, there was a reference to an HHA.dll file located in
    C:\WINDOWS\system32...only the file did not exist on my system.
    (Remember that my original problem was that some Service Pack 2
    files were either modified or missing.) So I did a Google search on
    that file name and found out that HTML Help Workshop is included in
    newer Windows operating systems, but that people used to have to
    get HTML Help Workshop from Microsoft, and that some people had
    made the mistake of just putting the HHA.dll file into the
    C:WINDOWS\system32 folder without also installing HTML Help
    Workshop. At this point it was obvious that I needed the HHA.dll,
    so I got it from a co-worker's PC. (Looking at the registry
    entries, I can also see that my system was built with a slightly
    different version of the operating system than my co-workers have.)
    Adding the HHA file to my system solved the problem. All
    projects but one were fine; one was still exhibiting the strange
    behavior. I fixed it by going back to the RoboHelp 5 version of the
    project and re-converting it to RoboHelp 6.
    I suspect that if I had known about the HHA.dll file before
    we rebuilt the PC, I could have solved the problem without going
    through that painful process. That is why I thought I should post
    the solution even though it was after the rebuild.

  • 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

  • Is db_name is the only parameter for creating database ? [Exper. on 32-bit]

    Because of the discussion present in the following thread, I did few experiments and would you like to share with you. Hope it is a useful information for you guys.
    Re: db_name & memory allocation
    OS: Win XP SP2 or Windows 2000 <b>(32-bit)</b>
    Oracle Version: Oracle 10gR2
    System RAM: 1G
    <b>Attempting to create the database CCC by specifying db_name parameter only</b>
    C:\oracle\product\10.2.0\db_1\database>copy con initCCC.ora
    db_name=CCC
    ^Z
            1 file(s) copied.
    <b> Starting the service </b>
    C:\oracle\product\10.2.0\db_1\database>oradim -new -sid CCC -startmode m
    Instance created.
    C:\oracle\product\10.2.0\db_1\database>set oracle_sid=CCC
    C:\oracle\product\10.2.0\db_1\database>sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Apr 6 07:50:06 2007
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL>
    SQL>
    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area  <b>113246208</b> bytes -- Default SGA size
    Fixed Size                  1247588 bytes
    Variable Size              58721948 bytes
    Database Buffers           50331648 bytes
    Redo Buffers                2945024 bytes
    <b> On seeing dynamic components size, shared pool got
    33m, large pool got 0m, java pool got 25m and buffer cache
    got 50m. Please check the references for these default
    values. </b>
    SQL> select component,current_size from v$sga_dynamic_components;
    COMPONENT                                                        CURRENT_SIZE
    shared pool                                                          33554432
    large pool                                                                  0
    java pool                                                            25165824
    streams pool                                                                0
    DEFAULT buffer cache                                                 50331648
    KEEP buffer cache                                                           0
    RECYCLE buffer cache                                                        0
    DEFAULT 2K buffer cache                                                     0
    DEFAULT 4K buffer cache                                                     0
    DEFAULT 8K buffer cache                                                     0
    DEFAULT 16K buffer cache                                                    0
    COMPONENT                                                        CURRENT_SIZE
    DEFAULT 32K buffer cache                                                    0
    ASM Buffer Cache                                                            0
    13 rows selected.
    <b>Total=109051904 </b>
    SQL>
    create database
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    <b>Errors in alert log file</b>
    ORA-00604: error occurred at recursive SQL level 1
    <b>ORA-04031: unable to allocate 40 bytes of shared memory ("shared pool","create unique index
    i_proxy_...","sql area","kksol : kksnsg")
    </b>
    Error 1519 happened during db open, shutting down database
    USER: terminating instance due to error 1519
    <b>It was thought that shared_pool memory area is not
    sufficient. Then thought to know how oracle will behave on
    setting sga_target parameter.</b>
    <b>initCCC.ora</b>
    db_name=CCC
    sga_target=113m
    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area  <b>121634816 bytes -- Got around 121m  </b>
    Fixed Size                  1247636 bytes
    Variable Size              54527596 bytes
    Database Buffers           62914560 bytes
    Redo Buffers                2945024 bytes
    <b>Now create database statement got success here.
    Instance got few extra Mbs of memory and oracle can create
    the database.</b>
    <b>Then it was thought that, why to give 121Mb even. Let exactly 113246208 bytes be devoted to the instance.</b>
    initCCC.ora
    db_name=CCC
    sga_target=113246208 -- providing exact number of bytes as obtained in default case
    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area  113246208 bytes
    Fixed Size                  1247588 bytes
    Variable Size              54527644 bytes
    Database Buffers           54525952 bytes
    Redo Buffers                2945024 bytes
    SQL>
    <b> Now create database statement got success here as
    well. Because of sga_target, automatic shared memory
    management enabled and instance was taking care of buffer
    cache, shared pool, large pool, java pool and
    streams_pool. In this case shared pool got 46m (greater
    than default case value). Java pool and Large pool got 4
    mb each and buffer cache got 54m. </b>
    SQL> select component,current_size
      2  from v$sga_dynamic_components;
    COMPONENT                                                        CURRENT_SIZE
    shared pool                                                          46137344
    large pool                                                            4194304
    java pool                                                             4194304
    streams pool                                                                0
    DEFAULT buffer cache                                                 54525952
    KEEP buffer cache                                                           0
    RECYCLE buffer cache                                                        0
    DEFAULT 2K buffer cache                                                     0
    DEFAULT 4K buffer cache                                                     0
    DEFAULT 8K buffer cache                                                     0
    DEFAULT 16K buffer cache                                                    0
    COMPONENT                                                        CURRENT_SIZE
    DEFAULT 32K buffer cache                                                    0
    ASM Buffer Cache                                                            0
    13 rows selected.
    <b>Total=109051904 </b>
    SQL>
    By providing 113246208 bytes (as in default case) of
    memory to SGA by setting sga_target value, Oracle gave
    extra memory to shared_pool and buffer cache than in case
    of default, thus helping create database statement to get
    pass. Oracle always recommends to use automatic shared
    memory management by setting sga_target parameter value.
    Hope this experiment provides few clues about automatic
    shared memory management feature of Oracle 10g. This case
    was conducted on 32-bit Oracle. It is quite possible that
    create database statement might get success in 64-bit
    Platform as by default Oracle will provide 84 Mb to Shared
    pool. But to confirm, it has to be experimented.
    References:
    Shared pool
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams196.htm#sthref804
    Large Pool
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams090.htm#sthref377
    Java Pool
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams087.htm#sthref364
    Buffer Cache
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams043.htm#sthref185

    Hi,
    Good Work Mohammed !!!
    Regards
    Taj

  • Error on Create Database command for Oracle 9i on Red Hat 9

    Error on Create Database command
    CREATE DATABASE ora9i
    LOGFILE
    GROUP 1 ('$HOME/ORADATA/log_01_01_ora9i.rdo') SIZE 10M,
    GROUP 2 ('$HOME/ORADATA/log_02_01_ora9i.rdo') SIZE 10M
    DATAFILE '$HOME/ORADATA/system_01_ora9i.dbf' SIZE 100M
    AUTOEXTEND ON NEXT 50M MAXSIZE 150M
    DEFAULT TEMPORARY TABLESPACE temp
    TEMPFILE '$HOME/ORADATA/temp_01_ora9i.dbf' SIZE 15M
    AUTOEXTEND ON NEXT 5M MAXSIZE 30M
    CHARACTER SET WE81SO8859P1
    NATIONAL CHARACTER SET AL16UTF16
    CREATE DATABASE ora9i
    ERROR at line 1:
    ORA-01092:ORACLE instance terminated. Disconnection forced.
    initora9i.ora file contents :
    background_dump_dest=$HOME/ADMIN/BDUMP
    core_dump_dest=$HOME/ADMIN/CDUMP
    db_name=ora9i
    db_files= 80
    db_file_multiblock_read_count=8
    db_block_buffers=100
    shared_pool_size = 3500000
    log_checkpoint_interval = 10000
    processes=50
    parallel_max_servers=5
    log_buffer = 32768
    max_dump_file_size = 10240
    global_name = TRUE
    control_files=$HOME/ORADATA/ctrl01.ctl
    undo_management=AUTO
    user_dump_dest=$HOME/ADMIN/UDUMP
    -------------------------------------------------

    Pleae include REUSE keyword at the end of each file location as shown below...
    CREATE DATABASE ora9i
    LOGFILE
    GROUP 1 ('$HOME/ORADATA/log_01_01_ora9i.rdo') SIZE 10M REUSE,
    GROUP 2 ('$HOME/ORADATA/log_02_01_ora9i.rdo') SIZE 10M REUSE
    DATAFILE '$HOME/ORADATA/system_01_ora9i.dbf' SIZE 100M REUSE
    AUTOEXTEND ON NEXT 50M MAXSIZE 150M
    DEFAULT TEMPORARY TABLESPACE temp
    TEMPFILE '$HOME/ORADATA/temp_01_ora9i.dbf' SIZE 15M REUSE
    AUTOEXTEND ON NEXT 5M MAXSIZE 30M
    CHARACTER SET WE81SO8859P1
    NATIONAL CHARACTER SET AL16UTF16

  • Trouble creating PL/SQL connection from JDEV to 10g XE

    Hi,
    I am wanting to run PL/SQL from JDev against the hr table in the 10g XE database.
    <br><br>
    In doing so I first need to create <em>my first</em> connection from inside JDev 10.1.3.2.0 to an Oracle Lite (10g) database. Both are installed on my personal PC.
    <br><br>
    So far I have been unable to create the connection; here is where I am so far in my attempts:<br><br>
    Enter the Create Database Connection Wizard<br>
    1) Entered a connection name and choose "Oracle Lite" as the connection type<br>
    2) Entered the User Name and Password for the System user of the 10g XE database<br>
    3) Entered Type 4 Driver; Host Name: localhost, JDBC Port 100, SID XE<br>
    4) I created my own library called "Oracle_Lite" with a class path that points to an olite40.jar file. I did not set the Source path or the Doc path when creating the library. Is this the correct library? <br>
    5) When clicking "Test Connection" it comes back pretty quickly with "Internal Error:Invalid Connect String"<br><br>
    After talking with a work mate I changed the JDBC Port to 1521 and now when I test the connection it starts testing and doesn't stop. The testing indicator bar continues going back and forth indefinitely. Can I assume I am at least now using the correct port?<br><br>
    Any advice or general tips on creating the connection to allow PL/SQL against the 10g XE database from JDEV would be great.

    Oracle 10g XE is not Oracle Lite. Just leave the connection type as the default - Oracle(JDBC), later use the thin JDBC driver, it should work. Continue to use port 1521 and SID as XE.

  • Unable to create database error

    Hello all-
    I've been working on a project in Robohelp7/HTML for about a
    week. I come in today and try to open my project and receive the
    error "Unable to create database. Check that the directory is not
    read-only.". I've done the obvious of checking the folders and
    files within and they are not marked read only. When I create a new
    project, I receive the same error. I'm stuck at a standstill and
    can't figure out why Robohelp has decided to deny me access to my
    project or the ability to create new ones. I went so far as to
    uninstall and reinstall, to no avail.
    Has anyone encountered this? Any help would be greatly
    appreciated.
    Thanks

    There is a topic on Opening RoboHelp Projects on my site. Rh allows you to browse to either an XPJ or HHP file but that is only as good as the last time you generated an output.
    When you open with an HHP you get an option to use the XPJ or not, in which case one is created. Either way there should be an XPJ. Not sure how you have lost it.
    Backup?
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

Maybe you are looking for

  • Return Cycle  with reference to cancelled invoice

    Dear All, There is a issue with the client  where in  the return sales order is happening with reference to cancelled invoice.  How to block the returns sales order from taking the cancelled invoice. 1. Is this a normal standard behaviour of the syst

  • My ipod got stolen and icloud says its offline is there another of tracking it?

    hi so my ipod was stolen from my sports bag while i went to practice. i have tried to locate it on icloud but it just keeps saying its offline is there any way to getting my ipod back? is there a way of location it even if it is offline and off wifi?

  • Blackmagic Intensity Pro using Premiere Pro CS5 Problems!

    Blackmagic claims there are not alot of problems with the Intensity Pro and Premiere ProCS5. Well I am having my fair share. Msvcr90.dll App Error (fixed this on my own doing Microsoft updates) Decklinkapi64.dll App errors (crash) while editing from

  • How to transfer iTunes library from Mac Mini to New Macbook Pro?

    I have my wife's iPad and iPhone synced to our Mac Mini.  I purchased a new Macbook Pro for her.  I want to have her iPhone and iPad now sync to the Macbook Pro and not lose any apps or data along the way.  Both machines are running iTunes 11.2.1.  I

  • Gallery yoga 2

    How do I sort my photos into albums? I can't find out how to create new albums so every photo just going into one album!