Previous Storage Manager for this archive had journaling enabled and did not stop cleanly

{question}

What is the meaning of this error message: "SM Node startup failed: Previous Storage Manager for this archive had journaling enabled and did not stop cleanly”? 

{question}

{answer}

By default, the journal is located at <archive>/journal for an unmanaged database and at <archive> for a managed database.  

But in this case we get an error that it expected - 13a570cf-3a9a-7848-90a5-48ff3b72d1bd not found in directory journal. you can see below the full message:
 
nuodb [domain] > start process SM database <db_name> archive /tmp/<db_name> host localhost

Process command-line options (optional):
Initialize archive (optional):
nuodb[367]: (<db_name>) SM Starting Storage Manager 2.5.5-1-f1261ae042: database=<db_name>, protocol=1.589824.f1261ae042 (2.5.4|2.5.5)

nuodb[367]: (<db_name>) SM Node startup failed: Previous Storage Manager for this archive had journaling enabled and did not stop cleanly: journal 13a570cf-3a9a-7848-90a5-48ff3b72d1bd not found in directory /tmp/<db_name>/journal.

nuodb[367]: (<db_name>) SM Stopped Storage Manager: database=db_name: exiting with failure (5)

start: Failed to start process: Previous Storage Manager for this archive had journaling enabled and did not stop cleanly: journal 13a570cf-3a9a-7848-90a5-48ff3b72d1bd not found in directory /tmp/<db_name>/journal.

 

Locate the mentioned missing directory (13a570cf-3a9a-7848-90a5-48ff3b72d1bd) under <archive> and move this directory under journal directory will correct the problem:

nuodb [domain] > start process SM database <db_name> archive /tmp/<db_name> host localhost
Process command-line options (optional):
Initialize archive (optional):
nuodb[525]: (<db_name>) SM Starting Storage Manager 2.5.5-1-f1261ae042: database=<db_name>, protocol=1.589824.f1261ae042 (2.5.4|2.5.5)

nuodb[525]: (<db_name>) SM Database formed: effective version 589824 (2.5.4|2.5.5)

Started: [SM] 23a5584451a6/127.0.0.1:48005 (DEFAULT_REGION) [ pid = 525 ] [ db = <db_name> ] [ nodeId = 1 ] ACTIVE
nuodb [domain/<db_name>] >

{answer}

 

 

Have more questions? Submit a request

Comments