<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Corrupted database in SQL Anywhere 9 in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/corrupted-database-in-sql-anywhere-9/qaa-p/10508321#M3816865</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Juan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know what is happening on the server if you're just trying to start the one problematic database? It would be best if you could point this information to a diagnostic file and post it here so that we can make further suggestions:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: courier new,courier;"&gt;dbsrv9 -o console.txt baddatabase.db&lt;/SPAN&gt;&lt;/P&gt;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;If the database is undergoing &lt;A href="http://dcx.sybase.com/index.html#sa160/en/dbadmin/automatic-recovering-backup.html"&gt;automatic recovery&lt;/A&gt;, it would be best for you to wait for it to finish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Going to your &lt;A href="http://dcx.sybase.com/index.html#sa160/en/dbadmin/understand-developing-backups.html"&gt;backup and recovery plan&lt;/A&gt; is the next best thing to do so you don't lose any data on your database. You should be able to &lt;A href="http://dcx.sybase.com/index.html#sa160/en/dbadmin/rec-a-database-dbengine.html"&gt;apply the transaction log from the current database&lt;/A&gt; to bring the backup file up-to-date with the current changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, you can try &lt;A href="http://dcx.sybase.com/index.html#sa160/en/dbusage/reasons-rebuild.html"&gt;rebuilding the database&lt;/A&gt; to see if it's a structural problem. If the database is really corrupted, you may have to try to resort to salvaging data from what you can still access and create a new database from the remaining information (See SAP KBA &lt;A class="external-link" href="https://service.sap.com/sap/support/notes/1959030" rel="nofollow"&gt;1959030&lt;/A&gt; - How To Salvage Data When There are Corrupt Pages in the Database).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Jeff Albion&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SAP Active Global Support&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Aug 2014 18:40:22 GMT</pubDate>
    <dc:creator>jeff_albion</dc:creator>
    <dc:date>2014-08-06T18:40:22Z</dc:date>
    <item>
      <title>Corrupted database in SQL Anywhere 9</title>
      <link>https://community.sap.com/t5/technology-q-a/corrupted-database-in-sql-anywhere-9/qaq-p/10508320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yesterday, one of our databases corrupted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try start the service from Sybase central, the service never starts and does not show any error messages either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing I did was to remove all databases from the service and started adding them one by one, that's how I pinpointed the issue to a single database file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could some direct me to a procedure to repair the database file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2014 18:44:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/corrupted-database-in-sql-anywhere-9/qaq-p/10508320</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-01T18:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Corrupted database in SQL Anywhere 9</title>
      <link>https://community.sap.com/t5/technology-q-a/corrupted-database-in-sql-anywhere-9/qaa-p/10508321#M3816865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Juan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know what is happening on the server if you're just trying to start the one problematic database? It would be best if you could point this information to a diagnostic file and post it here so that we can make further suggestions:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: courier new,courier;"&gt;dbsrv9 -o console.txt baddatabase.db&lt;/SPAN&gt;&lt;/P&gt;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;If the database is undergoing &lt;A href="http://dcx.sybase.com/index.html#sa160/en/dbadmin/automatic-recovering-backup.html"&gt;automatic recovery&lt;/A&gt;, it would be best for you to wait for it to finish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Going to your &lt;A href="http://dcx.sybase.com/index.html#sa160/en/dbadmin/understand-developing-backups.html"&gt;backup and recovery plan&lt;/A&gt; is the next best thing to do so you don't lose any data on your database. You should be able to &lt;A href="http://dcx.sybase.com/index.html#sa160/en/dbadmin/rec-a-database-dbengine.html"&gt;apply the transaction log from the current database&lt;/A&gt; to bring the backup file up-to-date with the current changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, you can try &lt;A href="http://dcx.sybase.com/index.html#sa160/en/dbusage/reasons-rebuild.html"&gt;rebuilding the database&lt;/A&gt; to see if it's a structural problem. If the database is really corrupted, you may have to try to resort to salvaging data from what you can still access and create a new database from the remaining information (See SAP KBA &lt;A class="external-link" href="https://service.sap.com/sap/support/notes/1959030" rel="nofollow"&gt;1959030&lt;/A&gt; - How To Salvage Data When There are Corrupt Pages in the Database).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Jeff Albion&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SAP Active Global Support&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 18:40:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/corrupted-database-in-sql-anywhere-9/qaa-p/10508321#M3816865</guid>
      <dc:creator>jeff_albion</dc:creator>
      <dc:date>2014-08-06T18:40:22Z</dc:date>
    </item>
  </channel>
</rss>

