-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: docker run with errors ERROR 2002 (HY000): Can't connect to OceanBase server on '127.1' (115) #24
Comments
Please tell me some information that allocate to docker engine:
|
@hnwyllmm I actually didn't specify any resources for this container but I have a lot of overall free resources in local docker which could be used. there were no others run containers. |
@LINxiansheng Please take a look. It's difficult to debug the scenario, could you please provide some solutions in the feature? |
The observer started failed. Please provide the observer log in ~/ob/log. |
@LINxiansheng This is docker log and full logs
|
i check the observer.log, and but the log timestamp(last timestamp is 2023-10-12 19:43:32) is not match docker.log(2023-10-09 22:18:36);
@YuriyGavrilov is this ocean_logs and docker log are in the same run? |
@caifeizhi sorry for disappointing it is different run |
Never mind. Could you please reproduce it and send the full log (both docker logs and oceanbase log)? |
@caifeizhi fresh logs: Docker
files: try to open interactively
|
sorry for the late reply. i found:
Therefore, I suspect that OceanBase was terminated (possibly with a -9 signal) by the operating system. You may want to check the logs in |
@caifeizhi here is fresh logs #24. 16:51 and 19:51 difference it is just UTC+3 timezone difference I think. May be I will make update it soon again. |
|
Sorry for reply late.
Solutions:
This is difficult for new developer to check them and I see you cpu and memory configuration. So maybe you can check your file space firstly. |
@LINxiansheng thx for helping. I will check! |
Describe the bug
There is a docker run error such as:
Environment
Docker on Mac OS
OS Version and CPU Arch(
23.0.0 Darwin Kernel Version 23.0.0: Fri Sep 15 14:42:42 PDT 2023; root:xnu-10002.1.13~1/RELEASE_X86_64 x86_64
):OB Version(
LD_LIBRARY_PATH=../lib:$LD_LIBRARY_PATH ./observer -V
):Fast Reproduce Steps(Required)
docker run -p 2881:2881 --name oceanbase-ce -e MINI_MODE=1 -d oceanbase/oceanbase-ce
docker exec -it oceanbase-ce ob-mysql sys # Connect to the root user of the sys tenant.
Steps to reproduce the behavior:
Expected behavior
Docker run successfully
Second docker command run interactively without this error:
docker exec -it oceanbase-ce ob-mysql sys login as root@sys Command is: obclient -h127.1 -uroot@sys -A -Doceanbase -P2881 ERROR 2002 (HY000): Can't connect to OceanBase server on '127.1' (115)
Actual Behavior
Additional context
just tried fresh run in docker
The text was updated successfully, but these errors were encountered: