> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.ggcircuit.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# ggRock 虚拟机状态显示错误、无法控制虚拟机、内部服务器错误

### **问题**

ggRock 服务器报告 VM 正在运行，但实际上并未运行。

无法重启 VM、关闭 VM 或删除 VM。

### **解决方案 1**

重启 ggRock 服务

1. 通过直接连接服务器、SSH 或 Debian 控制面板访问服务器控制台。

![](https://storage.crisp.chat/users/helpdesk/website/-/a/f/d/6/afd6941e8bc7d800/downloadsintercomcdncomio30563_1qudmmd.png)

2. 使用 root 用户或系统上的其他管理员用户登录。

![](https://storage.crisp.chat/users/helpdesk/website/-/a/f/d/6/afd6941e8bc7d800/downloadsintercomcdncomio30563_lf5v5i.png)

3. 使用以下命令重启 ggRock 服务：

```
"systemctl restart ggrock"
```

![](https://storage.crisp.chat/users/helpdesk/website/-/a/f/d/6/afd6941e8bc7d800/downloadsintercomcdncomio30563_1spf8ch.png)

4. 服务重新启动后，尝试再次控制 VM。

### **解决方案 2**

重启 ggRock 服务器

1. 通过直接连接服务器、SSH 或 Debian 控制面板访问服务器控制台。

![](https://storage.crisp.chat/users/helpdesk/website/-/a/f/d/6/afd6941e8bc7d800/downloadsintercomcdncomio30563_bwmm3m.png)

2. 使用 root 用户或系统上的其他管理员用户登录。

![](https://storage.crisp.chat/users/helpdesk/website/-/a/f/d/6/afd6941e8bc7d800/downloadsintercomcdncomio30563_1ljcpa9.png)

3. 使用以下命令重启 ggRock 服务器：

```
"shutdown -r now"
```

![](https://storage.crisp.chat/users/helpdesk/website/-/a/f/d/6/afd6941e8bc7d800/downloadsintercomcdncomio32546_g4khqc.png)

4. 服务器重新启动后，尝试再次控制 VM。
5. 

### **解决方案 3**

尝试通过 ggRock 机器设置对话框保存对相关机器的更改（例如，在相关机器设置的高级选项卡上检查/取消勾选保持回写复选框）。

**注意：**

*有关如何编辑机器设置的详细信息，请参阅* [***ggRock 机器管理手册***](https://help.ggcircuit.com/knowledge/machines)*。*

### **其他信息**

在一个边界情况下，如果主机（ggRock 服务器）在失去网络连接且无法访问 Web 界面以正确关闭 VM 的情况下重新启动，则可能会触发此问题。