Skip to content
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]: Startup error #49

Open
hawk9821 opened this issue Jan 8, 2025 · 1 comment
Open

[Bug]: Startup error #49

hawk9821 opened this issue Jan 8, 2025 · 1 comment

Comments

@hawk9821
Copy link

hawk9821 commented Jan 8, 2025

Describe the bug

docker startup boot success!
connector error

sh-4.4# obclient -uroot -P2881
ERROR 2002 (HY000): Can't connect to local OceanBase server through socket '/app/mariadb/mysql.sock' (2)

Environment

docker

Fast reproduce steps

Startup script:

docker run -p 2881:2881 \
   -p 2882:2882 \
   --name oceanbase-cdc \
   -e MODE=mini \
   -e OB_SYS_PASSWORD=123456 \
   -e OB_DATAFILE_SIZE=2G \
   -e OB_LOG_DISK_SIZE=4G \
   oceanbase/oceanbase-ce:4.2.1.6-106000012024042515

log:

find obd deploy information, skip configuring...
start ob cluster ...
Get local repositories ok
Search plugins ok
Load cluster param plugin ok
Open ssh connection x
[ERROR] OBD-1013: [email protected] connect failed: time out

Trace ID: ba6d1590-cd8c-11ef-9636-0242ac110002
If you want to view detailed obd logs, please run: obd display-trace ba6d1590-cd8c-11ef-9636-0242ac110002
boot success!

docker container IP address:

sh-4.4# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
38: eth0@if39: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default 
    link/ether 02:42:ac:11:00:02 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet 172.17.0.2/16 brd 172.17.255.255 scope global eth0
       valid_lft forever preferred_lft forever

Expected behavior

No response

Actual behavior

No response

Additional context

No response

@chris-sun-star
Copy link
Member

chris-sun-star commented Jan 10, 2025

image
You can try the latest docker image of 4.2.1 series, oceanbase/oceanbase-ce:4.2.1.10-110000072024112010

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants