从命令行停止许可服务器(Stopping the License Server from the Command Line)
首选方法是使用许可管理器 GUI 来停止许可服务器,如第 45 页"Stopping the License Server"(停止许可服务器)中所述;不过你也可以使用本节中的过程从命令行停止许可服务器。
警告: 不要在任何受许可的应用程序正在运行时停止 License Server(许可服务器),除非你将在 15 分钟内重新启动该许可服务器。为了获得最佳系统行为,在停止 License Server 之前,请要求用户停止使用该软件,或使用许可管理器撤销所有正在使用的许可。
从 Windows 停止许可服务器(Stopping the License Server from Windows)
你可以停止 Riverbed License Manager(许可管理器)服务,如步骤 34 所示。
步骤 34:在 Windows 上停止许可服务器(手动方式)(Stopping the License Server on Windows (Manually))
- 启动 Windows 任务管理器应用程序(右键单击任务栏并选择 Start Task Manager(启动任务管理器))。
- 在 Processes(进程)选项卡页面上找到并选中
op_license_server进程。 - 单击 End Process(结束进程)按钮。
以下过程仅应在其他方法无法停止许可服务器时使用,并且仅适用于未向 AppInternals 提供许可的许可服务器。对于无法停止正在为这些产品提供许可的许可服务器的情况,请联系 Riverbed 技术支持寻求帮助。
警告: 不要在 AppInternals 上使用步骤 35
步骤 35:在 Windows 上停止许可服务器——替代方法(Stopping the License Server on Windows—Alternate Method)
-
从命令行以停止服务器模式调用许可管理器程序:
op_license_util -license_server_kill -license_server <server> \ -license_port <port>有关
op_license_util的信息,请参见产品文档中的 Program Descriptions(程序描述)章节。
在 Linux 上停止许可服务器(Stopping the License Server on Linux)
以下过程描述了在 Linux 上停止许可服务器的另一种方式。首选方法如第 45 页"Stopping the License Server"(停止许可服务器)中所述。
警告: 不要在 AppInternals 上使用步骤 36。
步骤 36:在 Linux 上停止许可服务器(替代方法)(Stopping the License Server on Linux (Alternate Method))
警告: 仅在其他方法无效时才使用此过程。
-
登录到该进程的主机并使用
ps命令来确定op_license_server的进程 id(pid)。 -
从命令行执行
kill命令:kill <pid>