Cant start aerospike


#1
Aug 15 2016 01:02:48 GMT: INFO (namespace): (namespace_ee.c:76) ns xxx beginning WARM restart
Aug 15 2016 01:02:48 GMT: WARNING (namespace): (namespace_ee.c:487) ns xxx previous shutdown not trusted
Aug 15 2016 01:02:48 GMT: WARNING (namespace): (namespace_ee.c:79) ns xxx aborted warm restart, will try cold start
Aug 15 2016 01:02:48 GMT: INFO (namespace): (namespace_ee.c:88) ns xxx beginning COLD start
Aug 15 2016 01:02:48 GMT: WARNING (namespace): (namespace_ee.c:558) ns xxx can't remove persistent memory base block: block is attached
Aug 15 2016 01:02:48 GMT: WARNING (namespace): (namespace_ee.c:566) ns xxx can't remove arena stage 0: block is attached
Aug 15 2016 01:02:48 GMT: CRITICAL (namespace): (namespace_ee.c:572) ns xxx fail persistent memory delete
Aug 15 2016 01:02:48 GMT: WARNING (as): (signal.c:96) SIGABRT received, aborting Aerospike Enterprise Edition build 3.9.0.3 os el6

I have setup aerospike in cluster but couldnt start and it showing the above error messages. Does anyone know what this is ? I tried to reboot the server but still didnt help. I am trying to run aerospike as a service


#2

The shared memory is not trusted normally means that the previous run of aerospike didn’t shutdown correctly (or is still running).

Please verify that Aerospike isn’t running:

pgrep asd

If no pid is returned the common reason Aerospike server cannot remove the shared memory is that you are now running Aerospike as a different user from the original used. You can find instructions for managing shared memory here: http://www.aerospike.com/docs/operations/manage/aerospike/fast_restart.html#can-i-delete-the-shared-memory-blocks-


#3

I made sure that there is no asd process running and then I started aerospike daemon but still seeing the same errors. when I start the aerospike daemon, it starts two process … I am not sure what does the process mean ?

root 2978 1 2 02:54 ? 00:01:07 /usr/bin/asd root 23843 1386 6 03:38 ? 00:00:00 [asd]


#4

Use the command in the link I provided, it will delete the shared memory blocks that the process is unable.