- start server on a clean datadir with all default options and
--plugin-load-add=file_key_management.so --file_key_management_filename=/git/10.1/mysql-test/std_data/keys.txt --innodb-encrypt-tables=ON
|
- run CREATE TABLE t1 (i INT);
- shutdown the server
- start the server again, with the same opitons =>
150419 19:42:42 [ERROR] InnoDB: Tablespace id 4 encrypted but encryption service not available. Can't continue opening tablespace.
|
|
2015-04-19 19:42:42 7f54192db760 InnoDB: Assertion failure in thread 139999176406880 in file ha_innodb.cc line 21064
|
|
#5 0x00007f5416eb83e0 in *__GI_abort () at abort.c:92
|
#6 0x00007f5419bd3754 in ib_logf (level=IB_LOG_LEVEL_FATAL, format=0x7f541a2dd398 "Tablespace id %ld encrypted but encryption service not available. Can't continue opening tablespace.\n") at 10.1/storage/xtradb/handler/ha_innodb.cc:21064
|
#7 0x00007f5419e1a360 in fil_read_first_page (data_file=15, one_read_already=0, flags=0x7ffc003ec728, space_id=0x7ffc003ec720, min_flushed_lsn=0x7ffc003ec718, max_flushed_lsn=0x7ffc003ec718, orig_space_id=4, crypt_data=0x7ffc003ec738) at 10.1/storage/xtradb/fil/fil0fil.cc:2041
|
#8 0x00007f5419e1d64b in fil_open_single_table_tablespace (validate=true, fix_dict=true, id=4, flags=0, tablename=0x7f53fab6f778 "test/t1", path_in=0x0) at 10.1/storage/xtradb/fil/fil0fil.cc:3740
|
#9 0x00007f5419df7c05 in dict_check_tablespaces_and_store_max_id (dict_check=DICT_CHECK_NONE_LOADED) at 10.1/storage/xtradb/dict/dict0load.cc:1171
|
#10 0x00007f5419d1bcc8 in innobase_start_or_create_for_mysql () at 10.1/storage/xtradb/srv/srv0start.cc:2597
|
#11 0x00007f5419bb6772 in innobase_init (p=0x7f541654f070) at 10.1/storage/xtradb/handler/ha_innodb.cc:4083
|
#12 0x00007f5419a098b4 in ha_initialize_handlerton (plugin=0x7f541653c6e8) at 10.1/sql/handler.cc:512
|
#13 0x00007f54197f1bd8 in plugin_initialize (tmp_root=0x7ffc003f0dd0, plugin=0x7f541653c6e8, argc=0x7f541aac5950, argv=0x7f541641e6a0, options_only=false) at 10.1/sql/sql_plugin.cc:1403
|
#14 0x00007f54197f27aa in plugin_init (argc=0x7f541aac5950, argv=0x7f541641e6a0, flags=2) at 10.1/sql/sql_plugin.cc:1676
|
#15 0x00007f5419714627 in init_server_components () at 10.1/sql/mysqld.cc:5041
|
#16 0x00007f5419715768 in mysqld_main (argc=14, argv=0x7f541641e6a0) at 10.1/sql/mysqld.cc:5631
|
#17 0x00007f541970b340 in main (argc=14, argv=0x7ffc003f1b18) at 10.1/sql/main.cc:25
|
A variation of the same problem:
Bootstrap cannot be run with encryption. If it is, the system InnoDB tables are created encrypted, and the server cannot start anymore.
See also MDEV-8011 for another scenario causing the same error.
- relates to
-
MDEV-8011
Table encryption issues
-
-
Closed
{"report":{"fcp":786.2999999523163,"ttfb":140.19999980926514,"pageVisibility":"visible","entityId":50984,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"e0f87151-91a2-4c3f-81b0-303b1d0b7115","navigationType":0,"readyForUser":913.8999998569489,"redirectCount":0,"resourceLoadedEnd":982.8999998569489,"resourceLoadedStart":145.5,"resourceTiming":[{"duration":226.09999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":145.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":145.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":371.59999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":225.79999995231628,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":145.79999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":145.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":371.59999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":235.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":145.89999985694885,"connectEnd":145.89999985694885,"connectStart":145.89999985694885,"domainLookupEnd":145.89999985694885,"domainLookupStart":145.89999985694885,"fetchStart":145.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":145.89999985694885,"responseEnd":381.7999999523163,"responseStart":381.69999980926514,"secureConnectionStart":145.89999985694885},{"duration":323,"initiatorType":"script","name":"https://jira.mariadb.org/s/94c15bff32baef80f4096a08aceae8bc-CDN/lu2bu7/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":146.09999990463257,"connectEnd":146.09999990463257,"connectStart":146.09999990463257,"domainLookupEnd":146.09999990463257,"domainLookupStart":146.09999990463257,"fetchStart":146.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":146.09999990463257,"responseEnd":469.09999990463257,"responseStart":469.09999990463257,"secureConnectionStart":146.09999990463257},{"duration":319.2000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/099b33461394b8015fc36c0a4b96e19f-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":146.09999990463257,"connectEnd":146.09999990463257,"connectStart":146.09999990463257,"domainLookupEnd":146.09999990463257,"domainLookupStart":146.09999990463257,"fetchStart":146.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":146.09999990463257,"responseEnd":465.2999999523163,"responseStart":465.2999999523163,"secureConnectionStart":146.09999990463257},{"duration":323.2999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":146.29999995231628,"connectEnd":146.29999995231628,"connectStart":146.29999995231628,"domainLookupEnd":146.29999995231628,"domainLookupStart":146.29999995231628,"fetchStart":146.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":146.29999995231628,"responseEnd":469.59999990463257,"responseStart":469.59999990463257,"secureConnectionStart":146.29999995231628},{"duration":323.7999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":146.39999985694885,"connectEnd":146.39999985694885,"connectStart":146.39999985694885,"domainLookupEnd":146.39999985694885,"domainLookupStart":146.39999985694885,"fetchStart":146.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":146.39999985694885,"responseEnd":470.19999980926514,"responseStart":470.19999980926514,"secureConnectionStart":146.39999985694885},{"duration":324.09999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bu7/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":146.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":146.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":470.59999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":324,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":146.59999990463257,"connectEnd":146.59999990463257,"connectStart":146.59999990463257,"domainLookupEnd":146.59999990463257,"domainLookupStart":146.59999990463257,"fetchStart":146.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":146.59999990463257,"responseEnd":470.59999990463257,"responseStart":470.59999990463257,"secureConnectionStart":146.59999990463257},{"duration":324.39999985694885,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bu7/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":146.79999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":146.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":471.19999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":324.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/3339d87fa2538a859872f2df449bf8d0-CDN/lu2bu7/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":146.89999985694885,"connectEnd":146.89999985694885,"connectStart":146.89999985694885,"domainLookupEnd":146.89999985694885,"domainLookupStart":146.89999985694885,"fetchStart":146.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":146.89999985694885,"responseEnd":471.39999985694885,"responseStart":471.39999985694885,"secureConnectionStart":146.89999985694885},{"duration":422.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":147.59999990463257,"connectEnd":147.59999990463257,"connectStart":147.59999990463257,"domainLookupEnd":147.59999990463257,"domainLookupStart":147.59999990463257,"fetchStart":147.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":147.59999990463257,"responseEnd":570.0999999046326,"responseStart":570.0999999046326,"secureConnectionStart":147.59999990463257},{"duration":835.2000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":147.69999980926514,"connectEnd":147.69999980926514,"connectStart":147.69999980926514,"domainLookupEnd":147.69999980926514,"domainLookupStart":147.69999980926514,"fetchStart":147.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":147.69999980926514,"responseEnd":982.8999998569489,"responseStart":982.8999998569489,"secureConnectionStart":147.69999980926514},{"duration":33.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":540.0999999046326,"connectEnd":540.0999999046326,"connectStart":540.0999999046326,"domainLookupEnd":540.0999999046326,"domainLookupStart":540.0999999046326,"fetchStart":540.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":540.0999999046326,"responseEnd":573.5999999046326,"responseStart":573.5999999046326,"secureConnectionStart":540.0999999046326}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":13,"responseStart":140,"responseEnd":141,"domLoading":143,"domInteractive":1003,"domContentLoadedEventStart":1003,"domContentLoadedEventEnd":1040,"domComplete":1956,"loadEventStart":1956,"loadEventEnd":1957,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":985.0999999046326},{"name":"bigPipe.sidebar-id.end","time":985.7999999523163},{"name":"bigPipe.activity-panel-pipe-id.start","time":986},{"name":"bigPipe.activity-panel-pipe-id.end","time":988.2999999523163},{"name":"activityTabFullyLoaded","time":1044.0999999046326}],"measures":[],"correlationId":"34bf9a28974e61","effectiveType":"4g","downlink":9.7,"rtt":0,"serverDuration":74,"dbReadsTimeInMs":9,"dbConnsTimeInMs":16,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}