[EC]Shared memory error:Existing memory segment is only 4 seconds old. Cannot reattach for another 6

When I execute ./start_ezd in /opt/thomsonreuters/SOFTWARE/ezd1.2/rhel6_x86_64/bin directory, I get the following message.

[scanalytics_tr@replayservice-test bin]$ sudo ./start_ezd
[scanalytics_tr@replayservice-test bin]$ ezd Version ezd1.2.F3
ezd: Initialization Failed -Check Log-
ezd Error: Initialization failed

The ezd.log says as follows.

<ServerSharedMemory: Notice: Thu Dec 07  12:26:42.013074 2017>
Existing memory segment is only 4 seconds old.
Cannot reattach for another 6 seconds.
<END>

How should I resolve this?

Best Answer

  • Likely you have EZD already running. Try checking processes that are running.

    For example:

      ps -ef | grep ezd

Answers

  • The execution results of the command above is as below.

    [scanalytics_tr@replayservice-test bin]$ ps -ef | grep ezd
    scanaly+ 1667 1 0 00:05 ? 00:00:00 ./ezd -c /opt/thomsonreuters/SOFTWARE/globalconfig/ezd.cnf
    scanaly+ 1720 1412 0 00:05 pts/0 00:00:00 grep --color=auto ezd
  • From the output, there is another instance of ezd with process ID 1667 running on the machine. You need to stop_ezd before starting it again.