Skip to content

Instantly share code, notes, and snippets.

@fingerart
Created March 5, 2024 16:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fingerart/c062a5adafb088ac458516a45bd01bac to your computer and use it in GitHub Desktop.
Save fingerart/c062a5adafb088ac458516a45bd01bac to your computer and use it in GitHub Desktop.
# fingerart @ MacBookPro in ~/Workspace/Go/open-im-server on git:release-v3.5 x [0:28:39]
$ make check
===========> Checking openim
# Begin to check all openim service
+++ [0306 00:30:27] Check all dependent service ports
+-------------------------+----------+
| Service Name | Port |
+-------------------------+----------+
| openim-user | 10110 |
| openim-friend | 10120 |
| openim-msg | 10130 |
| openim-msg-gateway | 10140 |
| openim-group | 10150 |
| openim-auth | 10160 |
| openim-push | 10170 |
| openim-conversation | 10180 |
| openim-third | 10190 |
| openim-api | 10002 |
| openim-ws | 10001 |
+-------------------------+----------+
+-------------------------+----------+
| Service Name | Port |
+-------------------------+----------+
| redis | 16379 |
| zookeeper | 12181 |
| kafka | 19094 |
| mongodb | 37017 |
| minio | 10005 |
+-------------------------+----------+
++ The port being checked: 10110 10120 10130 10140 10150 10160 10170 10180 10190 10002 10001
## Check all dependent service ports
++ The port being checked: 16379 12181 19094 37017 10005
grep: /proc/1/cgroup: No such file or directory
2024-03-06 00:30:27 The environment is outside the container
Checking ports: 16379 12181 19094 37017 10005
### Started ports:
Port 16379 - Command: com.docker.backend, PID: 634, FD: 451u, Started: Tue Mar 5 23:48:46 2024
Port 12181 - Command: com.docker.backend, PID: 634, FD: 219u, Started: Tue Mar 5 23:48:46 2024
Port 19094 - Command: com.docker.backend, PID: 634, FD: 221u, Started: Tue Mar 5 23:48:46 2024
Port 37017 - Command: com.docker.backend, PID: 634, FD: 216u, Started: Tue Mar 5 23:48:46 2024
Port 10005 - Command: com.docker.backend, PID: 634, FD: 187u, Started: Tue Mar 5 23:48:46 2024
[success 0306 00:30:28] ==> All specified processes are running.
++++ Check all dependent service ports successfully !
## Check OpenIM service name
Warning: Not attempting to modify file descriptor limit on Cygwin or Darwin.
!!! [0306 00:30:28] Call tree:
!!! [0306 00:30:28] 1: /Users/fingerart/Workspace/Go/open-im-server/scripts/install/openim-msgtransfer.sh:145 openim::msgtransfer::check(...)
!!! [0306 00:30:28] 2: /Users/fingerart/Workspace/Go/open-im-server/scripts/check-all.sh:84 source(...)
!!! Error in /Users/fingerart/Workspace/Go/open-im-server/scripts/install/openim-msgtransfer.sh:64
Error in /Users/fingerart/Workspace/Go/open-im-server/scripts/install/openim-msgtransfer.sh:64. 'PIDS=$(pgrep -f "${OPENIM_OUTPUT_HOSTBIN}/openim-msgtransfer")' exited with status 1
Call stack:
1: /Users/fingerart/Workspace/Go/open-im-server/scripts/install/openim-msgtransfer.sh:64 openim::msgtransfer::check(...)
2: /Users/fingerart/Workspace/Go/open-im-server/scripts/install/openim-msgtransfer.sh:145 source(...)
3: /Users/fingerart/Workspace/Go/open-im-server/scripts/check-all.sh:84 main(...)
Exiting with status 1
make[1]: *** [go.check] Error 1
make: *** [check] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment