[SQL Anywhere 12.0.1.4086] Assertion failed

Hello,
the following exception occured while trying to connect to database:
*** FEHLER *** Assertierung fehlgeschlagen: 200130 (12.0.1.4086)[MC500]
Invalid page found in index
If Sybase Central is used to connect to DB, the following additional information is given:
[Sybase][ODBC Driver][SQL Anywhere]Interner Datenbankfehler *** FEHLER *** Assertierung fehlgeschlagen: 200130 (12.0.1.4086)[MC500]
Invalid page found in index - Transaktion wurde zurückgesetzt
  SQLCODE=-301
  SQLSTATE=HY000
What does it mean and how can it be repaired?
Best regards,
Wolfgang
(By the way: entering Data with Internet Explorer was not possible on this site)

See this forum post: An assertion failures on SQL Anywhere 12
If you don't get an answer here, try posting on that forum as well.

Similar Messages

  • SQL error: Internal database error *** ERROR *** Assertion failed: 201501 (10.0.1.3415)

    A SQLA10 production database has been crashing at a customer site.
    Here's the error which displayed when I tried to unload the database...
    Unloading "DBA"."schedule_profile" into C:\resq\resqprod2\db\unload\719.dat (relative to server)
    Unloading "DBA"."schedules" into C:\resq\resqprod2\db\unload\720.dat (relative to server)
    ***** SQL error: Internal database error *** ERROR *** Assertion failed: 201501 (10.0.1.3415)
    Page for requested record not a table page or record not present on page -- transaction rolled back
    The database 'C:\resq\resqprod2\db\resqprod2.db' could not be unloaded.
    The database 'C:\resq\resqprod2\db\resqprod2.db' could not be unloaded.
    I think that backups may also have this error.
    Can the database be salvaged?
    Thank you,
    Doug

    Hi Doug,
    The error seems to be saying that a pointer is pointing to an invalid page.
    Actually, the assertion message is suggesting that we were scanning for a row (record) on a particular page where we expected to find it, and didn't - the table page is likely corrupt.
    Does a utility exist which would eliminate all pointers to invalid pages?
    No. If the database is corrupted, it is best to move to your database recovery procedure from a valid backup. See KBA 1959391 - How can a SQL Anywhere (stand alone) database be restored from a full or incremental backup?
    If you do not have a valid database backup but can still start and connect to the corrupted database (and it seems that you can), you can attempt to salvage the data out of the corrupted database tables manually to extract it to a new database (as Jinwoo suggested). See KBA 1959030 - How To Salvage Data When There are Corrupt Pages in the Database. Using -e to skip tables is appropriate and then trying to select the data that is not contained on invalid pages via the KBA instructions is your best option in this case.
    Does sap/sybase offer a recovery service?
    No, there is no such "recovery service" underneath SAP and any previous mentions of salvages were one-off contracts underneath Sybase Professional Services, and not a technical support service. These contracts are not available at SAP.
    This topic was discussed thoroughly on the SQL Anywhere forum ( http://sqlanywhere-forum.sap.com/ ) previously here and here.
    The prevention for this situation is to have properly validated backups, preferably in multiple backup generations to provide many opportunities for recovery. See: http://wiki.scn.sap.com/wiki/x/3QNcFg
    Regards,
    Jeff Albion
    SAP Active Global Support

  • SQL Anywhere 11 databases are getting corrupt

    Hi
    We are having problems with databases that are getting corrupted.
    We have a server that runs a SQL Anywhere 11 database. (the consolidated database)
    Beside that, we have about 15 remote databases that run on the laptops of our mobile workforces.
    To keep all databases in sync, we have setup a two-way server-to-laptop replication.
    For the replication process we use “SQL Remote”.
    Each laptop should replicate his data once in about 1 or 2 weeks.
    For exchanging the messages we use the message type “file”.
    This year we already experienced 6 times that a remote database got corrupt after replication. (after running dbremote.exe).
    The log file of the dbremote utility does NOT show any errors, the replication seems to be finished without any problems.
    But after this, it’s not possible anymore to connect to the database, because of the following assertion error:
    [Sybase][ODBC Driver][SQL Anywhere]Internal database error *** ERROR *** Assertion failed: 201501 (11.0.1.2376)
    Page 0x0:0x7182d1 for requested record not a table page -- transaction rolled back
    Error code=-301
    SQL state=HY000
    Can someone tell me more about this error?
    What goes wrong and why?
    Or does someone has some tips on how to prevent this or tips on how I can do some analyzing myself to see what exactly got broken in the database?
    Any help is appreciated.
    Thanks.

    Hi Krenton,
    Page 0x0:0x7182d1 for requested record not a table page -- transaction rolled back
    Error code=-301
    SQL state=HY000
    Can someone tell me more about this error?
    Specifically, the page at offset 0x7182d1 in database (So if you have a 4KB page size, this would be byte offset 7439057 x 4096 = 30470377472 into the database) in 0x0 (the main database running) has a page header that indicates that the data on the page is not table data. We don't know what it is, but the signature for table information connected to the table you're scanning is 'not as it should be'.
    What goes wrong and why?
    In the real world, lots of things can go wrong. I list some of the possible things on this question here on the SQL Anywhere forum. This list can include software bugs, but can also include instances where the media is not respecting write-through or write-ordering - see http://scn.sap.com/docs/DOC-34090 (SQL Anywhere I/O Requirements for Linux and Windows) for more details.
    There are also known instances where Intel drivers are not set with the correct write-through settings. The details of this are in the documentation: DocCommentXchange (Improving Robustness on Intel storage drivers).
    Technical Support should still provide assistance. If the problem is a newly-discovered bug in SQL Anywhere 11, their advice will be to apply a more recent EBF or upgrade to a new version. However, that is unlikely in this case.
    Breck is correct - it would probably be best to take a look at the database file in technical support for more clues as to what's happening here. With the current information, it's hard to say more than "something was not correct at the time the page was looked at by the database server."
    Regards,
    Jeff Albion
    SAP Active Global Support

  • CJS-00030  Assertion failed: Execution of SQL script reports an unexpected error.System Copy

    Experts,
    I am performing Homogeneous System copy using backup/restore method.I have taken QA system backup ie dump files and trying to build on Sandbox system for testing purpose.Everything went fine and was able to load the dump but stuck at one of the point and throwing me error
    ERROR      [cinstallercallbackimpl.cpp:228]
    CJS-00030  Assertion failed: Execution of SQL script reports an unexpected error.
    When I checked the sapinst_dev log I found the below error but not able to fix it and not aware to proceed further
    1> use SID
    1> EXEC sp_changedbowner sapsa
    Msg 17362, Level 16, State 1:
    Server 'SID', Procedure 'sp_changedbowner', Line 181:
    The proposed new db owner already is a user in the database or owns the database.
    (return status = 1)
    I am sure these may be small changes that have to be made by changing the db owner and Im not exactly sure how to perform it.
    Note:I am Using the Windows environment with Sybase ase database and SWPM tool to perform.
    Appreciate your suggestions
    Thanks

    I fixed the issue ..by changing the owner sapsa.Bingo !!!!

  • SQL Anywhere 16 fails to install on Mac

    SQL Anywhere 16 fails to install on Mac (Mac OS version 10.7.5). Setup application says "Internal error"

    Hi Vladimir,
    Do you have a machine with 10.8 you could try installing SQL Anywhere on? 10.7 is not a supported or tested platform for version 16.
    Thanks,
    Mikel

  • Assertion failed:201847

    Hi Everyone,
    My application is written in C# language, the version of database software is SQL Anywhere 11.0.1. I put the database file(xx.db) in "F" hard disk.
    At the begining of my program,I write a function to connect the database,but sometimes it throw the exception:
    [Message]Internal database error***ERROR***Assertion failed:201847(11.0.1.2044)
    Checkpoint log:write to F:\xxxx.db failed with status1:1453:filesystem may be full or file size exceeded system -- transaction rolled back
    [Stack Trace]  at iAnywhere.Data.SQLAnywhere.SAConnect.Open()
    at MyApplication.MainWindowViewModel.ConnectDataBase(Task task)
    I restart my application,it threw the exception:
    [Message]unable to start database server
    [Stack Trace]  at iAnywhere.Data.SQLAnywhere.SAConnect.Open()
    at MyApplication.MainWindowViewModel.ConnectDataBase(Task task)
    I restart the computer,then start my application,no exception.
    Any clue what could be wrong?
    Thanks

    Hi Bing,
    At first, I would suggest to upgrade your SQL anywhere files to the latest patch available.
    Version 11.0.1.2044 was released in February 2009 and it is the GA release. Then, let me know if you still have the same problem please.
    You can download patches from here Software Downloads | SAP Support Portal
    Thank you.

  • Issues connecting to a SQL Anywhere repo from the Designer

    I have installed DS4.2 SP2 on a number of Suse 11.1 Linux VMs using all of the standard settings, and making use of the bundled SQL Anywhere database as my repo.
    I am getting an error in the Designer when I try to connect to certain repositories in the Login screen, but the problem is not happening on all installations.
    The error is an ODBC message:
    ERROR: ODBC call <SQLDriverConnect> to connect database <DS_REPO> failed with error: <[Sybase][SQL Anywhere]Database server not found>. Use the ODBCDriverSelector (Windows) or DSConnectionManager,sh (UNIX) utility in LINK_DIR/bin to configure the correct version of the driver.....(BODI-1112172)
    I have checked both the ODBCDriverSelector on the machine running the Designer and DSConnectionManager on the server, and the drivers are all correct for SQL Anywhere 12. I can also successfully connect to the database from the Windows Repository Manager - the only problem is with the Designer.
    I have tried adding an ODBC entry in the System DSNs for the repo database, and again I can successfully test the connection - but this hasn't fixed my issue, and the Designer can connect (when it can connect) even if a DSN isn't defined.
    I'd appreciate any thoughts or advice.

    I have a solution - in the CMC, set the repo to use DNS. You need to first create an appropriate entry in the <install dir>/sap_bobj/enterprise_xi40/odbc.ini and then create an equivalent entry on your client ODBC settings.

  • PHP odbc_connect on a running SQL Anywhere 16 server

    Hello,
    please help with the following php odbc_connect problem:
    On my local machine (win 7, 64 bits) is a running SQL Anywhere 16 database. Started with
    dbeng16.exe -c 8m -n xx_test "G:\DEMOS\xx\DB16\test.db"
    In the ODBC manager then created a ODBC connection (xxdsn).
    But the connection from PHP 5.3.8 fails:
    $verbindung = odbc_connect('xxdsn', 'dba', 'sql');
    It shows
    Warning: odbc_connect() [function.odbc-connect]: SQL error: [Sybase][ODBC Driver][SQL Anywhere]Datenbankserver nicht gefunden, SQL state 08001 in SQLConnect in verbindung.php on line 4
    The database is definitively runnig. Tested by opening an odbc connection from isql.
    When I create an odbc connection on a database file, I can make an php odbc_connect.
    This problem is only on the Win 7 machine and also with SQL Anywhere 12.
    When I try the same on a (32 bits) XP machine it runs fine.
    Please help, to find my mistake.
    Thanks in advance!
    Best regards,
    Peter

    Hi Mirco,
    thank you for your time. Here both log files.
    From XP:
    Donnerstag, 19. Februar 2015 15:03:4
    15:03:42 Verbindungsversuch mit:
    UID=dba;PWD=********;DBN=xxx_16;ServerName=xxx;CON=SQL_DBC_4224f48;LOG=C:\temp\sybase.log
    15:03:42 Verbindungsversuch mit einem laufenden Server...
    15:03:42 SharedMemory-Verbindung wird versucht (keine im Cache sasrv.ini gespeicherte Adresse)
    15:03:42 Verbunden mit Server über SharedMemory
    15:03:42 Verbunden mit SQL Anywhere Server Version 16.0.0.1324
    15:03:42 Hinweise zur Anwendung:
    15:03:42 IP=192.168.178.24;HOST=COMPAREX;OSUSER=SYSTEM;OS='Windows XP Build 2600 Service Pack 3';EXE=E:\apps\OSGeo\mgos251\Web\Apache2\bin\httpd.exe;PID=0x250;THREAD=0x2d4;VERSION=16.0.0.1324;API=ODBC;TIMEZONEADJUSTMENT=60
    15:03:42 Verbunden mit dem Server, Verbindung mit einer laufenden Datenbank wird versucht...
    15:03:42 [    2] Verbindung mit der Datenbank erfolgreich eingerichtet
    15:03:43 [    2] Verbindung zum Server getrennt
    From Win 7 (PHP connection):
    Donnerstag, 19. Februar 2015 14:48:23
    14:48:23 Verbindungsversuch mit:
    UID=dba;PWD=********;DBN=xxx_16;ServerName=xxx;CON=SQL_DBC_293610;LOG=c:\temp\sybase.log
    14:48:23 Verbindungsversuch mit einem laufenden Server...
    14:48:23 SharedMemory-Verbindung wird versucht (keine im Cache sasrv.ini gespeicherte Adresse)
    14:48:23 Kein benannter Puffer des gemeinsam genutzten Speichers gefunden
    14:48:23 Es wird nicht versucht, einen Server automatisch zu starten
    14:48:23 Verbindung mit dem Server nicht möglich
    But trying to start ianywhere on Win 7 machine with
    dbisql -c "DSN=xxxdsn;LOG=c:\logs\test.txt"
    shows this log:
    Donnerstag, 19. Februar 2015 15:49:27
    15:49:27 Verbindungsversuch mit:
    UID=dba;PWD=********;ServerName=xxx;CON=SQL_DBC_5d09b6f0;INT=NO;LOG=c:\temp\sybase.log
    15:49:27 Verbindungsversuch mit einem laufenden Server...
    15:49:27 Start der SharedMemory-Verbindung wird versucht ...
    15:49:27     SharedMemory-Verbindung erfolgreich gestartet
    15:49:27 SharedMemory-Verbindung wird versucht (keine im Cache sasrv.ini gespeicherte Adresse)
    15:49:27 Verbunden mit Server über SharedMemory
    15:49:27 Verbunden mit SQL Anywhere Server Version 16.0.0.1948
    15:49:27 Hinweise zur Anwendung:
    15:49:27 IP=192.168.178.37;HOST=peterhp;OSUSER=peter;OS='Windows 7 Build 7601 Service Pack 1';EXE=C:\apps\asa16_64bit\bin64\dbisql.exe;PID=0x2410;THREAD=0x24c4;VERSION=16.0.0.1948;API=iAnywhereJDBC;TIMEZONEADJUSTMENT=60
    15:49:27 Verbunden mit dem Server, Verbindung mit einer laufenden Datenbank wird versucht...
    15:49:27 [    2] Verbindung mit der Datenbank erfolgreich eingerichtet
    15:49:27 [    2] Anzahl der abgerufenen Zeilen reduziert auf 16 entsprechend der
    15:49:27 [    2] Abrufpufferbegrenzung. Verbindungsparameter 'PrefetchBuffer' kann Performance verbessern.
    When I try to use the HOST parameter, the connection fails. However both machines running local.
    Thank you too,
    Peter

  • ODBC Error when migrating from SQL Server 2008 to SQL Anywhere 12

    Hello community,
    i have the following requirement:
    I need to migrate a Database with some Demo data into a SQL Anywhere 12 Database. The SQL Anywhere 12 Database is part of the SAP BusinessObjects Enterprise XI 3.1 SP7 installation and came with the same as OEM Product.
    The Environment looks like the following:
    DB1 is a MS SQL Server 2008 R2 64 Bit running on Windows Server 2008 R2 64 Bit.
    DB2 is the SAP BusinessObjects Enterprise XI 3.1 SP7 installation with the shipped SQL Anywhere 12 (12.0.1.3873) Database running on SLES 11.3 64 Bit
    CL1 is my Windows 7 64 Bit Client where Sybase Central is installed in 64 Bit. On CL1 i have a 64 Bit System ODBC Connection connecting to DB1 successfully.
    Basically i followed the following (pretty straight forward) tutorial:
    Migrating a SQL Server Database to SQL Anywhere White Paper-Technical: Mobile Enterprise, Database Management iAnywhere …
    When i want to test the connection from inside Sybase Central (During the migration process) i receive the following error:
    From inside Sybase Central my connection looks as follows:
    And from the ODBC Manager the connection looks as follows:
    Personally i found is strange that the Sybase ODBC Driver Manager drops the error. I would expect that the MS SQL ODBC Driver Manager pops the error it its related to the ODBC DSN to DB1.
    Any ideas?
    Thanks and Regards
    -Seb.

    Hi Sebastian,
    The data from the SQL Server database must be migrated to an existing SQL Anywhere database.  Could you please tell me where this SQL Anywhere database resides and how are you connecting to it?
    The error message is saying that the connection to the SQL Anywhere remote database server is failing, as opposed to the connection to the SQL Server database.

  • How to db connect from SAP to SYBASE SQL anywhere 16 remotely

    Hi All,
    May i know can i connect to SYBASE SQL Anywhere16 from SAP running on kernel 7.42 via dbacockpit (dbco)?
    I've followed note 1737415 - Sybase IQ: Enable remote/secondary connect to SAP Sybase IQ &  1532253 - SYB: Remote DB Monitoring for SAP Sybase ASE
    but failed.
    Where can i find the dbsl and its client for sybase sql anywhere? I only can find SAP ASE and SAP IQ on SMP. Is those compatible with SQL anywhere 16?
    Thanks.
    Nicholas

    Hi Jason,
    the error message is it complains minimun version for SAP IQ is 15.6, however our SQL anywhere is on version 16, above the support version as per note1737415 - Sybase IQ: Enable remote/secondary connect to SAP Sybase IQ
    fyi, i'm using the latest sybase dbsl and SAPIQ 16 client.
    Any idea or will it works to remotely connect SQL anywhere via dbacockpit?
    Thanks,
    Nicholas.

  • CJS-00081  Assertion failed: in function InstallationScript_212()

    Hi,
    I am trying to install WAS6.4 Sneak-Preview on win2k sp4 (Terminal), J2SE1.4.2_05 and every fresh installation is failing in the "MaxDB Database Installtion" phase with the following error message.
    ERROR 2005-06-13 19:45:56
    CJS-00081  Assertion failed: in function InstallationScript_212() {    var installer = new Installer();    var kdb = new KeyDB();    var context = new Context();    var gui = new Gui();
    Any pointers related to this type of failures would be of GREAT!! Help..
    Thanks in Advance
    Atul

    Thanks for the response sai..
    i managed to resolved this particular issue (it was because one of the NT service was not running)
    However now the Installtion is hanging at one particular point "MaxDB Database Installation" (phase 5) the last few lines in the "sapinst.log" file are as follows:
    installation of MaxDB Webtools finished successfully We, Jun 15, 2005 at 201841
    INFO 2005-06-15 201844
    The service 'XServer' started successfully on host 'Local'.
    INFO 2005-06-15 201852
    The service 'SAPDBWWW' started successfully on host 'Local'.
    INFO 2005-06-15 201859
    Working directory changed to Csapdbprogramspgm.
    INFO 2005-06-15 201859
    Working directory changed to CProgram Filessapinst_instdirNW04SR1WEBAS_JAVACENTRALONE_HOST.
    INFO 2005-06-15 201902
    Working directory changed to Csapdbprogramspgm.
    INFO 2005-06-15 201902
    Working directory changed to CProgram Filessapinst_instdirNW04SR1WEBAS_JAVACENTRALONE_HOST.
    installation of MaxDB Webtools finished successfully We, Jun 15, 2005 at 20:18:41
    INFO 2005-06-15 20:18:44
    The service 'XServer' started successfully on host 'Local'.
    INFO 2005-06-15 20:18:52
    The service 'SAPDBWWW' started successfully on host 'Local'.
    INFO 2005-06-15 20:18:59
    Working directory changed to C:/sapdb/programs/pgm.
    INFO 2005-06-15 20:18:59
    Working directory changed to C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST.
    INFO 2005-06-15 20:19:02
    Working directory changed to C:/sapdb/programs/pgm.
    INFO 2005-06-15 20:19:02
    Working directory changed to C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST.
    My current System Configuration is as follows:
    - MS Windows Server 2003 (Enterprise Edition)
    - RAM 1 GB
    - Pentium 4 2.4 Ghz processor
    - 1.4.2_05 J2SE
    And i have used both the Installation currently available on SDN site viz.
    a)SAPinst_SP_WAS640.exe
    b)WebAS640SP9.zip
    I have also tried on m/c having Windows 2000 SP4 OS with 2GB of RAM without any success.
    I even tried options such as "cancelling" the Installation and resuming it later without any success.
    Though the installtion is hanging for MaxDB however it was succefull when tried with MS SQL-Server2000.
    Can somebody provide any pointers in resolving this issue?
    Thanks in advance..
    Atul

  • CJS-00030  Assertion failed: dbSidOrSrcObject and dbHome are not valid

    Hello Guru's,
    we trying to do os migration of SAP XI 3.0 system,
    we have export from source system and building target system below see the steps followed.
    1. install CI on target server
    2. installing DB instace on target. But before proceeding further I have installed oracle software successfully and check it using
    sqlplus > it is able to connect to sql.
    know problem is after installing oracle sofware when I continued the DB instance installation.
    System give me error as
    CJS-00030  Assertion failed: OraSqlContext constructor: arguments dbSidOrSrcObject and dbHome are not valid ****
    Dont know to solve this issue.
    please help me in this
    REgards,
    Syed Maqsood.

    Hi,
    My oracle release is 9.2.0.6 and i check the environmental varialbe for ora<sid> user below as below:
    uvmn3000:oradx1 7> env
    USER=oradx1
    LOGNAME=oradx1
    HOME=/oracle/DX1
    PATH=/oracle/DX1/920_64/bin:.:/oracle/DX1:/usr/sap/DX1/SYS/exe/run:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/usr/contrib/Q4/bin:/opt/perl/bin:/opt/gvsd/bin:/opt/ipf/bin:/opt/nettladm/bin:/opt/fcms/bin:/opt/wbem/bin:/opt/wbem/sbin:/opt/sas/bin:/opt/graphics/common/bin:/opt/atok/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/sec_mgmt/bastille/bin:/opt/caliper/bin:/opt/drd/bin:/opt/dsau/bin:/opt/dsau/sbin:/opt/resmon/bin:/opt/firefox:/opt/gnome/bin:/opt/perf/bin:/opt/propplus/bin:/usr/contrib/kwdb/bin:/opt/perl_32/bin:/opt/perl_64/bin:/opt/prm/bin:/opt/sfm/bin:/opt/swm/bin:/opt/sec_mgmt/spc/bin:/opt/ssh/bin:/opt/swa/bin:/opt/hpsmh/bin:/opt/thunderbird:/opt/sentinel/bin:/opt/langtools/bin:/opt/wlm/bin:/opt/gwlm/bin:/opt/ignite/bin:/opt/hpvm/bin:/opt/aCC/bin:/opt/cadvise/bin:/opt/networker/bin
    MAIL=/var/mail/oradx1
    SHELL=/bin/csh
    TZ=MET-1METDST
    SSH_CLIENT=10.115.4.54 1530 22
    SSH_CONNECTION=10.115.4.54 1530 45.220.20.234 22
    SSH_TTY=/dev/pts/1
    TERM=xterm
    SFTP_UMASK=
    SFTP_PERMIT_CHMOD=1
    SFTP_PERMIT_CHOWN=1
    COLUMNS=158
    LINES=61
    MANPATH=/usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/man:/usr/local/man/%L:/usr/local/man:/opt/VRTS/vxfs5.0/man:/opt/ldapux/share/man/%L:/opt/ldapux/share/man:/opt/ipf/man:/opt/ldapux/ypldapd/man:/opt/samba/man:/opt/samba/WTEC_Support_Tools/man:/opt/samba/cfsm_man:/opt/cifsclient/share/man:/opt/openssl/man:/opt/openssl/prngd/man:/opt/wbem/share/man:/opt/graphics/common/man:/opt/amgr/man/%L:/opt/amgr/man:/opt/sec_mgmt/share/man:/opt/caliper/man/%L:/opt/caliper/man:/opt/drd/share/man/%L:/opt/drd/share/man:/opt/dsau/man:/opt/resmon/share/man/%L:/opt/resmon/share/man:/opt/gnome/man:/opt/perf/man/%L:/opt/perf/man:/opt/propplus/share/man:/usr/contrib/kwdb/share/man:/opt/perl_32/man:/opt/perl_64/man:/opt/prm/man/%L:/opt/prm/man:/opt/psb/healthtest/share/man:/opt/sfm/share/man:/opt/swm/share/man/%L:/opt/swm/share/man:/opt/swa/share/man/%L:/opt/swa/share/man:/opt/ssh/share/man:/opt/sentinel/man/%L:/opt/sentinel/man:/opt/langtools/share/man/%L:/opt/langtools/share/man:/opt/wlm/share/man/%L:/opt/wlm/share/man:/opt/openssl/fips/0.9.7/man:/opt/openssl/fips/0.9.8/man:/opt/gwlm/man/%L:/opt/gwlm/man:/opt/icod/man/%L:/opt/icod/man:/opt/ignite/share/man/%L:/opt/ignite/share/man:/opt/iexpress/tcpdump/man:/opt/iexpress/lsof/man:/opt/iexpress/curl/man:/opt/iexpress/sudo/man:/opt/iexpress/zlib/share/man:/opt/hpvm/share/man/%L:/opt/aCC/share/man/%L:/opt/aCC/share/man:/opt/cadvise/share/man/%L:/opt/cadvise/share/man:/opt/imake/man:/opt/networker/man
    SAPSYSTEMNAME=DX1
    DIR_LIBRARY=/usr/sap/DX1/SYS/exe/run
    SHLIB_PATH=/usr/sap/DX1/SYS/exe/run
    THREAD=NOPS
    dbms_type=ORA
    dbs_ora_tnsname=DX1
    dbs_ora_schema=SAPDX1
    ORACLE_PSRV=DX1
    ORACLE_SID=DX1
    DB_SID=DX1
    ORACLE_HOME=/oracle/DX1/920_64
    ORACLE_BASE=/oracle
    ORA_NLS33=/oracle/DX1/920_64/ocommon/nls/admin/data
    NLS_LANG=AMERICAN_AMERICA.UTF8
    SAPDATA_HOME=/oracle/DX1
    More over I am installing database instance using root.
    let me focus more on error point.
    Error is triggering at " create oracle database" step before to this step all steps are completed successfully.
    Can anyone help to solve this issue.

  • Weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Unexpected dbT

    Hi,
    I am using BEA Weblogic 8.1.4 With Database as SQL Server 2000 professional.
    I created Connection pool successfully ,but at start of weblogic server i am getting following exception at server startup while initial deployment of my applicaion EAR.Can somebody help me to find out solution for same.
    Thanks in advance.
    EXCEPTION AT CONSOLE:---weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Unexpected dbType: 2 ]
    at weblogic.ejb20.utils.TableVerifier.getSequenceQuery(TableVerifier.java:630)
    at weblogic.ejb20.utils.TableVerifier.verifySequence(TableVerifier.java:522)
    at weblogic.ejb20.utils.TableVerifier.verifyOrCreateOrAlterSequence(TableVerifier.java:334)
    at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.genKeySetup(RDBMSPersistenceManager.java:1196)
    at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.setup(RDBMSPersistenceManager.java:227)
    at weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.java:254)
    at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:211)
    at weblogic.ejb20.manager.DBManager.setup(DBManager.java:162)
    at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1082)
    at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1385)
    at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:631)
    at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:3315)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2194)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2167)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2115)
    at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:3082)
    at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1751)
    at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:359)
    at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
    at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
    at weblogic.Server.main(Server.java:32)

    Can you post the full stack trace / error message?
    Also, please send this to [email protected] as well.
    -- Rob
    Kelvin Kok wrote:
    Getting this error weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion violated ] intermitent in Weblogic 7 sp1.
    Anyone facing the same problem?

  • Severe Error: Assertion Failed: config element named "default-config"

    I ran the command:
    ./asadmin verify-domain-xml domain1
    This returned the message:
    May 8, 2006 3:16:43 PM com.sun.enterprise.config.serverbeans.validation.DomainXmlVerifier invokeConfigValidator
    SEVERE: /domain[1]/configs[1]: Assertion Failed: There is a config element named "default-config"
    /domain[1]/resources[1]/jdbc-connection-pool[@name='PetroPool']: Warning: Assertion Failed: each jdbc-connection-pool is referenced by a jdbc-resource
    I return a SEVERE and a Warning message, I googled the severe message without any luck and I was wondering if this has been troubleshooted before.
    I'd appreciate any insight or instructions to correct this.
    Thanks,

    Kedar: Thank you for the feedback, I don't remember changing any templates. Only adding a connection pool.
    Here is my domain.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE domain PUBLIC "-//Sun Microsystems Inc.//DTD Application Server 8.0 Domain//EN" "http://www.sun.com/software/appserver/dtds/sun-domain_1_1.dtd">
    <!--
    Copyright 2004-2005 Sun Microsystems, Inc. All rights reserved.
    Use is subject to license terms.
    -->
    <!-- Generated from default-domain.xml.template -->
    <domain application-root="${com.sun.aas.instanceRoot}/applications" log-root="${com.sun.aas.instanceRoot}/logs">
    <applications>
    <j2ee-application availability-enabled="false" directory-deployed="false" enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-apps/MEjbApp" name="MEjbApp" object-type="system-all"/>
    <j2ee-application availability-enabled="false" directory-deployed="false" enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-apps/__ejb_container_timer_app" name="__ejb_container_timer_app" object-type="system-all"/>
    <web-module availability-enabled="false" context-root="/web1" directory-deployed="true" enabled="true" location="${com.sun.aas.installRoot}/lib/install/applications/adminapp/adminapp_war" name="adminapp" object-type="system-admin">
    <!-- System Web Module - DO NOT DELETE! -->
    </web-module>
    <web-module availability-enabled="false" context-root="/asadmin" directory-deployed="true" enabled="true" location="${com.sun.aas.installRoot}/lib/install/applications/admingui/adminGUI_war" name="admingui" object-type="system-admin">
    <!-- System Web Module - DO NOT DELETE! -->
    </web-module>
    <web-module availability-enabled="false" context-root="/com_sun_web_ui" directory-deployed="true" enabled="true" location="${com.sun.aas.installRoot}/lib/install/applications/com_sun_web_ui" name="com_sun_web_ui" object-type="system-admin">
    <!-- System Web Module - DO NOT DELETE! -->
    </web-module>
    <web-module availability-enabled="false" context-root="jsfcomponents" directory-deployed="false" enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-modules/jsfcomponents" name="jsfcomponents" object-type="user">
    <description>JSF Components Example</description>
    </web-module>
    </applications>
    <resources>
    <jdbc-resource enabled="true" jndi-name="jdbc/__TimerPool" object-type="system-admin" pool-name="__TimerPool"/>
    <jdbc-resource enabled="true" jndi-name="jdbc/__default" object-type="user" pool-name="DerbyPool"/>
    <jdbc-connection-pool connection-validation-method="auto-commit" datasource-classname="org.apache.derby.jdbc.EmbeddedXADataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="true" max-pool-size="32" max-wait-time-in-millis="60000" name="__TimerPool" pool-resize-quantity="2" res-type="javax.sql.XADataSource" steady-pool-size="8">
    <property name="databaseName" value="${com.sun.aas.instanceRoot}/lib/databases/ejbtimer"/>
    </jdbc-connection-pool>
    <jdbc-connection-pool connection-validation-method="auto-commit" datasource-classname="org.apache.derby.jdbc.ClientDataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="false" max-pool-size="32" max-wait-time-in-millis="60000" name="DerbyPool" pool-resize-quantity="2" res-type="javax.sql.DataSource" steady-pool-size="8">
    <property name="PortNumber" value="1527"/>
    <property name="Password" value="APP"/>
    <property name="User" value="APP"/>
    <property name="serverName" value="localhost"/>
    <property name="DatabaseName" value="sun-appserv-samples"/>
    <property name="connectionAttributes" value=";create=true"/>
    </jdbc-connection-pool>
    <jdbc-connection-pool connection-validation-method="auto-commit" datasource-classname="oracle.jdbc.pool.OracleConnectionPoolDataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="false" max-pool-size="20" max-wait-time-in-millis="60000" name="PetroPool" pool-resize-quantity="2" res-type="javax.sql.ConnectionPoolDataSource" steady-pool-size="8">
    <description>Petro 2 System Pool</description>
    <property name="user" value="user"/>
    <property name="port" value="1521"/>
    <property name="password" value="password"/>
    <property name="databaseName" value="DATABASENAME"/>
    <property name="serverName" value="SERVERNAME"/>
    <property name="url" value="jdbc:oracle:thin:@[IP]:1521:database"/>
    <property name="datasourceName" value="url"/>
    </jdbc-connection-pool>
    </resources>
    <configs>
    <config dynamic-reconfiguration-enabled="true" name="server-config">
    <http-service>
    <http-listener acceptor-threads="5" address="0.0.0.0" blocking-enabled="false" default-virtual-server="server" enabled="true" family="inet" id="http-listener-1" port="8080" security-enabled="false" server-name="" xpowered-by="true">
    </http-listener>
    <http-listener acceptor-threads="5" address="0.0.0.0" blocking-enabled="false" default-virtual-server="server" enabled="true" family="inet" id="http-listener-2" port="8181" security-enabled="true" server-name="" xpowered-by="true">
    </http-listener>
    <http-listener acceptor-threads="5" address="0.0.0.0" blocking-enabled="false" default-virtual-server="__asadmin" enabled="true" family="inet" id="admin-listener" port="4848" security-enabled="false" server-name="" xpowered-by="true">
    </http-listener>
    <virtual-server hosts="${com.sun.aas.hostName}" http-listeners="http-listener-1,http-listener-2" id="server" log-file="${com.sun.aas.instanceRoot}/logs/server.log" state="on">
    <property name="docroot" value="${com.sun.aas.instanceRoot}/docroot"/>
    <property name="accesslog" value="${com.sun.aas.instanceRoot}/logs/access"/>
    </virtual-server>
    <virtual-server default-web-module="admingui" hosts="${com.sun.aas.hostName}" http-listeners="admin-listener" id="__asadmin" log-file="${com.sun.aas.instanceRoot}/logs/server.log" state="on">
    <property name="docroot" value="${com.sun.aas.instanceRoot}/docroot"/>
    <property name="accesslog" value="${com.sun.aas.instanceRoot}/logs/access"/>
    </virtual-server>
    </http-service>
    <iiop-service client-authentication-required="false">
    <orb max-connections="1024" message-fragment-size="1024" use-thread-pool-ids="thread-pool-1"/>
    <iiop-listener address="0.0.0.0" enabled="true" id="orb-listener-1" port="3700" security-enabled="false"/>
    <iiop-listener address="0.0.0.0" enabled="true" id="SSL" port="3820" security-enabled="true">
    <ssl cert-nickname="s1as" client-auth-enabled="false" ssl2-enabled="false" ssl3-enabled="true" tls-enabled="true" tls-rollback-enabled="true"/>
    </iiop-listener>
    <iiop-listener address="0.0.0.0" enabled="true" id="SSL_MUTUALAUTH" port="3920" security-enabled="true">
    <ssl cert-nickname="s1as" client-auth-enabled="true" ssl2-enabled="false" ssl3-enabled="true" tls-enabled="true" tls-rollback-enabled="true"/>
    </iiop-listener>
    </iiop-service>
    <admin-service system-jmx-connector-name="system" type="das-and-server">
    <!-- The JSR 160 "system-jmx-connector" -->
    <jmx-connector accept-all="false" address="0.0.0.0" auth-realm-name="admin-realm" enabled="true" name="system" port="8686" protocol="rmi_jrmp" security-enabled="false"/>
    <!-- The JSR 160 "system-jmx-connector" -->
    <das-config admin-session-timeout-in-minutes="60" autodeploy-dir="${com.sun.aas.instanceRoot}/autodeploy" autodeploy-enabled="true" autodeploy-jsp-precompilation-enabled="false" autodeploy-polling-interval-in-seconds="2" autodeploy-verifier-enabled="false" deploy-xml-validation="full" dynamic-reload-enabled="true" dynamic-reload-poll-interval-in-seconds="2"/>
    </admin-service>
    <web-container/>
    <ejb-container cache-idle-timeout-in-seconds="600" cache-resize-quantity="32" commit-option="B" max-cache-size="512" max-pool-size="32" pool-idle-timeout-in-seconds="600" pool-resize-quantity="8" removal-timeout-in-seconds="5400" session-store="${com.sun.aas.instanceRoot}/session-store" steady-pool-size="0" victim-selection-policy="nru">
    <ejb-timer-service max-redeliveries="1" minimum-delivery-interval-in-millis="7000" redelivery-interval-internal-in-millis="5000"/>
    </ejb-container>
    <mdb-container idle-timeout-in-seconds="600" max-pool-size="32" pool-resize-quantity="8" steady-pool-size="0"/>
    <jms-service addresslist-behavior="random" addresslist-iterations="3" default-jms-host="default_JMS_host" init-timeout-in-seconds="60" reconnect-attempts="3" reconnect-enabled="true" reconnect-interval-in-seconds="60" type="LOCAL">
    <jms-host admin-password="admin" admin-user-name="admin" host="dev-energy-ora.dtnenergy.com" name="default_JMS_host" port="7676"/>
    </jms-service>
    <log-service alarms="false" file="${com.sun.aas.instanceRoot}/logs/server.log" log-rotation-limit-in-bytes="2000000" log-rotation-timelimit-in-minutes="0" log-to-console="false" use-system-logging="false">
    <module-log-levels admin="INFO" classloader="INFO" cmp="INFO" cmp-container="INFO" configuration="INFO" connector="INFO" corba="INFO" deployment="INFO" ejb-container="INFO" javamail="INFO" jaxr="INFO" jaxrpc="INFO" jdo="INFO" jms="INFO" jta="INFO" jts="INFO" mdb-container="INFO" naming="INFO" node-agent="INFO" resource-adapter="INFO" root="INFO" saaj="INFO" security="INFO" server="INFO" synchronization="INFO" util="INFO" verifier="INFO" web-container="INFO"/>
    </log-service>
    <security-service anonymous-role="ANYONE" audit-enabled="false" audit-modules="default" default-realm="file" jacc="default">
    <!-- All administrative users use this realm by default. -->
    <auth-realm classname="com.sun.enterprise.security.auth.realm.file.FileRealm" name="admin-realm">
    <property name="file" value="${com.sun.aas.instanceRoot}/config/admin-keyfile"/>
    <property name="jaas-context" value="fileRealm"/>
    </auth-realm>
    <!-- All administrative users use this realm by default. -->
    <auth-realm classname="com.sun.enterprise.security.auth.realm.file.FileRealm" name="file">
    <property name="file" value="${com.sun.aas.instanceRoot}/config/keyfile"/>
    <property name="jaas-context" value="fileRealm"/>
    </auth-realm>
    <auth-realm classname="com.sun.enterprise.security.auth.realm.certificate.CertificateRealm" name="certificate">
    </auth-realm>
    <jacc-provider name="default" policy-configuration-factory-provider="com.sun.enterprise.security.provider.PolicyConfigurationFactoryImpl" policy-provider="com.sun.enterprise.security.provider.PolicyWrapper">
    <property name="repository" value="${com.sun.aas.instanceRoot}/generated/policy"/>
    </jacc-provider>
    <audit-module classname="com.sun.enterprise.security.Audit" name="default">
    <property name="auditOn" value="false"/>
    </audit-module>
    <message-security-config auth-layer="SOAP">
    <!-- turned off by default -->
    <provider-config class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule" provider-id="ClientProvider" provider-type="client">
    <request-policy auth-source="content"/>
    <response-policy auth-source="content"/>
    <property name="security.config" value="${com.sun.aas.instanceRoot}/config/wss-server-config.xml"/>
    </provider-config>
    <provider-config class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule" provider-id="ServerProvider" provider-type="server">
    <request-policy auth-source="content"/>
    <response-policy auth-source="content"/>
    <property name="security.config" value="${com.sun.aas.instanceRoot}/config/wss-server-config.xml"/>
    </provider-config>
    </message-security-config>
    </security-service>
    <transaction-service automatic-recovery="false" heuristic-decision="rollback" keypoint-interval="2048" retry-timeout-in-seconds="600" timeout-in-seconds="0" tx-log-dir="${com.sun.aas.instanceRoot}/logs"/>
    <monitoring-service>
    <module-monitoring-levels connector-connection-pool="OFF" connector-service="OFF" ejb-container="OFF" http-service="OFF" jdbc-connection-pool="OFF" jms-service="OFF" jvm="OFF" orb="OFF" thread-pool="OFF" transaction-service="OFF" web-container="OFF"/>
    </monitoring-service>
    <java-config debug-enabled="false" debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9009" env-classpath-ignored="true" java-home="${com.sun.aas.javaRoot}" javac-options="-g" rmic-options="-iiop -poa -alwaysgenerate -keepgenerated -g" server-classpath="${com.sun.aas.installRoot}/lib/install/applications/jmsra/imqjmsra.jar${path.separator}${com.sun.aas.imqLib}/jaxm-api.jar${path.separator}${com.sun.aas.imqLib}/fscontext.jar${path.separator}${com.sun.aas.antLib}/ant.jar">
    <!-- various required jvm-options -->
    <jvm-options>-client</jvm-options>
    <jvm-options>-Djava.endorsed.dirs=${com.sun.aas.installRoot}/lib/endorsed</jvm-options>
    <jvm-options>-Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy</jvm-options>
    <jvm-options>-Djava.security.auth.login.config=${com.sun.aas.instanceRoot}/config/login.conf</jvm-options>
    <jvm-options>-Dsun.rmi.dgc.server.gcInterval=3600000</jvm-options>
    <jvm-options>-Dsun.rmi.dgc.client.gcInterval=3600000</jvm-options>
    <jvm-options>-Xmx512m</jvm-options>
    <jvm-options>-Djavax.net.ssl.keyStore=${com.sun.aas.instanceRoot}/config/keystore.jks</jvm-options>
    <jvm-options>-Djavax.net.ssl.trustStore=${com.sun.aas.instanceRoot}/config/cacerts.jks</jvm-options>
    <jvm-options>-Djava.ext.dirs=${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext${path.separator}${com.sun.aas.derbyRoot}/lib</jvm-options>
    <jvm-options>-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver</jvm-options>
    <jvm-options>-Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder</jvm-options>
    <jvm-options>-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory</jvm-options>
    <jvm-options>-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar</jvm-options>
    <jvm-options>-Dcom.sun.enterprise.taglisteners=jsf-impl.jar</jvm-options>
    <jvm-options>-XX:NewRatio=2</jvm-options>
    </java-config>
    <thread-pools>
    <thread-pool idle-thread-timeout-in-seconds="120" max-thread-pool-size="200" min-thread-pool-size="0" num-work-queues="1" thread-pool-id="thread-pool-1"/>
    </thread-pools>
    </config>
    <!-- config model with name "server-config" ends -->
    </configs>
    <servers>
    <server config-ref="server-config" name="server">
    <application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="adminapp" virtual-servers="__asadmin"/>
    <application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="admingui" virtual-servers="__asadmin"/>
    <application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="com_sun_web_ui" virtual-servers="__asadmin"/>
    <application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="MEjbApp" virtual-servers="server"/>
    <application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="__ejb_container_timer_app" virtual-servers="server"/>
    <application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="jsfcomponents" virtual-servers="server"/>
    <resource-ref enabled="true" ref="jdbc/__TimerPool"/>
    <resource-ref enabled="true" ref="jdbc/__default"/>
    </server>
    </servers>
    <property name="administrative.domain.name" value="domain1"/>
    </domain>
    I'm still having this issue, thus any thoughts or ideas are greatly appreciated.
    Thanks,
    --Todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             

  • SQLite: Assertion failed: db==0 || sqlite3_mutex_held(db- mutex) error

    Hi
    I am current using Berkeley DB version 5.2.36.
    I am getting the Assertion failed: db==0 || sqlite3_mutex_held(db->mutex), file ../lang/sql/generated/sqlite3.c, line 18058 error when I try to execute a 'delete from table' query.
    Please find the stack trace info
    gdb) bt
    #0 0x200000006612a1b0:0 in lwpkill+0x30 ()
    from /usr/lib/hpux32/libpthread.so.1
    #1 0x2000000066093a10:0 in pthread_kill+0x8d0 ()
    from /usr/lib/hpux32/libpthread.so.1
    #2 0x20000000658d05a0:0 in raise+0xe0 () from /usr/lib/hpux32/libc.so.1
    #3 0x20000000659f0cd0:0 in abort+0x170 () from /usr/lib/hpux32/libc.so.1
    #4 0x200000006589b730:0 in _assert+0x260 () from /usr/lib/hpux32/libc.so.1
    #5 0x20000000664b4480:0 in sqlite3DbMallocRaw+0xe0 ()
    from /scm/vobs/stgFINPI/rpconv/bdb/lib/HPUX_IA_1131/libdb_sql-5.2.so
    #6 0x2000000066505070:0 in sqlite3VdbeRecordUnpack+0x130 ()
    from /scm/vobs/stgFINPI/rpconv/bdb/lib/HPUX_IA_1131/libdb_sql-5.2.so
    #7 0x2000000066504470:0 in btreeCompare+0x830 ()
    from /scm/vobs/stgFINPI/rpconv/bdb/lib/HPUX_IA_1131/libdb_sql-5.2.so
    #8 0x2000000066505cf0:0 in btreeCompareShared+0xe0 ()
    from /scm/vobs/stgFINPI/rpconv/bdb/lib/HPUX_IA_1131/libdb_sql-5.2.so
    #9 0x2000000066c0b1f0:0 in __db_moff+0x280 ()
    from /scm/vobs/stgFINPI/rpconv/bdb/lib/HPUX_IA_1131/libdb_sql-5.2.so
    #10 0x20000000666b4f70:0 in __bam_cmp+0x8e0 ()
    from /scm/vobs/stgFINPI/rpconv/bdb/lib/HPUX_IA_1131/libdb_sql-5.2.so
    #11 0x2000000066774640:0 in __bam_search+0x1400 ()
    from /scm/vobs/stgFINPI/rpconv/bdb/lib/HPUX_IA_1131/libdb_sql-5.2.so
    #12 0x20000000666f0060:0 in __bamc_physdel+0x1a20 ()
    from /scm/vobs/stgFINPI/rpconv/bdb/lib/HPUX_IA_1131/libdb_sql-5.2.so
    ---Type <return> to continue, or q <return> to quit---
    #13 0x20000000666e27a0:0 in __bamc_close+0x1550 ()
    from /scm/vobs/stgFINPI/rpconv/bdb/lib/HPUX_IA_1131/libdb_sql-5.2.so
    #14 0x2000000066b6d9f0:0 in __dbc_close+0xa50 ()
    from /scm/vobs/stgFINPI/rpconv/bdb/lib/HPUX_IA_1131/libdb_sql-5.2.so
    #15 0x2000000066bd3390:0 in __dbc_close_pp+0xd80 ()
    from /scm/vobs/stgFINPI/rpconv/bdb/lib/HPUX_IA_1131/libdb_sql-5.2.so
    #16 0x200000006651b140:0 in sqlite3BtreeDelete+0xab0 ()
    from /scm/vobs/stgFINPI/rpconv/bdb/lib/HPUX_IA_1131/libdb_sql-5.2.so
    #17 0x2000000066594050:0 in sqlite3VdbeExec+0x27050 ()
    from /scm/vobs/stgFINPI/rpconv/bdb/lib/HPUX_IA_1131/libdb_sql-5.2.so
    #18 0x200000006656c650:0 in sqlite3Step+0x870 ()
    from /scm/vobs/stgFINPI/rpconv/bdb/lib/HPUX_IA_1131/libdb_sql-5.2.so
    #19 0x2000000066499370:0 in sqlite3_step+0x150 ()
    from /scm/vobs/stgFINPI/rpconv/bdb/lib/HPUX_IA_1131/libdb_sql-5.2.so
    #20 0x400ad20:0 in exec () at testCounter.cpp:71
    #21 0x4014490:0 in truncate () at testCounter.cpp:348
    #22 0x200000006605abc0:0 in __pthread_bound_body+0x190 ()
    from /usr/lib/hpux32/libpthread.so.1
    A sample code to reproduce the above error can also be provided if required.
    Thanks

    Actually on trying again I am noticing:
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:6 erno
    Deleted ::::::::::::::: 54
    writing........55
    ERROR: AsserFailTest: statement aborts at 27: [insert into ctable values(550,'55','xxxxx','550','xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    It would be better to have a test that only reproduces the one assert in question
    SQLite: Assertion failed: db==0 || sqlite3_mutex_held(db->mutex) error
    Please verify that I am running the test in a way to get the reported assert.
    Thanks,
    Sandra                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • Safari 2.0.4 doesn't like overflow hidden

    My Safari version 3.0.4 (523.12.2) working as expected; having problems with 2.0.4 and later. I have a flash container that opens over the rest of the page and then collapses back into a smaller space. The html area that my flash movie floated over w

  • InDesign CS6 (Mac) will not package fonts

    I have hundreds of fonts on my machine and have never had any issues with packaging fonts until CS6. CS5.5 works great, even today with the same files that will not package in CS5.5. However, I cannot use 5.5 due to the other 7 designers all using CS

  • G31M2 will not start

    Hi, I have a G31M2 (MS-7383) MSI board for 3 years working perfectly well. Yesterday, PC went into blue screen and from that point on, I cannot boot the PC properly again- First thing I did was boot into Windows safe mode. After a few seconds in safe

  • Odd behavior

    Two odd things I'd like to resolve: 1) About a week ago, whenever I would open a folder, the icon for a folder I had on my desktop would appear at the top of the window next to the "search" field. I don't know how it got there, but I'm assuming I did

  • My forward slash key doesn't work, however the question mark button does can i change this?

    The forward slash key doesn't work on the keyboard, however when pressing shift it works for a question mark. Is there anyway of fixing this?