---
title: 安装好 OAT/OCP/ODC/OMS/ODP 打不开白屏网页界面-OceanBase数据库使用指南
description: 了解OceanBase数据库在实际应用中关于安装好 OAT/OCP/ODC/OMS/ODP 打不开白屏网页界面相关的常见问题和使用技巧，帮助您快速解决安装好 OAT/OCP/ODC/OMS/ODP 打不开白屏网页界面的难题。
image: https://mdn.alipayobjects.com/huamei_22khvb/afts/img/A*OSPzQ6GUQF4AAAAAQHAAAAgAeiGDAQ/original
---
[OceanBase AI 数据大会](https://www.oceanbase.com/conference2026 "OceanBase AI 数据大会")

## 体验新一代 AI 数据平台

[立即咨询](https://www.oceanbase.com/contactus) [免费试用 免费试用](https://www.oceanbase.com/free-trial)划线反馈

# 安装好 OAT/OCP/ODC/OMS/ODP 打不开白屏网页界面

更新时间：2026-06-26 02:02

适用版本： V2.x、V3.x、V4.x 内容类型：Troubleshoot  

## 适用版本

- Antman 及 OAT 各个版本
 - OCP/ODC/OMS/ODP 各个版本

## 问题现象

安装好 OAT/OCP/ODC/OMS/ODP 后，却打不开对应的白屏网页界面。

## 解决方法

1. 先检查一下对应的端口是不是启动了监听，以 OAT 为例，它默认使用的是 7000 端口号。

   ```
   [root@xxxxxxxxxxxxx ~]# netstat -anp | grep -i :7000
   tcp0      0 0.0.0.0:7000            0.0.0.0:*               LISTEN      27740/uwsgi
   [root@xxxxxxxxxxxxx ~]# curl -L localhost:7000

   ```

   如果端口号没有监听，可以看一下容器相关的启动日志：

   ```
   docker logs -f <容器名>

   ```
 2. 如果端口号监听着，可以试一下 telnet 命令能不能连接到该服务器上去。

   ```
   telnet <ip地址> <端口号>

   ```

   比如：

   ```
   [admin@h07xxxxxx.sqa.eu95:~]$ telnet localhost 8080
   Trying 127.x.x.x...
   Connected to localhost.
   Escape character is '^]'.
   ^]            <== 这边键盘敲Ctrl+]
   telnet> help
   Commands may be abbreviated.  Commands are:
   ​
   close           close current connection
   logout          forcibly logout remote user and close the connection
   display         display operating parameters
   mode            try to enter line or character mode ('mode ?' for more)
   open            connect to a site
   quit            exit telnet
   send            transmit special characters ('send ?' for more)
   set             set operating parameters ('set ?' for more)
   unset           unset operating parameters ('unset ?' for more)
   status          print status information
   toggle          toggle operating parameters ('toggle ?' for more)
   slc             change state of special charaters ('slc ?' for more)
   z               suspend telnet
   !               invoke a subshell
   environ         change environment variables ('environ ?' for more)
   ?               print help information
   telnet> quit
   Connection closed.

   ```

   如果无法 telnet，应该是网络连接相关的问题，比如：网络不通，防火墙打开了，IP 地址/端口号没有加白，等等。

## 更多信息

### 如何验证 OAT 服务正常

```
[root@xxxxxxxxxxxxx ~]# netstat -anp | grep -i :7000
tcp0      0 0.0.0.0:7000            0.0.0.0:*               LISTEN      27740/uwsgi
[root@xxxxxxxxxxxxx ~]# curl -L localhost:7000

```

### 如何验证 OCP 服务正常

首先可以去 OCP 的主机上 telnet 看一下 8080 端口是不是启动着。

```
[admin@xxxxxxxxx.sqa.eu95:~]$ hostname -i
11.xxx.xx.xx
[admin@xxxxxxxxx.sqa.eu95:~]$ telnet localhost 8080
Trying 127.x.x.x...
Connected to localhost.
Escape character is '^]'.
^]            <== 这边键盘敲Ctrl+]
telnet> help
Commands may be abbreviated.  Commands are:
​
close           close current connection
logout          forcibly logout remote user and close the connection
display         display operating parameters
mode            try to enter line or character mode ('mode ?' for more)
open            connect to a site
quit            exit telnet
send            transmit special characters ('send ?' for more)
set             set operating parameters ('set ?' for more)
unset           unset operating parameters ('unset ?' for more)
status          print status information
toggle          toggle operating parameters ('toggle ?' for more)
slc             change state of special charaters ('slc ?' for more)
z               suspend telnet
!               invoke a subshell
environ         change environment variables ('environ ?' for more)
?               print help information
telnet> quit
Connection closed.
​```

然后 netstat 看下 8080 端口。

```

[root@xxxxxxxxx.sqa.eu95:/home/admin]# netstat -anp | grep :8080 | head tcp5 0 0.0.0.0:8080 0.0.0.0:* LISTEN 96920/java tcp165 0 11.xxx.xx.xx:8080 11.xxx.xxx.x:64766 CLOSE_WAIT 96920/java tcp160 0 11.xxx.xx.xx:8080 11.xxx.xx.xx:54366 CLOSE_WAIT96920/java tcp160 0 11.xxx.xx.xx:8080 11.xxx.xx.xx:18709 CLOSE_WAIT 96920/java tcp160 0 11.xxx.xx.xx:8080 11.xxx.xx.xxx:58664 CLOSE_WAIT96920/java tcp160 0 11.xxx.xx.xx:8080 11.xxx.xx.xxx:56077 CLOSE_WAIT96920/java tcp164 0 127.x.x.x:8080 127.x.x.x:54276 CLOSE_WAIT 96920/java tcp 160 0 11.xxx.xx.xx:8080 11.xxx.xx.xxx:16144 CLOSE_WAIT96920/java tcp129 0 127.x.x.x:8080 127.x.x.x:61322 CLOSE_WAIT 96920/java tcp160 0 11.xxx.xx.xx:8080 11.xxx.xx.xxx:54558 CLOSE_WAIT96920/java [root@xxxxxxxxx.sqa.eu95:/home/admin]# ps -ef | grep 96920 root92619 89156 0 10:41 pts/1 00:00:00 grep --color=auto 96920 admin96920 96895 73 Apr29 pts/0 7-04:56:01 /usr/lib/jvm/java-1.8.0/bin/java -server -XX:+UseG1GC -Xms14336m -Xmx14336m -Xss512k -XX:+PrintCommandLineFlags -XX:MetaspaceSize=1024m -XX:MaxMetaspaceSize=1024m -XX:+PrintAdaptiveSizePolicy -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCApplicationStoppedTime -Xloggc:/home/admin/ocp-server/bin/../log/gc.log -XX:+UseGCLogFileRotation -XX:GCLogFileSize=50M -XX:NumberOfGCLogFiles=2 -XX:ErrorFile=/home/admin/ocp-server/bin/../log/hs_err_pid%p.log -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/home/admin/ocp-server/bin/../log/ -Dfile.encoding=UTF-8 -jar /home/admin/ocp-server/bin/../lib/ocp-server-3.3.0-20220427.jar [Mon May 09 10:41:19][89156][root@xxxxxxxxx.sqa.eu95:/home/admin][0]# ​

[root@ocpxxx ~]# curl -L "172.xx.xx.x:8080" [root@ocpxxx ~]# curl -L "http://localhost:8080"

```

### 如何验证 ODC 服务正常

**ODC 健康检查**

如果浏览器无法访问 ODC 白屏界面，可以通过 curl ODC 健康检查 API 来确定应用是否正常工作。

参考命令：

```

curl -XGET http://${odc_ip}:${odc_port}/api/v1/heartbeat/isHealthy

```

正常情况会立即返回，返回 response 样例如下。

![Alt text](https://obbusiness-private.oss-cn-shanghai.aliyuncs.com/doc/img/knowledge-base/oat/imgB9K1SyXwhj.png)

若调用卡住或出现错误则基本可以确定是后端问题引起的浏览器卡住，请保留 `odc.log` 日志联系 OceanBase 技术支持解决。

OAT 白屏界面上使用的 ODC 探活命令：（在 `task_engine/dags/check_product_status.py` 里面）。

```

[admin@xxxxxxxxx.sqa.eu95:~]$ time curl http://11.xxx.xx.xx:8989/api/v1/heartbeat/isHealthy

[root@ocpxxx ~]# netstat -anp | grep 8989 <== 查看对应端口号有没有起来 [root@ocpxxx ~]# telnet 127.x 8989 [root@ocpxxx ~]# telnet localhost 8989 [root@ocpxxx ~]# time curl http://172.xx.xx.x:8989/api/v1/heartbeat/isHealthy {"data":true,"durationMillis":2,"errCode":null,"errMsg":null,"httpStatus":null,"importantMsg":false,"requestId":null,"server":"ocpxxx","timestamp":1649341574.908000000,"traceId":"ff0d9xxxxxxxxxxx"} real0m0.009s user0m0.001s sys0m0.004s

```

### 如何验证 OMS 服务正常

OAT 白屏界面上使用的 OMS 探活命令（在 `task_engine/dags/check_product_status.py` 里面）。

```

[root@omsxxx oms]# time curl http://172.xx.x.xx:8089/oms/health| python -m json.tool [root@ocpxxx oat]# time curl http://172.xx.xx.x:8089/oms/health // 默认是5s超时

```

### 如何验证 ODP 服务正常

OAT 白屏界面上使用的 ODP 探活命令（在 `task_engine/dags/check_product_status.py` 里面）。

```

$ time curl -vvv -X GET "http://11.xxx.xx.xxx:9500/checkService" // 默认是5s超时 $ curl -s --connect-timeout 3 "127.x.x.x:10003/checkService" [root@ocp126 ~]# netstat -anp | grep 9500

```

验证 ODP Console。

```

```

验证 ODP Server。

```

curl -s --connect-timeout 3 "127.x.x.x:10104/checkService" | grep ":true" curl -s --connect-timeout 3 "127.x.x.x:10004/checkService" | grep ":true"

```

```

上一篇

[如何黑屏验证 OAT/OCP/ODC/OMS/OBSharding 是否安装成功](https://www.oceanbase.com/knowledge-base/oceanbase-database-1000000000284383)

下一篇

[OCP 部署为什么只有两个容器，没有 OBProxy 容器了？](https://www.oceanbase.com/knowledge-base/oceanbase-database-1000000000284418) ![有帮助](https://gw.alipayobjects.com/mdn/ob_asset/afts/img/A*y6ocSqN8cqsAAAAAAAAAAAAAARQnAQ)![无帮助](https://gw.alipayobjects.com/mdn/ob_asset/afts/img/A*BG9IQJyLHF8AAAAAAAAAAAAAARQnAQ)![反馈](https://gw.alipayobjects.com/mdn/ob_asset/afts/img/A*eTWdQKCRKHwAAAAAAAAAAAAAARQnAQ) 咨询
