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

Similar Messages

  • Connecting Discoverer to SQL Anywhere database via ODBC

    I am trying to connect Discoverer to a SQL Anywhere Database using ODBC. I am using the following parameters:
    Username: ODBC:DSN name
    Password: I have tried every combination of username/password
    Connect: Blank
    The DBclient will launch, and I get an invalid username or password. Does anyone know the correct syntax and where I should be putting the username and password?
    Any assistance will be appreciated.

    Tom,
    The ODBC driver manual should provide the configuration steps required.
    The ODBC driver will use the username/password that was used when the database link was created to connect to SQL Anywhere.
    Vira

  • Support for Sybase SQL Anywhere databases

    Is there support for Sybase SQL Anywhere databases available?
    Specifically, using an ODBC connection.
    Sybase, curiously enough, does not want to develop specific drivers for connection to its databases; instead, it relies on an outside source (ODBC) for its connection.
    I am NOT in favour of using ODBC as an connection method; we have bench-marked SQL query performance using both native driver connection vs ODBC connection; you should be easily able to guess which approach won out!!
    Hint: Oracle dramatically!!

    You can try using JTDS, it should work with Sysbase too and if you take a look at the SQL Developer certifications, you can see it's the certified way of speaking with Sysbase.
    I've never used this myself and i'm not even sure if this works with SQL Anywhere but it's worth a try.

  • SQL Anywhere Database Developer Certification

    Hello All,
    I am using sql anywhere since last 3 years and now, I am planning to go for SQL anywhere database developer certificate.
    Please suggest me any exam course which is suitable for the same.
    Thanks,

    Hi Anal,
    You can search for existing SAP certification exams in the link below
    SAP Certifications | Training & Education | SAP | SAP
    However, I have not found a SQL Anywhere certification course/exam.
    Mirco

  • Psd files are getting corrupted

    Hi
    I am using PSE11 on a Mac, and have experienced PSD files getting corrupted twice now.  They are digital scrapbooking files, where I have started with a layered PSD file 'template' and personalised it (with lots of effort!).  I save it and close it.  Later I try and reopen it and it will not open.  The Adobe Photoshop Elements dialog box says 'Reading Photoshop Format' but it just gets stuck - the progress bar does not move beyond 1/3.  This is really bothersome as last time it happened I had no option but to start over and redo the layout.  Any ideas or suggestions as to why or how this might be happening?  What could I do about it?  I am reluctant to reinstall PSE, as I prefer version 11, have no disc, and last time it took many calls to Adobe to be directed to a place where I could download it (they kept telling me I would HAVE to buy the latest version.
    Thanks, J

    A little more info about the files and just how you're saving them would help, as would info about your version of PSE. What color space are the files? Have you reset your PSE preferences?

  • Incoming mail attachments are getting corrupted.

    I have a MacBook Pro that I just bought about a week ago. Most current OS and everything is up to date. Using the default mail client, all incoming attachments are somehow corrupted. PDFs throw an error saying the document appears to be empty. Word documents open, but actually are empty. When I grab the mail attachments via the web client (GMail), they are fine. They also work fine on Thunderbird on my Windows netbook. Any ideas?

    This support area is really for the MacBook Pro hardware.  I would suggest you go to the Mail.app discussion where there are really good experts on your issues.  I'm sure you'll get a fast answer there.  Also, you might want to do a search of the communities for your problem.  I see lots of hits for corrupted attachments, but since I don't know your exact problem, I can't tell you which has the best answer.

  • Workbooks are getting corrupted

    Hi,
    We have workbooks where the end user's open's them in both English and Japanese.
    If there are any changes in the workbook, we use to do only in English.
    But when we reassign the Dataprovider and save the workbook, the workbook is getting corrupted.
    Can someone please suggest me on this.
    Regards,
    AVS Reddy

    Check out these OSS Notes
    1390817
    1004423
    You can also try by creating a new workbook. Or if you have a copy of the same workbook in your local system, replace it with that.
    Hope it helps,
    Pravender
    Edited by: Pravender on Mar 12, 2010 4:53 PM

  • Face database intermittently gets corrupted.

    I've been using faces for a little over a week. I have 90 faces on the corkboard and about 15K pictures. At least three times now a name has simply disappeared from the corkboard, and the faces belonging to that name have been silently assigned to a different name.
    You can imagine that this is pretty frustrating. I have spent hours and hours going through my library assigning and confirming faces, only to see that work undone by random corruption.
    This software is not ready for prime time; and there are some programmers at apple who need to learn about something called "Test Driven Development".

    Unclebob, I've had the same issues as you. Here are a couple of other threads referencing the same problem:
    http://discussions.apple.com/thread.jspa?threadID=1906273&tstart=0
    http://discussions.apple.com/thread.jspa?threadID=1903497&tstart=15
    http://discussions.apple.com/thread.jspa?threadID=1896169&tstart=30
    http://discussions.apple.com/thread.jspa?threadID=1884890&tstart=30
    Please make sure that you report it as a bug to apple using the Provide Feedback option. The more people that report this to Apple the quicker it might be fixed. Well, hopefully. Maybe. Probably not, but it won't hurt!
    Message was edited by: kepardue

  • My essbase applications are constantly getting corrupted

    Hi, I have several essbase applications and for some reason, I don't know why, they are getting corrupted very often. It is very strange. The thing is that when this happens, I have to create another application, with a different name and buiild and import all data into the cube in order to have my information. The other application (corrupted) is unavailable and cannot delete it from the EAS. Some days after this, the application that I created instead of the first one, gets corrupted again and I have to do the same thing once again in order to have my information.
    Has this happened to someone else? Does someone know why this happen and how to solve it??
    Thanks!!!!
    Edited by: 953437 on 17-ago-2012 13:19

    Thanks... im working with EAS 9.3.1, all my applications are block storage, when I try to load information into my cube, it says Network error, cannot send / recieve data. It is not a network problem because I can still load information in other cubes. After this, I can't load information. I try to stop the application, and then start it again, and it won't let me. It says, cannot load database. This is when I know my cube is corrupted.
    After this, i can't even delete it from the EAS. Here is when i have to create another application and do everything again. Until now, I have 5 versions of my application and only the last one works.
    In the xcp files, I can't find something relevant.
    thanks

  • Afaria Database on SQL Anywhere 12 and Replication

    Hi,
    I have Afaria Farm and I Use SQL Anywhere 12 as database server.
    I want to replicate this database to another SQL Anywhere 12 Server.
    Which one is good way to replication
    And can I have some documentation that tells this step by step?
    I am not a DB admin.

    Hello Tevfik,
    I think we need to understand your requirements a little more: why are you interested in SQL Anywhere replication and what are your plans for it?
    If you're looking for an always-available SQL Anywhere database for Afaria, there is high-availability (database mirroring). This will allow you to maintain two database server partners (with a third arbiter), where the primary has read/write capabilities and the mirror partner is read-only. There is a tutorial here in the documentation.
    If you're looking for a reporting server to do read-only queries for reporting, there is read-only scale out (copy nodes). The tutorial can be found here.
    Are you trying to keep a backup copy of your database via replication? If so, you may want to consider live backups (see the wiki), or just regular backups (also see the wiki). Regular backups should still be used in conjunction with any of the high-availability scenarios described above.
    If you're really looking for data movement, particularly to multiple database nodes, there is synchronization to other enterprise databases (including SQL Anywhere, but this also includes HANA, ASE, IQ, etc.) with MobiLink and replication to other SQL Anywhere databases, via SQL Remote. MobiLink uses a session-based HTTP or TCP/IP connection as a transport, while SQL Remote can use offline FILE, FTP, SMTP, and online HTTP as a transport.
    You may read elsewhere that historically SQL Anywhere can also be used with SQL Remote for Adaptive Server Enterprise (ASE) or Replication Server for replication, but both of these methods have been deprecated and removed in current versions and are not supported by development.
    Regards,
    Jeff Albion
    SAP Active Global Support

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

  • Sql Anywhere v11 with 5 seats

    Hello,
    I have a peculiar problem. I have SqlAnywhere v11 with 5 seats. I have been using it since 8/10/2009. And recently the machine where we housed everything crashed completely. Now I am stock. And I need to deploy the application with the database. I don't have the software anywhere else. I contacted the vendor Programmer's Paradise (Alias TechXtend). They were able to justify my order number and invoice. But they don't have the product anywhere for me to get. SAP recommended that I raise the issue here. Is there any help out there?
    Placide.

    Hi Placide,
    If the original vendor doesn't have the software available, I don't believe you will be able to obtain this software. SQL Anywhere 11 was end-of-life'd, prior to the SAP acquisition of Sybase.
    SQL Anywhere 16 / SQL Anywhere 12 are available via the SAP Store. For details on this, see this question on the SQL Anywhere forum.
    Regards,
    Jeff Albion
    SAP Active Global Support

  • PocketBuilder 2.5.2 and SQL Anywhere 12

    Hi all,
    I have a Windows Mobile device . It should run SQL Anywhere 12 with Pocket Builder 2.5.2. But at the start on the mobile device always get the message that the driver dbodbc10.dll missing . Where can I set that the driver of ASA 12 should be taken ? Or does this not work with ASA 12 .
    Thanks for help.
    André Rust

    Hello Andre,
    PocketBuilder 2.5.x is not supported and no longer sold anymore. Moreover, it has not been tested against ASA 12:
    Software used for database connection
    You might try what is explained below from link SyBooks Online (Archive)
    Connecting to a SQL Anywhere database
    By default, PocketBuilder runtime applications on the Windows CE device use
    the PKODB25.DLL dynamic link library to connect to SQL Anywhere data
    sources through the SQL Anywhere version 10 ODBC driver (dbodbc10.dll).
    You can specify a different ODBC driver by including the
    driver=dbodbcX.dll parameter in your DBPARM
    ConnectString assignment or in the file data source, where X is
    the version number of the ODBC driver for Adaptive Server Anywhere or SQL
    Anywhere.
    For example, to use the Adaptive Server Anywhere 9 ODBC driver on the Windows
    CE device, you can use the following DBPARM:
    SQLCA.DBPARM="ConnectString='DSN=myDSN;driver=dbodbc9.dll;UID=dba;PWD=sql'"
    CONNECT using SQLCA;
    SQLCA is the default connection object in all PocketBuilder environments.
    In all runtime environments, the connect string for the DBPARM parameter must
    not include spaces other than those in the data source name (DSN). The DSN you
    assign must exist in the root directory on the Windows CE device or emulator.
    When you install the complete PocketBuilder runtime package to the device or
    emulator (rather than just the runtime DLLs), the ASA 9.0 Sample.DSN file
    is added to the root directory. Instead of using the ConnectString DBPARM to set
    the driver name, you can modify ASA 9.0 Sample.DSN, or any other DSN file
    that you use, so that it includes an assignment for the database driver:
    [ODBC] enginename=asademo databasename=asademo databasefile=\Program Files\Sybase\ASA\asademo.db start=\Program Files\Sybase\ASA\dbsrv9.exe Driver=dbodbc9.dll
    If you are using the ASA Sample database that is migrated to SQL Anywhere 10,
    you can deploy the DemoDB_SA10.DSN file with your application. The
    PocketBuilder setup program installs this DSN file in the PocketBuilder
    Code Examples\SADemoData\SA10 directory. The DSN file sets the the
    databse file to \Program Files\SQLAny10\ASADemo_10.db, and the driver
    name to dbodbc.dll.
    SQL Anywhere requires that DSN files be saved in ANSI format rather than
    Unicode format.
    If you are running your PocketBuilder applications from the desktop, it is
    recommended that you use the actual name of the driver (for example, “Adaptive
    Server Anywhere 9.0”) in a ConnectString DBPARM rather than the name of the DLL.
    Otherwise, the driver you select in the connection string might be ignored.
    HTH
    Jacob

  • Messages getting corrupted in Mail app with Gmail

    I'm having a following recurring problem with Mail app and my Gmail (company) account: At least once a day Mail app database is getting corrupted / out of sync with Gmail account. Mail is showing most of the mails correctly in the UI but some of the new messages are not the right ones but rather copies of older, typically already deleted emails. I.e. Instead of showing the real new msg content (subject, sender, msg body) it is showing in its place an older already deleted msg. How do I know: I go and check what Gmail webmail shows in browser window.
    Rebuilding account sometimes works, often not. Usually I have to rebuild, close mail app, start again to get it back in sync. I have tried once deleting all Envelope-index files in Mail Library so that it did a longer rebuild. Helped for few hours and then this started again. Mail app is getting corrupted at least once a day. Very annoying because I cannot trust what I see, but have to check constantly webmail, which I would rather not use as my main tool for mail.
    This problem started already with Lion and continued with Mountain Lion.
    I guess next step is to delete all my account & setting and re-configure Mail app. Any other tips?

    I'll chime in here to say that it affects me too.
    Using gmail and mail ActOn to move messages around in mail.app. I'll start trying to see if I can make the corruption happen without using ActOn. I didn't have this problem in 10.4; and I only spent a week with 10.5 so I don't remember it happening then.
    How do you identify the messages in the the finder for deleting so they can be re-downloaded? I've been accessing my corrupted attachments through gmail's web interface, so your work around would be easier than mine, assuming there is an easy way to find the right message.

  • SQL Anywhere 11 on Ubuntu / PHP

    Hi there,
    I have been trying (with no success) to connnect our PHP app to Sybase database.
    Our actual scenario is:
    Windows2003/ ODBC {SQL Anywhere 11 Driver} / PHP ------> Windows2008 / Sybase
    We are to migrate our PHP:
    Linux Ubuntu Server / UnixOBC {SQL Anywhere 11 ODBC Driver} / PHP -------> Windows2008 / Sybase
    In the migration process I configured FreeTDS trying somethink like:
    /etc/fretds/freetds.conf
    [global]
        tds version = 4.2
        dump file = /tmp/freetds.log
    ;    debug flags = 0xffff
    ;    timeout = 10
    ;    connect timeout = 10
        text size = 64512
    [sybase]
        host = 172.19.2.252
        port = 2640
    ;    instance = ek_cadu_0103040607
        tds version = 5.0
        ASA database = ek_adm01_11
    php-script
    <?php
    error_reporting(E_ALL);
    ini_set('display_errors', '1');
    $cnn = sybase_connect('sybase', 'dba', '_._ENKONTROL_._');
    ?>
    This script shows the following errors:
    Warning: sybase_connect(): message: SQL Anywhere Error -83: Specified database not found (severity 16) in /var/www/testodbc.php on line 4
    Warning: sybase_connect(): General SQL Server error: Check messages from the SQL Server (severity 16) in /var/www/testodbc.php on line 4 Warning: sybase_connect(): Unable to connect to server: sybase in /var/www/testodbc.php on line 4
    Can anyone help?. Thank you in advance.
    Marinho.

    Hi Marinho,
    SQL Anywhere does not support FreeTDS. SQL Anywhere does support Open Client and jConnect connections over TDS.
    The sybase_* functions pre-built with PHP are for (Sybase) Adaptive Server Enterprise (ASE), not SQL Anywhere - they are separate products.
    Is there a particular reason you're not using the SQL Anywhere PHP module ( http://scn.sap.com/docs/DOC-40537 ), with the sasql_* functions that are intended for use with SQL Anywhere?
    Regards,
    Jeff Albion
    SAP Active Global Support

Maybe you are looking for

  • How do i unforget a wifi network?

    I know I've seen this question answered however, I tried that and it does not work.  I tried turning off my iPhone and turning it back on in Airplane mode and then working up to finding the network to no avail and when I type in the network credentia

  • Only getting context menus- can't select an item?

    I spilled some tea on my Macbook Pro key board- cleaned it up and dried it out. Now whenever I try to select an item (mac mail, numbers, finder) only get a context menu.  Can't select an item or type.  Mac mail can only look at one of my mail boxes c

  • Mplayer-plugin - anyone can use it?

    Could you tell me how to use mplayer-plugin? Or could you point me to any documentation? This is example site with movies: http://www.galaxydynamics.org/cosmic_cruise.html When I click on avi this plugin just blocks firefox.

  • Find intersections in date ranges and concatenate aggregated labels

    Hello All, The original source of data will be a table of persons with their member ship: Description StartDate EndDate 18 Smith John Poker Club 01/01/2009 NULL 18 Smith John Library 05/01/2009 18/01/2009 18 Smith John Gym 10/01/2009 28/01/2009 26 Ad

  • REGARD ACTIVATION OF IPHONE 4S

    hi i installed ios7 in my iphone 4s after some days my phone stop working . and a activation error coming on the the screen when i restart the phone so can u please tell me how can i activate my phone,..