The REST API service occasionally stops without any warning. After starting the service again it may run for a few hours and then stop again.
Every time the service stops an entry similar to the following is written to the restapi_service.log file
Note: The previously mentioned log file can be found in the following path (default)
Windows: "C:\Program Files\Symantec\Scan Engine\RestAPI\log"
Linux: "/opt/SYMCScan/RestAPI/log"
[1-5284-11:30:54] cntservice.cpp(396): ServiceHandler: Invalid Opcode 4
[1-5284-11:31:54] cntservice.cpp(396): ServiceHandler: Invalid Opcode 4
[1-5284-11:31:54] cntservice.cpp(396): ServiceHandler: Invalid Opcode 4
[1-0F08-11:32:32] restapi.cpp(459): New event:1722871952
[1-0F08-11:32:32] restapi.cpp(474): Java REST API failed.Retrying count 1
[1-0F08-11:32:34] restapi.cpp(459): New event:1722871954
[1-0F08-11:32:34] restapi.cpp(474): Java REST API failed.Retrying count 2
[1-0F08-11:32:35] restapi.cpp(459): New event:1722871955
[1-0F08-11:32:35] restapi.cpp(465): Threshold reached
[1-0F08-11:32:35] restapi.cpp(479): Retry exhausted taking down the Service
[1-5C88-11:32:35] crestapiservicethread.cpp(88): CRESTAPIServiceThread::StopService()
[1-5C88-11:32:35] crestapiservicethread.cpp(95): CRESTAPIServiceThread::TerminateService()
Protection Engine 9.x, Windows, Linux
The underlying Java platform was unstable, corrupted and/or partially upgraded.
Windows: Stop via the Services panel or run the command: net stop symcrestapiservice
Linux: /opt/SYMCScan/RestAPI/restapi.sh stop