Regarding Generate New Database Job

Dear All,
I have a query regarding Generate New Database job while extracting Local DB to developers.
I got a request from multiple developers to extract Local DB for them. Do I have to run the Generate Database Job multiple times or is it enought if I run it once and then continue with DB extract Job for all the users?
Please help me out on this query?
Regards,
Abi

Hi,
As per oracle documentation -> http://docs.oracle.com/cd/B31104_02/books/RRAdm/RRAdmRM_RemoteConcpts12.html
"The Generate New Database component creates the local database template for a given database schema version. The component reads the database schema definition from the Siebel repository, then creates Siebel tables and indexes in a database template file stored on the Siebel Remote server in the dbtempl subdirectory."
Basically after any changes in schema you should run "Generate New Database" job again. That was the reason why I mentioned about generating it again.
GL

Similar Messages

  • Generate New Database Job Not Working

    I am trying to synchronize my web client with the server database and when I run the Generate New Database job (Administration - Server Management > Jobs), the job fails with the error SBL-GDB-00004: Error in Main Function.
    The logs say:
    2021 2010-08-05 11:09:28 2010-08-05 11:10:30 -0400 00000092 001 ffff 0001 09 GenNewDb 55574531 32352 1082539552 /siebel_8.2/siebsrvr/enterprises/SBA_82/sbllnx/log/GenNewDb_0053_55574531.log 8.2 [22117] ENU
    DBCLog     DBCLogError     1     000013994c570f29:0     2010-08-05 11:09:28     [DataDirect][ODBC lib] System information file not found. Please check the ODBCINI environment variable.
    GenericLog     GenericError     1     000013994c570f29:0     2010-08-05 11:09:28     SQL Message, IM002: [DataDirect][ODBC lib] System information file not found. Please check the ODBCINI environment variable.
    DBCLog     DBCLogError     1     000013994c570f29:0     2010-08-05 11:09:38     [DataDirect][ODBC lib] System information file not found. Please check the ODBCINI environment variable.
    GenericLog     GenericError     1     000013994c570f29:0     2010-08-05 11:09:38     SQL Message, IM002: [DataDirect][ODBC lib] System information file not found. Please check the ODBCINI environment variable.
    DBCLog     DBCLogError     1     000013994c570f29:0     2010-08-05 11:09:48     [DataDirect][ODBC lib] System information file not found. Please check the ODBCINI environment variable.
    GenericLog     GenericError     1     000013994c570f29:0     2010-08-05 11:09:48     SQL Message, IM002: [DataDirect][ODBC lib] System information file not found. Please check the ODBCINI environment variable.
    DBCLog     DBCLogError     1     000013994c570f29:0     2010-08-05 11:09:58     [DataDirect][ODBC lib] System information file not found. Please check the ODBCINI environment variable.
    GenericLog     GenericError     1     000013994c570f29:0     2010-08-05 11:09:58     SQL Message, IM002: [DataDirect][ODBC lib] System information file not found. Please check the ODBCINI environment variable.
    DBCLog     DBCLogError     1     000013994c570f29:0     2010-08-05 11:10:08     [DataDirect][ODBC lib] System information file not found. Please check the ODBCINI environment variable.
    GenericLog     GenericError     1     000013994c570f29:0     2010-08-05 11:10:08     SQL Message, IM002: [DataDirect][ODBC lib] System information file not found. Please check the ODBCINI environment variable.
    DBCLog     DBCLogError     1     000013994c570f29:0     2010-08-05 11:10:18     [DataDirect][ODBC lib] System information file not found. Please check the ODBCINI environment variable.
    GenericLog     GenericError     1     000013994c570f29:0     2010-08-05 11:10:18     SQL Message, IM002: [DataDirect][ODBC lib] System information file not found. Please check the ODBCINI environment variable.
    GenericLog     GenericError     1     000013994c570f29:0     2010-08-05 11:10:28     Error creating SQL Anywhere database template file (UTLOdbcConnect DBA/siebelmobiledb).
    GenericLog     GenericError     1     000013994c570f29:0     2010-08-05 11:10:28     Error in MainFunction (CreateDbTemplateFile)
    GenericLog     GenericError     1     000013994c570f29:0     2010-08-05 11:10:29     (gennewdb.cpp (610) err=524292 sys=2) SBL-GDB-00004: Error in Main function.
    GenericLog     GenericError     1     000013994c570f29:0     2010-08-05 11:10:29     (smisched.cpp (911) err=524292 sys=0) SBL-GDB-00004: Error in Main function.
    Anyone encountered this before?
    Thanks,
    Bernhard

    Hi,
    Make sure to set the ODBCINI environment variable. The variable must point to the path from the root directory to the system information file where your data source resides. The system information file can have any name, but the product is installed with a default file called odbc.ini in the product installation directory.
    For example, if you use an installation directory of /opt/odbc and the default system information file, from the Korn or Borne shell, you would enter:
    ODBCINI=/opt/odbc/odbc.ini; export ODBCINI
    From the C shell, you would enter:
    setenv ODBCINI /opt/odbc/odbc.ini
    Regards,
    Joseph

  • Generate New Database job never ends

    Hi all,
    We are trying to generate a new template in our DEV environment, the job remains active but never ends. On every attempt , the process stops in a different table or process.
    The log file (level 5) simply stops in a certain point and nothing else happens. The dbeng9 processes consumes almost 90% CPU but the process siebsh does not appear between the top processes.
    We already tried reset all the servers, gateway, reassign the remote component group, recreating diccache.dat, but nothing worked.
    We use siebel loyalty 8.1.1.1 and oracle 11g 11.2 , on top of aix 5.3
    Meanwhile, the workaround was to generate new template in another siebel enterprise and copied the templates to the DEV environment and extracted the databases.
    Will be very thankful if anyone can help.
    Thanks in advance

    But the problem is that the process really stucked. The siebel.dbf , which should be created during the job , stop increasing the size around 30M while in the other environment, when the process finished , the file reached 80M.
    The log file also suddenly stopped to increase. It really seems that the process is waiting for something.
    We are not having resource problems like disk space , cpu or memory lacking.
    Guys, do you know what kind of consistency should be checked for GennewDB? If the repository table definitions have differences when compared with actual physical schema, suppose that we forget to apply some new table definitions, would it be the root cause? Do you know a way to compare the repository definitions against the physical schema? I think "apply all" is not an option..
    Thanks in advance

  • Generate New Database failure

    Hi
    I am having an issue with Generate New Database. This is the first time after the installation.
    We have a Siebel 8.0 installation on HP Itanium with an Oracle 10.2.0.3.0 database.
    I get the followig errors:
    [Sybase][ODBC Driver][Adaptive Server Anywhere]Unable to start database server
    SQL Message, 08001: [Siebel Database][ODBC Driver][Adaptive Server Anywhere]Unable to start database server
    Error creating SQL Anywhere database template file (UTLOdbcConnect DBA/siebelmobiledb).
    Error in MainFunction (CreateDbTemplateFile)
    (gennewdb.cpp (610) err=524292 sys=2) SBL-GDB-00004: Error in Main function.
    Do we have to configure something? Can anyone help?

    We experienced the same issue. Our DB is Oracle 10.2.0.1 and our App Servers and DB servers are HP-Itaniums... (Prior to Oracle 10.2.0.2 as the minimum.)
    We were not able to resolve the issue as we switched to Linux before we completed. our initial deployment.
    As the Template DB is a SQL anywhere DB, did you try logging into the the DB using odbcsql.. This should confirm if your DB template file is corrupted or not...
    I'm interested in your findings as we did not resolve this before changing platforms...

  • Create feature for generate new collection having separate content database by using custom coding with C#

    Hi all My self ArunDarly .Iam using share point 2010 ,I want below task solve by  using custom coding with
    C#
    I have one task that create new site collection having separate content database. and that content database site collection limit  should be only one  (it must contain one site collection and note more than one  )
    This total functionality should happen when I am saving one list item (dynamically generate new site collection ) 
    If any body know this Please give me your guidance  
    Thanking  You,
    Arun Darly

    Hey Arun,
    I have done the same job. Hope this code will help you.
    using (SPSite siteCollectionOuter = new SPSite("Any SC url in which u want to create site."))
    SPWebApplication webApp = siteCollectionOuter.WebApplication;
    SPSiteCollection siteCollection = webApp.Sites;
    SPContentDatabase contentDatabase =
    siteCollection.WebApplication.ContentDatabases.Add(ServerName, New Database Name, Admin Name,
    "Admin Password",25,50, 0);
    //Above line will create new content DB
    contentDatabase.Update();
    siteCollection.WebApplication.Update();
    SPSite newSite = contentDatabase.Sites.Add("New SC Url", "SC Title", SC Desctipyion, 1033,
    15, "STS#0", "SC Admin", "Admin", "admin password",
    "User 2", "User NAme", "Password");
    //Ablove line will create new SC in to the Content DB
    //add the upper limit for the site collection
    SPQuota quota;
    quota = new SPQuota {StorageMaximumLevel = 2510220};
    newSite.Quota = quota;
    // And update the site collection and the content database
    newSite.RootWeb.Update();
    contentDatabase.Update();

  • Regarding New database installation

    Hi,
    I have one database with different user for billing,Reports etc.
    But we have problem of performance when we display reports. I think we have to create new database for Reports schema in that only reports are there.
    But still we have to fetch data from billing database to display reports.
    Is there any suggestion from your site .
    Please give me suggestion how to improve perfromance.

    user647572 wrote:
    Hi,
    I have one database with different user for billing,Reports etc.
    But we have problem of performance when we display reports. I think we have to create new database for Reports schema in that only reports are there.
    But still we have to fetch data from billing database to display reports.
    Is there any suggestion from your site .
    Please give me suggestion how to improve perfromance.You can create a replication of reports schema and get all data from that replicated database using data from the billing system via database link

  • Problem in Creating a new database in Oracle 9i

    I have installed Oracle 9i for Windows successfully. Now when I try to create a new database either using the Database Configuration Assistant or using the script generated by the Assistant, I get an error message that DATABASE NOT OPEN. So the database will not be created. Please help in this regard, so that I can create a database and I can start working on Oracle 9i.
    Thanks in advance.
    Kiran

    Hi DENIS,
    I have executed the following commands (which are in a script file),
    1. sqlplus /nolog
    2. connect sys/change_on_install as sysdba
    3. create database ...
    4. ...
    When I execute the 3rd command, I get an error message as "ORACLE TERMINATED FORCED" and it will end the session. So when the next set of commands in the script are executed, I got the error saying "DATABASE NOT OPEN".
    How to rectify this problem.
    Thanks in advance,
    Kiran

  • New database connection failed with oepe

    Hi everybody,
    @http://docs.oracle.com/cd/E27086_02/help/oracle.eclipse.tools.common.doc/html/install.html#install_oepe
    Oracle Enterprise Pack for Eclipse Installation Guide says:
    "You can install OEPE using any of the following ways:
    Download, and then unzip OEPE plugins directly into the Eclipse dropins folder and restart Eclipse."
    This is what I have done,
    then when I create a new database connection, and I press the button "test connection" i got a pop up saying "Ping failed" giving details:
    java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.net.FactoryURLClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at oracle.eclipse.tools.database.connectivity.db.OracleJDBCConnection.createConn(OracleJDBCConnection.java:198)
         at oracle.eclipse.tools.database.connectivity.db.OracleJDBCConnection.createConnection(OracleJDBCConnection.java:149)
         at org.eclipse.datatools.connectivity.DriverConnectionBase.internalCreateConnection(DriverConnectionBase.java:105)
         at org.eclipse.datatools.connectivity.DriverConnectionBase.open(DriverConnectionBase.java:54)
         at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.open(JDBCConnection.java:73)
         at oracle.eclipse.tools.database.connectivity.db.OracleJDBCConnectionFactory.createConnection(OracleJDBCConnectionFactory.java:26)
         at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:83)
         at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:359)
         at org.eclipse.datatools.connectivity.ui.PingJob.createTestConnection(PingJob.java:76)
         at org.eclipse.datatools.connectivity.ui.PingJob.run(PingJob.java:59)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    Did I miss something?

    The documentation is out of date. The unzip to dropins method is no longer supported. The OEPE zip you downloaded is actually an archived repository. You can follow the instruction for installing using Eclipse Update Manager and point to the downloaded zip instead of the online repository.
    I will follow up to get the docs updated.
    - Konstantin

  • Automatic Mail not getting generated through background job

    Hi Experts,
    We have set up a job variant with spool recipients. We are getting the automatic mail if the job is getting finished successfully. But we are not getting the automatic mail if the job is in cancelled status. Earlier we used to get the mail even if the job is in cancelled status. We are not sure if there is any setting which would restrict the automatic mail based on the job status.
    Appreciate your help in this regard.
    Thanks and Regards,
    Ranjani.

    Hi,
    Just for a work around, try checking the SAP user inbox for the user who has scheduled the background job.
    I don't there  is any seperate configuration in Spool List Recipient for the canceled jobs. We need to confirm that the email ids provided in the Spool List recipient are correct and the background job creates a spool request even if it is canceled.
    Also if possible try deleting the existing background job and create a new background job with the same parameters and valid email id's maintained in the Spool List recipient.
    OR
    Without deleting the existing background job, parallely create a new background job with the same parameters and valid email id's maintained in the Spool List recipient. If it works then delete the old background job.
    Thanks
    Harish

  • Cannot Open a new spool job

    Hi,
    I am tryiing to print the COBRA letters from the program RPUCOB02 and i am selecting uptodate radio button.
    I am not facing the error when i select one employee and give the letter print.when i try to select more that one employee and click on letter generate buton it is throwing an error "cannot generate a new spool job"
    It is working fine with the first employee.
    when i went to into the debug mode in the Inlcude for COB02F03 of the program RPUCOB02 , there is open_form and it is dispalying the 104 exception " Error when opening layout set printing" for the second ee.
    can anyone let me know how i can eliminate the error
    Thanks.

    Anjani & Raj,
    This worked for me as a bandaid fix.... didnt do much reasearch... looks like after printing first employee the system is trying to create a new spool request again.... follwoing work around worked for me and may work for you too....
    In the First component of the COBRA User Exit -  ZXPCOU01
    added the following peice of code... and it worked as the spool will be openend once...
    DATA: lc_flag TYPE c.
    IMPORT lc_flag = lc_flag FROM MEMORY ID 'COBRAUSER'.
    IF lc_flag IS INITIAL.
      lc_flag = 'X'.
      EXPORT lc_flag = lc_flag TO MEMORY ID 'COBRAUSER'.
      RAISE standard_procedure.
    ELSE.
      sy-subrc = 0.
    ENDIF.

  • Access key needed when creating a new database table with SE11

    Hi,
    I'm using SAP Testdrive (evaluation) on linux in order to learn a bit about ABAP programming. I want to create a new database table in the  dictionary to be used in my programs. I proceed in the following way:
    1) I run the SE11 transaction
    2) At the first entry I write the name of the table to be created (in the Database Table field)
    3) I click on the create button.
    But then the system asks me an Access Key to register, where can I get this?
    Thanks in advance,
    Kind Regards,
    Dariyoosh

    Ok I found the answer to my question in another thread
    Developer Key
    Make sure that your program names starts with "Z" or "Y", otherwise the system will ask you to register the object because it thinks you are creating/changing in the SAP namespace.
    In fact this was my error, my table name didn't start with neither "Z" nor "Y".
    Kind Regards,
    Dariyoosh
    Edited by: dariyoosh on Nov 13, 2010 12:34 PM

  • SSMS crash when creating new database diagram

    For several years I have been unable to create database diagrams from within SSMS.  I have tried every combination of VS2005, VS2008, VS2012 and VS2013 with every combination of SQL2005, SQL2008, SQL2012 and SQL2014.
    I have installed, uninstalled, and repaired many dozens of times.  I am currently using VS2013 ultimate with SQL2014 express.
    I have tried every related 'workaround' that I can find on the internet.  Still the problem persists.
    Any help would be deeply appreciated.
    Here are the relevant details with file versions:
    In SSMS, I right-click on a database and choose New Database Diagram.  A Blank diagram window appears with the SSMS error dialog:
    ===================================
    Attempted to read or write protected memory. This is often an indication that other memory is corrupt. (Microsoft.VisualStudio.OLE.Interop)
    Program Location:
       at Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
       at Microsoft.VisualStudio.Platform.WindowManagement.DocumentObjectSite.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
       at Microsoft.Internal.VisualStudio.Shell.Interop.IVsTrackSelectionExPrivate.Register()
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConnectSelectionContext()
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Activate()
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.viewManager_ActiveViewChanged(Object sender, ActiveViewChangedEventArgs e)
       at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
       at Microsoft.VisualStudio.PlatformUI.ExtensionMethods.RaiseEvent[TEventArgs](EventHandler`1 eventHandler, Object source, TEventArgs args)
       at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.SetActiveView(View view, ActivationType type)
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ShowInternal(ShowFlags showFlags)
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.<Show>b__26()
       at Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(Func`1 method)
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Show()
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.MarshalingWindowFrame.<Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame.Show>b__7a()
       at Microsoft.VisualStudio.Shell.ThreadHelper.Invoke[TResult](Func`1 method)
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.MarshalingWindowFrame.Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame.Show()
       at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con, String fileName)
       at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VirtualProject.Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection
    con, String fileName)
       at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con, String fileName)
       at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.CreateDesignerWindow(IManagedConnection mc, DocumentOptions options)
       at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.InvokeDesigner(IManagedConnection connection)
       at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.Invoke()
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ToolsMenuItemBase.MenuInvokedHandler(Object sender, EventArgs args)
    Version info taken from Sql Server  Management Studio/Help/About dialog:
    Microsoft SQL Server Management Studio      12.0.2000.8
    Microsoft Analysis Services Client Tools    12.0.2000.8
    Microsoft Data Access Components (MDAC)     6.1.7601.17514
    Microsoft MSXML                             3.0 4.0 5.0 6.0
    Microsoft Internet Explorer                 9.11.9600.17358
    Microsoft .NET Framework                    4.0.30319.18444
    Operating System                            6.1.7601
    DLL versions
    c:\Program Files(x86)\Common Files\microsoft shared\Visual Database Tools
    dsref80.dll  version 12.0.21005.1
    c:\Program Files(x86)\Common Files\microsoft shared\MSDesigners8
    msdds.dll    12.0.21005.1
    msddsf.dll   12.0.21005.1
    msddslm.dll  12.0.21005.1
    msdds.mp.dll 12.0.21005.1
    msddsp.dll   12.0.21005.1
    c:\Program Files(x86)\Common Files\microsoft shared\MSDesigners8\Resources\1033
    msddsui.dll 12.0.21005.1

    Hello,
    There is a Connect item related to this issue. This is the link of that Connect item:
    https://connect.microsoft.com/SQLServer/feedback/details/730985/smss-crashes-when-creating-new-database-diagram
    Try the workarounds posted there (Workarounds section).
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Creating a new database containing part of an existing database,same server

    Hi All Experts,
    I have a problem. I am trying to create a new database on a server which already has a database (named qadb10g) running on it. I want the new database to contain only a few tablspaces of the "qadb10g" database. I tried this approach.
    1. Take an RMAN backup of the desired tablespaces from the source database (qadb10g), including system and undo tablespaces as well.
    2. Use "SET NEWNAME FOR DATAFILE ..." RMAN commands to restore all the data files in the new disk location on the same server.
    3. Run "ALTER DATABASE BACKUP CONTROLFILE TO TRACE" command in the "qadb10g" database to generate a "create controlfile...." script.
    4. Edit the resulting file (from step 3) to change file locations and database name, instance name, etc.
    5. Create a new init.ora file for the new database.
    6. From an sql*plus session, with "ORACLE_SID" already set to new database name, run the "create controlfile ..." script which we generated and changed above.
    I performed steps 1-5 successfully, But when I ran the step 6 command, I got an error saying "Datafile Header contains database name 'qadb10g' which is not maching the <newdb name> .....".
    This means, the database datafiles which were backed up and restored from the 'qadb10g' database still contain the same db name in their header and this is preventing new control file from being created. So, the new datbase cannot be created. Can anbody help me how to resolve this problem???
    Any urgent help would be greatly appreciated. Thanks in advance.

    At Step 4, did you use the SET <newdbname> in the create controlfile script ?
    At Step 5, did you change the db_name in the pfile ?
    nid is the new and easier way to change the database name.

  • About spfile creating in oracle 10g while creating a new database

    hi everyone,
    i had this problem while i was creating a new database in oracle 10g.when running the database script, it gives an error about invalid option for create temporary tablespace. is it necessary to have an spfile created in 10g. when the script was not working,we tried to create spfile which gives error tht it does not match the parameter db_name. its taking the default db_name=orcl itself..tis not taking our new db name.
    im creating it manually through sql prompt not through DBCA.the problem is that its still accepting the default db name. please send me the solution with syntaxes.
    thanx

    first of all, thanx for giuding me as im a student doing a course in this
    what abt the creation of spfile.. in a documentation for steps in creating database, they have mentioned it as recommended in creating spfile.here are some notes regarding this ....for oracle 10g
    Step 5: Create a Server Parameter File (Recommended)
    Oracle recommends that you create a server parameter file as a dynamic means of maintaining initialization parameters. The server parameter file is discussed in "Managing Initialization Parameters Using a Server Parameter File".
    The following script creates a server parameter file from the text initialization parameter file and writes it to the default location. The script can be executed before or after instance startup, but after you connect as SYSDBA. The database must be restarted before the server parameter file takes effect.
    -- create the server parameter file
    CREATE SPFILE='/u01/oracle/dbs/spfilemynewdb.ora' FROM
    PFILE='/u01/oracle/admin/initmynewdb/scripts/init.ora';
    SHUTDOWN
    -- the next startup will use the server parameter file
    EXIT
    the error : db_name does not match with the parameter.
    its still taking the default orcl database name

  • TNS Protocol error in 11g when creating a new database

    Hi,
    I have installed 11g R2 64 Bit on Solaris 10 64 Bit. The installation happened successfully. Now when I use DBCA to create a new database it says ORA-12560 TNS:Protocol Adapter Error. I am accessing the server console and performing all operations there itself, I can't understand this issue.
    I have also created a listener.ora and tnsnames.ora and its running successfully (but don't really know if it is needed since I have not even created the database). The sqlnet.log shows following
    =====================================================
    Fatal NI connect error 12560, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/export/home/oracle/product/11.1.0/db_1/bin/oracle)(ARGV0=oracleTSG11G)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')(DETACH=NO))(CONNECT_DATA=(CID=(PROGRAM=sqlplus)(HOST=sol11oracle-vm)(USER=oracle))))
    VERSION INFORMATION:
    TNS for Solaris: Version 11.2.0.1.0 - Production
    Oracle Bequeath NT Protocol Adapter for Solaris: Version 11.2.0.1.0 - Production
    Time: 17-DEC-2009 10:30:52
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12560
    TNS-12560: TNS:protocol adapter error
    ns secondary err code: 0
    nt main err code: 530
    TNS-00530: Protocol adapter error
    =====================================================
    Some excerpts from the trace is:
    =====================================================
    2009-12-17 11:14:38.776040 : nsopen:opening transport...
    2009-12-17 11:14:38.776097 : ntpcon:entry
    2009-12-17 11:14:38.776140 : ntpcon:toc = 1
    2009-12-17 11:14:38.776196 : sntpcall:entry
    2009-12-17 11:14:38.776221 : sntpcall:not detaching from parent with additional fork
    2009-12-17 11:14:38.796184 : sntpcall:hdl[IR]=13, hdl[IW]=12
    2009-12-17 11:14:38.796429 : sntpcall:result string is NTP8 0
    2009-12-17 11:14:38.796527 : sntpcall:Can't read from pipe; err[1] = 8
    2009-12-17 11:14:38.796571 : sntpcall:exit
    2009-12-17 11:14:38.796674 : ntpcon:exit
    2009-12-17 11:14:38.796755 : nserror:entry
    2009-12-17 11:14:38.796776 : nserror:nsres: id=0, op=65, ns=12560, ns2=0; nt[0]=530, nt[1]=8, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    2009-12-17 11:14:38.796861 : nsopen:unable to open transport
    2009-12-17 11:14:38.796884 : nstoClearTimeout:entry
    =====================================================
    In /etc/host i have added server ip with host name.
    $ more /etc/host
    172.26.171.57 sol11oracle-vm
    The .profile of oracle user
    export TMP=/tmp
    export TMPDIR=$TMP
    export ORACLE_BASE=/export/home/oracle
    export ORACLE_HOME=$ORACLE_BASE/product/11.1.0/db_1
    export ORACLE_SID=TSG11G
    export PATH=$PATH:/usr/local/bin:/usr/ccs/bin:/usr/sfw/bin:$ORACLE_HOME/bin
    Please suggest.

    $ more tnsnames.ora
    # tnsnames.ora Network Configuration File: /export/home/oracle/product/11.1.0/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    TSG11G =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.26.171.57)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = TSG11G)
    $ tnsping tsg11g
    TNS Ping Utility for Solaris: Version 11.2.0.1.0 - Production on 17-DEC-2009 11:37:10
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    /export/home/oracle/product/11.1.0/db_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 172.26.171.57)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = TSG11G)))
    OK (50 msec)

Maybe you are looking for

  • Hyper-V replica vs Shared Nothing Live Migration

      Shared Nothing Live Migration allows to transport your VM over the WAN without shutting it down (how much time it takes on io intensive vm is another story)   Hyper-V replica does not allow to perform the DR switch without shutdown operation on pri

  • How to disable addressbook access for common area phones

    I'm searching for a way to prevent access to the company addressbook for our common area phones. One of these phones is used as a door phone in public area and should not display the contact cards of our employees. Many thanks

  • Prior month rate or data

    Hi, How can we access the prior month rate in the business rule table? If I use, say OPEAVG, it returns the AVG rate from the last month of the previous year. If I set the OPENING_PERIOD to -1 in the selected scenario, it doesn't seem to work. Thanks

  • Why should be install CI before Database Instance

    Hi friends, <b>Why should be install Central Instance before Database Instance??</b>

  • Import Proper error while importing SAPKB64019

    Hi, We are trying to import SAPKB64017 to SAPKB64020 in a queue. However,it gets stuck for 19 in the import proper phase,with the message: ""Import phase 'IMPORT_PROPER' (23.08.2007, 15:59:58) Error during executing the tp command 'tp R3I all DEV ...