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

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

  • 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

  • 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...

  • EM Patch Job never end

    Hi,
    I was trying to patch my Oracle 10g R2 10.2.0.3 using the dbconsole. But the EM Job never end(more than 20hours run). The patch job stuck in "checkTarget" with the log file show "waiting for output" (the previous step "cachePatchFile" succeeded).
    Anyone know what could be the reason?
    Thanks

    I searched for a way to stop the job because it's still on the Preparation now.
    But i did not find the job in ALL_SCHEDULER_JOBS and with EM i can only stop it friendly, not forcefully.
    Does anyone have a hint?
    Thanks
    Daniel

  • Few SAP_COLLECTOR_FOR_PERFMONITOR jobs never end

    Hi,
    On our BI Production server, in job overview there are 5 of these jobs running for almost a day now and they are taking all job spaces so no other process cant be completed. Our BC guy is on vacation so there is no one I can actually ask what to do, so please advise. Thanks

    Hi Mijodrag,
    If you have access to view the jobs in SM37 select them by clicking on the tick boxes on the left of the screen as per my attachment.
    Otherwise you will have to identify via SM66 on which server the job is running, then via SM51 go to that server then to SM50 select the relevant processes and "Cancel without core" as per below attachment.
    Once this is done someone will have to investigate why these jobs are running so long usually these jobs are not long running there might be some other problems on your system as well see SM21/ST22 perhaps as well.
    Kind Regards,
    Johan

  • 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();

  • I created a new administrator USER account. I deleted the original one but the process never ends. It's been 3 days now.

    I created a new administrator USER account. I deleted the original one but the process never ends. It's been 3 days now. And I can't close preferences window or turn off the computer.
    It's stays in the "deleting" but I can't cancel it or close the window.
    What can I do?

    Here are two screen shots to show you what I am seeing.  The first screen shot shows it allowing me to select (highlighted in blue) my admin user (which is what I am locced in as).  The second screen shot shows it allowing me to select the "Guest" user (highlighted in blue).  However when I click on the user "Orion" nothing happens.  It will not change to highlight that user.

  • SQL Server 2012 Management Studio:Importing XML file to new Table of new Database-XML parsing: unexpected end of input???

    Hi all,
    In the Notepad, I created an xml file (ZenQroducts.xml) :
    <Qroducts>
    <Qroduct>
    <SKU>1</SKU>
    <Desc>Book</Desc>
    </Qroduct>
    <Qroduct>
    <SKU>2</SKU>
    <Desc>DVD</Desc>
    </Qroduct>
    <Qroduct>
    <SKU>3</SKU>
    <Desc>Video</Desc>
    </Qroduct>
    In my SQL Server 2012 Management Studio, I executed the following code:
    --to create a new object Qroducts in a new database OPENXMLtesting
    CREATE DATABASE OPENXMLtesting
    GO
    CREATE TABLE Qroducts(
    sku INT Primary KEY,
    qroduct_desc VARCHAR(30));
    INSERT INTO Qroducts (sku, qroduct_desc)
    SELECT X.qroduct.query('SKU').value('.', 'INT'),
    X.qroduct.query('Desc').value('.', 'VARCHAR(30)')
    FROM (
    SELECT CAST(x AS XML)
    FROM OPENROWSET(
    BULK 'H:\ZenQroducts.xml',
    SINGLE_BLOB) AS T(x)
    ) AS T(x)
    CROSS APPLY x.nodes('Qroducts/Qroduct') AS X(qroduct);
    SELECT sku, qroduct_desc
    FROM Qroducts;
    I got the following message:
    Msg 9400, Level 16, State 1, Line 6
    XML parsing: line 13, character 12, unexpected end of input
    I have no ideas why I got this "XML parsing:line 13, character12, unexpected end of input" message. Please kindly help, advise me on where I made mistake and how I can resolve this problem, and respond in this Forum.
    Thanks in advance,
    Scott Chang
     

    Hi Manish, Thanks for your response.
    Yes, it is a duplicate with Qroducts/Qroduct instead of Products/Product. I did it, because I don't know how to remove the existing "Products" database.
    Again, I got the existing "Qroducts" database in this second trial!!??  I am comletely lost in doing "Importing XML file to SQL Table" now!!  I think that I have not touched T-SQL and XML programming, since 2008. I
    did not catch the new features of T-SQL 2008, XML, SQL/XML, XQuery, etc. for long time. Recently, I did not know what DECLARE, @x, SET,...were, and dived into the SQL/XML and XQuery programming. I knew the SQL Basics (SELECT, FROM, WHERE,..), creating
    the names of databases and tables in SQL Server 2008/2012 Management Studio (Express) before. This morning, I found an old T-SQL 2008 Prgrammer's Guide that has the new features of SQL Server 2008 for T-SQL, XML, XQuery, etc. I just starting reading
    it to know what DECLARE, @x, SET,... are. But, I still don't know where the existing databases "Products" and "Qroducts" (created by me) are - they are not in the Databases of SQL Server 2012 Management Studio I am using!!??  Could
    you please kindly point out where the "Products" and "Qroducts" databases are?
    Prashanth responded to my posted question too and he asked to to try his code: DECLARE @xml XML, SELECT @xml =' <Qroducts>.....SELECT product.value.....FROM @XML.nodes.....AS.... I just learned that his code is doing the thing we
    want to do and print the results below the SQL Query. This is not what I need in doing my SQL/XML programming. I am reading/studying the new (2008) features of T-SQL, XQuery 1.0: An XML Query Language (Second Edition), and Microsoft XQuery Language Reference
    (SQL Server 2012 Books Online) closely now. I hope that I can resume the T-SQL, XML Query, SQL/XML, XQuery in my SQL Server 2012 Management Studio soon.
    Please tell me  where the existing databases "Products" and "Qroducts" I created in my previous trials in my SQL Server 2012 Management Studio.  This is what I need to know and to delete them, before I do this kind of "Importing
    XML file to Table of SQL Server 2012 Management Studio"  programming again.
    Please kindly help, advise and respond again.
    Many Thanks,
    Scott Chang

  • Dropped database in a never-ending app

    Hello,
    I have an application which processes all the time by implementing a never-ending loop and a sleep at a given interval. It accesses the database to retrieve, insert and update data throughout the entire process. I have created a connection pool that contains a configurable number of connections (for any future multi-threading) that will be retrieved to complete the SQL transaction and released when it no longer needs it. The list of connections is decreased when I access the pool and increased when the connection is released. My concern is that I would like to detect when the DB has been dropped and brought back up without having to restart my app. The first way to detect it would be to check the connection object when it is used, but I am not sure if that is the way to do it correctly. Does it fail when I create the preparedStatement or when I run executeQuery or executeUpdate? What is the best way to detect whether I need to re-create my pool of connections?
    I appreciate your feedback.
    Thank you

    It will fail when you try to open the connection. If for example you are using a JNDI DataSource when you call the DataSource.getConnection() method it will throw a SQLException with the correct code and message for the database vendor.
    That said, I wouldn't do it the way you're doing it. By holding an open connection, you're pirating a connection resource that the DB may need for something else, or another app might need and in my opinion it's just bad design.
    I would recommend opening the connection at the beginning of the method where you are doing the data access and then closing it (along with all of the other database resources before leaving that method. A general code pattern would look like this.
    public void getSomeInformation(){
      String sql = "SELECT something FROM somewhere" ;
      try{
        // initialize the connection
        // initialize the statement object
        // prepare whatever parameters
        // execute the statement
        // make sure you got some results and process accordingly
      catch(SQLException e){
        // handle any exceptions that might come up
      finally{
        // close the result set
        // close the statement
        // close the connection
        // set all of the above to null to mark them for GC
    }Some of this may seem like overkill, but that's a feeling that goes away when you've had your application spin into the ground because you accidentally left database resources open and killed the database and the application server.
    Yes, there's a little overhead in terms of getting the connection, but it's a delay that my customers have never complained about in the face of the abject reliability of making sure that the house is clean and orderly all the time.

  • New to Mac: My Macbook Pro does not power on and off very well.  It freezes in the never ending circular swirl.  I have to hold down the power button to get a "reset."  I have updated software

    New to Mac:  My Pro does sleep, power on or power off consistently or efficiently.   It freezes into a  never ending spool.  I have to press down the power off button to reset.  I have updated my software.

    If this is a new MacBook Pro, and you're within 90 days of purchasing it from Appe, contact Apple support. In the US it's (800) APL-CARE (800-275-2273)

  • InstallShield Wizard never ends under Solaris !

    Hi
    I am launching ./solaris_livecycle8_setup.bin under a new path on a same machine as my other Es installation.
    The Installshield wizard never ends
    This must be an issue with some temporary files of the previous separate install
    But I can't find any files in /var/tmp or /opt/adobe
    How can I extract nice adobe install files to luanch my install ?
    Regards
    Chris

    A never-ending UT acquisition is not the same as the problem described by CSCtd49439.  That would also not account for an inflated number of end hosts.  Without knowing the exact details of the end hosts, I do know we had an old bug in Campus 4.x where UT would generate perpetual duplicates.  This was fixed in 4.0.11, but one would need to reinitialize the ANI database to remove the duplicates.  If this is an upgrade from LMS 2.6, then perhaps you still have old, stale data.  Running this command would fix that:
    NMSROOT/bin/perl NMSROOT/campus/bin/reintdb.pl -ut
    As for the never-ending UT, check to see if the UTMajorAcquisition process is still running.  If so, contact TAC, and they can walk you through the process to get a thread dump from this process.  That will help identify what the process is doing and whether or not this is some kind of deadlock, or a configuration issue.

  • 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

  • Primary Key - Generated by database TRIGGER

    Hi,
    I have a form with a block that is attached to a table. So far, nothing fancy :-)
    The Primary is generated with an ORACLE SEQUENCE. That is done at the TABLE level with a DATABASE trigger.
    So in the form, the primary field is not populated.
    Works fine. But if the user wants to UPDATE the forms content, right after they did an INITIAL commit, THEY CAN'T !!!!!!!!!!!
    How can I code this in the form?
    Is there a way to syncronize (populate) the primary key in the form with it's table content?
    If so, how do I query the table if I don't have the primary key value ?
    Thanks for ANY advise,
    Marc.

    Another solution is to use both a database trigger and a PRE-INSERT trigger in Forms.
    The database trigger should be something like
    CREATE TRIGGER INS_TABLENAME BEFORE INSERT ON TABLENAME
    FOR EACH ROW WHEN (new.ID IS NULL)
    BEGIN
    SELECT TABLENAME_SEQ.nextval INTO :new.ID FROM DUAL;
    END;
    and the PRE-INSERT trigger should be something like:
    SELECT TABLENAME_SEQ.nextval INTO :blockname.ID FROM DUAL;
    This way one solves the problem of DML RETURNING VALUE not working in Forms with Oracle version > 8 (does it work on version 8 as it is said to be? - i have not tested it anyway) and the use of other applications (SQL*Plus, JAVA, etc) without writing any code.

  • UT acquisition never ends

    I have had thi issue in the past and
    TAC provided me a patch under bug id CSCtd49439 but I seem to
    have the same problem again
    I have this acquisition runnng since the 9th and it as never stopped and I don't know why it is showing 45855 hosts, the most we have less than 10000 hosts. Can anyone tell me what cuould be wrong with my server?
    I'm running LMS3.2 on Solaris 10.
    Acquisition status Running
    Acquisition type Major
    Acquisition start time 09 Oct 2010, 05:00:00 EDT
    Last Acquisition end time 08 Oct 2010, 07:44:01 EDT
    Number of acquisitions 1155
    Number of host entries 45855
    Number of duplicate MAC 21341
    Number of duplicate IP 89
    Number of CCM hosts 0
    Number of IP phone entries 0
    Last campus data collection completed at  11 Oct 2010, 12:14:33 EDT
    Campus data collection status  Idle

    A never-ending UT acquisition is not the same as the problem described by CSCtd49439.  That would also not account for an inflated number of end hosts.  Without knowing the exact details of the end hosts, I do know we had an old bug in Campus 4.x where UT would generate perpetual duplicates.  This was fixed in 4.0.11, but one would need to reinitialize the ANI database to remove the duplicates.  If this is an upgrade from LMS 2.6, then perhaps you still have old, stale data.  Running this command would fix that:
    NMSROOT/bin/perl NMSROOT/campus/bin/reintdb.pl -ut
    As for the never-ending UT, check to see if the UTMajorAcquisition process is still running.  If so, contact TAC, and they can walk you through the process to get a thread dump from this process.  That will help identify what the process is doing and whether or not this is some kind of deadlock, or a configuration issue.

Maybe you are looking for

  • ITunes Match Unable To Get Past "Waiting for Apple to deliver your iTunes Match results..."

    Been trying for days but it just gets to "Waiting for Apple to deliver your iTunes Match results..." and then stops and allows me to press the Start button again to start the match process.  Sometimes I get error -3231. I've called Apple and they wan

  • Error Key word when interfacing EPMA interface table

    Hi, I'm trying to interface a SQL server database with EPMA interface tables. So basically, I'm doing SQL server to SQL server. I already have several Interfaces that work fine, but I encounter an issue when interfacing a ...PropertyArray table in EP

  • Application exe file cannot get FieldPoint data

    I built an application exe file from my development notebook computer (Win XP) that have LV7.1 and Max 3.1. The stand alone exe file runs well in the same notebook. But it could not get any FP data when it is running from a target computer (Win 2000)

  • Getting an image path & display an image  in JSp

    hi How to get image & particular image path stored in Database .in Jsp [ Image stored in anther drive ( D:\images) ] & my webroot dir in c:\apachetomcat\webapps.... Any Help will be Appriciated [email protected]

  • How to set up parental controls in itunes

    I am trying to set up parental controls in itunes.  I'm confused, as it says to set it up on the administrator account - but we only have one account.  Please help.