SAP Knowledge Base Article - Preview

2761091 - Full Database Encryption fails with Error 632 - SAP ASE

Symptom

Full Database Encryption on SAP ASE 16.0 fails with Error 632.

For example, via isql -

1> use master
2> go
1> alter database ABC encrypt with DEK
2> go

Corresponding errors in the ASE log -

00:0008:00000:00201:2018/10/08 09:31:25.26 server The encryption of database 'ABC' has started.
00:0003:00000:00269:2018/10/08 09:37:10.90 server Error: 632, Severity: 20, State: 2
00:0003:00000:00269:2018/10/08 09:37:10.90 server Attempt to move memory with an incorrect length of -36335. Maximum allowed length is 16384.
00:0003:00000:00269:2018/10/08 09:37:10.90 server DB Encryption Worker: The encryption of the pages failed. Please contact SAP Technical Support for assistance.

The corresponding stacktrace for the failing spid includes the functions: memmove_error(), ea_bufencrypt(), bufawrite(), ea_encrypt_decrypt_pages()

An alternate stacktrace that can occur is:

00:0016:00000:00000:2017/11/22 10:24:19.27 kernel Current process (0x0) infected with signal 11 (SIGSEGV)
00:0016:00000:00000:2017/11/22 10:24:19.28 kernel Address 0x0x0000000001d3aa4f (exc_raise+0x3f), siginfo (code, address) = (1, 0x0x000000000000bcb0)

00:0016:00000:00000:2017/11/22 10:24:19.28 kernel pc: 0x000000000126dba1 nthrd_backtrace+0x3b()
00:0016:00000:00000:2017/11/22 10:24:19.28 kernel pc: 0x00000000012912c0 krtctskException+0xc4()
00:0016:00000:00000:2017/11/22 10:24:19.28 kernel pc: 0x000000000129ab5e kisignal+0x798()
00:0016:00000:00000:2017/11/22 10:24:19.28 kernel pc: 0x0000000001d3aa4f exc_raise+0x3f()
00:0016:00000:00000:2017/11/22 10:24:19.28 kernel pc: 0x0000000000edf401 memmove_error+0x3e()
00:0016:00000:00000:2017/11/22 10:24:19.28 kernel pc: 0x0000000001045678 ea_bufdecrypt+0x34a()
00:0016:00000:00000:2017/11/22 10:24:19.28 kernel pc: 0x0000000001a5d3af brfinish+0x6ef()
00:0016:00000:00000:2017/11/22 10:24:19.28 kernel pc: 0x0000000001e83ec3 sdfinish_normal+0x63()
00:0016:00000:00000:2017/11/22 10:24:19.28 kernel pc: 0x0000000001e83a06 sddone_normal+0x46()
00:0016:00000:00000:2017/11/22 10:24:19.28 kernel pc: 0x0000000001e8378b blkioComplete+0x7b()
00:0016:00000:00000:2017/11/22 10:24:19.28 kernel pc: 0x0000000001e8826d kdcProcessCompletions+0x1fd()
00:0016:00000:00000:2017/11/22 10:24:19.28 kernel pc: 0x0000000001e875fe udcPoll+0x28e()
00:0016:00000:00000:2017/11/22 10:24:19.28 kernel pc: 0x0000000001e7f929 iocRunController+0x1c9()
00:0016:00000:00000:2017/11/22 10:24:19.28 kernel pc: 0x0000000001ea7ae9 krtctskRun+0x39()
00:0016:00000:00000:2017/11/22 10:24:19.28 kernel pc: 0x0000000001eac4bd ktskRun+0x4d()
00:0016:00000:00000:2017/11/22 10:24:19.28 kernel pc: 0x0000000001edd463 kt__RTCMain+0xa3()


Read more...

Environment

  • SAP Adaptive Server Enterprise 16.0
  • SAP Adaptive Server Enterprise 16.0 for Business Suite

Keywords

encryption, database, 632, memmove, 812183, 2571509, exc_raise , brfinish , KBA , BC-DB-SYB , SAP Business Suite on Sybase ASE Database Platform , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.