Error 3401



Message text

Rec_logbounds: getnext SCAN_RID of last checkpoint failed on Rid from sysdatabases. %S_RID.


When you restart Adaptive Server, recovery scans the log to find the last checkpoint record to determine the active portion of the log. Error 3401 is raised when recovery is unable to find a checkpoint record.

Error 3401 occurs with the following states:




A log scan was started, but an attempt to find the checkpoint record in the log failed.


An attempt to scan the log to find the checkpoint log record failed.


Good backup available

If you have a good backup, restore the database as follows:

  1. Drop the database. If the drop fails, follow the instructions in “Dropping a database when drop database fails” in the chapter “Other Useful Tasks” in the most recent version of the Troubleshooting and Disaster Recovery guide.

  2. Create a database for load. Make sure the database you create is at least as large as the original database (and that its sysusages values match the original values). For more information about creating a database for load, refer to “create database” in the Reference Manual: Commands.

  3. Load the database from backup. (Refer to “load database” in the Reference Manual: Commands.)

  4. Use the online database command to make the database available for use.

No good backup available

If you do not have a good backup, contact Sybase Technical Support. They may be able to help you recover from this error.

Additional information

Have the information on hand that is listed in “Reporting errors” when you call Sybase Technical Support:

Versions in which this error is raised

All versions