On Linux, running the command "smpolicysrv -stats" returns "The specified server is not currently running."
Before this error was observed, smpolicysrv was run by mistake and terminated by CTRL-C.
The root cause is that smpolicysrv process was invoked duplicatedly. In this case, it was by mistake. This can cause such unexpected result.
To resolve the error, restart Policy Server. Then, try the comannd with the option "-stats" again.
On the other hand, ensure that running the smpolicysrv command with correct option.
You may see the supported options to run the command line below:
# smpolicysrv -?
or
# smpolicysrv -h
TEC456063 explains the same error message on Windows:
running smpolicysrv -stats or -publish returns "The specified server is not currently running." (Legacy_Onyx KB Id: 176999)