dbTalk Databases Forums  

assertion failed 101412

sybase.public.sqlanywhere.general sybase.public.sqlanywhere.general


Discuss assertion failed 101412 in the sybase.public.sqlanywhere.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ahmed A.
 
Posts: n/a

Default assertion failed 101412 - 01-26-2010 , 02:36 AM






SQL Anywhere database error : "assertion failed 101412". I
tried deleting log, rebuild database, validate database, but
all failed !! and last backup was from more than 2 months !!
Please advice.

Regards,
Ahmed A.

Reply With Quote
  #2  
Old   
Dmitri
 
Posts: n/a

Default Re: assertion failed 101412 - 01-26-2010 , 03:27 AM






Ahmed A. wrote:

Quote:
SQL Anywhere database error : "assertion failed 101412". I
tried deleting log, rebuild database, validate database, but
all failed !! and last backup was from more than 2 months !!
Please advice.
http://www.sybase.com/detail?id=1010805

Dmitri.

Reply With Quote
  #3  
Old   
Chris Keating (Sybase iAnywhere)
 
Posts: n/a

Default Re: assertion failed 101412 - 01-26-2010 , 06:07 AM



If you have a backup from two months ago, you should be able to use the
active transaction log to recover this database - did you keep the
existing transaction log?

dbengX <backup_image> -a <transaction_log_file>

-chris

Ahmed A. wrote:
Quote:
SQL Anywhere database error : "assertion failed 101412". I
tried deleting log, rebuild database, validate database, but
all failed !! and last backup was from more than 2 months !!
Please advice.

Regards,
Ahmed A.

Reply With Quote
  #4  
Old   
Ahmed A.
 
Posts: n/a

Default Re: assertion failed 101412 - 01-27-2010 , 02:31 AM



Thanx a lot for supporting. When I tried it, it says the
following :
Can't open transaction log file -- Can't use log file "file
name & path" since it is shorter than expected

Thank you



Quote:
If you have a backup from two months ago, you should be
able to use the active transaction log to recover this
database - did you keep the existing transaction log?

dbengX <backup_image> -a <transaction_log_file

-chris

Ahmed A. wrote:
SQL Anywhere database error : "assertion failed 101412".
I tried deleting log, rebuild database, validate
database, but all failed !! and last backup was from
more than 2 months !! Please advice.

Regards,
Ahmed A.

Reply With Quote
  #5  
Old   
Bofcilo
 
Posts: n/a

Default Re: assertion failed 101412 - 01-29-2010 , 04:57 AM



On Jan 27, 9:31*am, Ahmed A. wrote:
Quote:
Thanx a lot for supporting. When I tried it, it says the
following :
Can't open transaction log file -- Can't use log file "file
name & path" since it is shorter than expected

Thank you

If you have a backup from two months ago, you should be
able to use the *active transaction log to recover this
database - did you keep the *existing transaction log?

* *dbengX <backup_image> -a <transaction_log_file

-chris

Ahmed A. wrote:
SQL Anywhere database error : "assertion failed 101412".
I tried deleting log, rebuild database, validate
database, but all failed !! and last backup was from
more than 2 months !! Please advice.

Regards,
Ahmed A.


You have to do :
- copy both file .db and .log from backup in recovery folder (any
folder for security reason)
- start backup database with dbeng?.exe (? mean version 8,9...). At
this point dbeng.exe perform restore process for validating database
if it is needed.
- Some user make backup with restarting .log file. If you did it, just
translate .log file from invalid database into .sql (you have tools
for that in Sybase Central) and execute it in iSQL. If you didn't
there are option for ( I DON'T KNOW how sorry) for applying .log from
specific time. I translate .log into .sql file delete all command
from .sql before backup.....

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.