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

docker启动 fe报502 #1723

Open
goeswell opened this issue Nov 10, 2020 · 0 comments
Open

docker启动 fe报502 #1723

goeswell opened this issue Nov 10, 2020 · 0 comments

Comments

@goeswell
Copy link

docker启动好dashboard、proxy、server、fe后,打开http://192.168.8.100:8080/ 后报503
image
image
image
image

下面是配置启动日志
dashboard
2020/11/10 15:51:25 main.go:78: [WARN] set ncpu = 2
2020/11/10 15:51:25 main.go:88: [WARN] option --host-admin = 192.168.8.100:28080
2020/11/10 15:51:25 zkclient.go:23: [INFO] zookeeper - zkclient setup new connection to 192.168.8.31:2181
2020/11/10 15:51:25 zkclient.go:23: [INFO] zookeeper - Connected to 192.168.8.31:2181
2020/11/10 15:51:25 topom.go:119: [WARN] create new topom:
{
"token": "549f0805e5f2ea9b7495906c86283351",
"start_time": "2020-11-10 15:51:25.728209921 +0800 CST",
"admin_addr": "192.168.8.100:28080",
"product_name": "codis-demo",
"pid": 1,
"pwd": "/codis",
"sys": "Linux c5fb5ff2b4c3 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 GNU/Linux"
}
2020/11/10 15:51:25 main.go:142: [WARN] create topom with config
coordinator_name = "zookeeper"
coordinator_addr = "192.168.8.31:2181"
coordinator_auth = ""
admin_addr = "0.0.0.0:18080"
product_name = "codis-demo"
product_auth = ""
migration_method = "semi-async"
migration_parallel_slots = 100
migration_async_maxbulks = 200
migration_async_maxbytes = "32mb"
migration_async_numkeys = 500
migration_timeout = "30s"
sentinel_client_timeout = "10s"
sentinel_quorum = 2
sentinel_parallel_syncs = 1
sentinel_down_after = "30s"
sentinel_failover_timeout = "5m"
sentinel_notification_script = ""
sentinel_client_reconfig_script = ""
2020/11/10 15:51:25 zkclient.go:23: [INFO] zookeeper - Authenticated: id=72057595178844214, timeout=40000
2020/11/10 15:51:25 zkclient.go:23: [INFO] zookeeper - Re-submitting 0 credentials after reconnect
2020/11/10 15:51:26 topom_sentinel.go:169: [WARN] rewatch sentinels = []
2020/11/10 15:51:26 main.go:179: [WARN] [0xc420492120] dashboard is working ...
2020/11/10 15:51:26 topom.go:429: [WARN] admin start service on [::]:18080
[root@localhost log]# cat dashboard.log.2020-11-10
2020/11/10 15:51:25 main.go:78: [WARN] set ncpu = 2
2020/11/10 15:51:25 main.go:88: [WARN] option --host-admin = 192.168.8.100:28080
2020/11/10 15:51:25 zkclient.go:23: [INFO] zookeeper - zkclient setup new connection to 192.168.8.31:2181
2020/11/10 15:51:25 zkclient.go:23: [INFO] zookeeper - Connected to 192.168.8.31:2181
2020/11/10 15:51:25 topom.go:119: [WARN] create new topom:
{
"token": "549f0805e5f2ea9b7495906c86283351",
"start_time": "2020-11-10 15:51:25.728209921 +0800 CST",
"admin_addr": "192.168.8.100:28080",
"product_name": "codis-demo",
"pid": 1,
"pwd": "/codis",
"sys": "Linux c5fb5ff2b4c3 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 GNU/Linux"
}
2020/11/10 15:51:25 main.go:142: [WARN] create topom with config
coordinator_name = "zookeeper"
coordinator_addr = "192.168.8.31:2181"
coordinator_auth = ""
admin_addr = "0.0.0.0:18080"
product_name = "codis-demo"
product_auth = ""
migration_method = "semi-async"
migration_parallel_slots = 100
migration_async_maxbulks = 200
migration_async_maxbytes = "32mb"
migration_async_numkeys = 500
migration_timeout = "30s"
sentinel_client_timeout = "10s"
sentinel_quorum = 2
sentinel_parallel_syncs = 1
sentinel_down_after = "30s"
sentinel_failover_timeout = "5m"
sentinel_notification_script = ""
sentinel_client_reconfig_script = ""
2020/11/10 15:51:25 zkclient.go:23: [INFO] zookeeper - Authenticated: id=72057595178844214, timeout=40000
2020/11/10 15:51:25 zkclient.go:23: [INFO] zookeeper - Re-submitting 0 credentials after reconnect
2020/11/10 15:51:26 topom_sentinel.go:169: [WARN] rewatch sentinels = []
2020/11/10 15:51:26 main.go:179: [WARN] [0xc420492120] dashboard is working ...
2020/11/10 15:51:26 topom.go:429: [WARN] admin start service on [::]:18080

proxy
2020/11/10 15:51:25 main.go:78: [WARN] set ncpu = 2
2020/11/10 15:51:25 main.go:88: [WARN] option --host-admin = 192.168.8.100:28080
2020/11/10 15:51:25 zkclient.go:23: [INFO] zookeeper - zkclient setup new connection to 192.168.8.31:2181
2020/11/10 15:51:25 zkclient.go:23: [INFO] zookeeper - Connected to 192.168.8.31:2181
2020/11/10 15:51:25 topom.go:119: [WARN] create new topom:
{
"token": "549f0805e5f2ea9b7495906c86283351",
"start_time": "2020-11-10 15:51:25.728209921 +0800 CST",
"admin_addr": "192.168.8.100:28080",
"product_name": "codis-demo",
"pid": 1,
"pwd": "/codis",
"sys": "Linux c5fb5ff2b4c3 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 GNU/Linux"
}
2020/11/10 15:51:25 main.go:142: [WARN] create topom with config
coordinator_name = "zookeeper"
coordinator_addr = "192.168.8.31:2181"
coordinator_auth = ""
admin_addr = "0.0.0.0:18080"
product_name = "codis-demo"
product_auth = ""
migration_method = "semi-async"
migration_parallel_slots = 100
migration_async_maxbulks = 200
migration_async_maxbytes = "32mb"
migration_async_numkeys = 500
migration_timeout = "30s"
sentinel_client_timeout = "10s"
sentinel_quorum = 2
sentinel_parallel_syncs = 1
sentinel_down_after = "30s"
sentinel_failover_timeout = "5m"
sentinel_notification_script = ""
sentinel_client_reconfig_script = ""
2020/11/10 15:51:25 zkclient.go:23: [INFO] zookeeper - Authenticated: id=72057595178844214, timeout=40000
2020/11/10 15:51:25 zkclient.go:23: [INFO] zookeeper - Re-submitting 0 credentials after reconnect
2020/11/10 15:51:26 topom_sentinel.go:169: [WARN] rewatch sentinels = []
2020/11/10 15:51:26 main.go:179: [WARN] [0xc420492120] dashboard is working ...
2020/11/10 15:51:26 topom.go:429: [WARN] admin start service on [::]:18080
[root@localhost log]# ls
26379.log 26380.log 26381.log 26382.log dashboard.log.2020-11-10 fe.log.2020-11-10 proxy.log.2020-11-10
[root@localhost log]# cat proxy.log.2020-11-10
2020/11/10 15:51:26 main.go:104: [WARN] set ncpu = 4, max-ncpu = 4
2020/11/10 15:51:26 main.go:118: [WARN] option --host-admin = 192.168.8.100:21080
2020/11/10 15:51:26 main.go:122: [WARN] option --host-proxy = 192.168.8.100:29000
2020/11/10 15:51:26 zkclient.go:23: [INFO] zookeeper - zkclient setup new connection to 192.168.8.31:2181
2020/11/10 15:51:26 proxy.go:91: [WARN] [0xc4200ad130] create new proxy:
{
"token": "2fbd8b8c09d47bd77eccc70f2ad02ad5",
"start_time": "2020-11-10 15:51:26.010360372 +0800 CST",
"admin_addr": "192.168.8.100:21080",
"proto_type": "tcp4",
"proxy_addr": "192.168.8.100:29000",
"jodis_path": "/jodis/codis-demo/proxy-2fbd8b8c09d47bd77eccc70f2ad02ad5",
"product_name": "codis-demo",
"pid": 1,
"pwd": "/codis",
"sys": "Linux 4156a15b29f3 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 GNU/Linux",
"hostname": "4156a15b29f3",
"datacenter": ""
}
2020/11/10 15:51:26 main.go:193: [WARN] create proxy with config
proto_type = "tcp4"
proxy_addr = "0.0.0.0:19000"
admin_addr = "0.0.0.0:11080"
jodis_name = "zookeeper"
jodis_addr = "192.168.8.31:2181"
jodis_auth = ""
jodis_timeout = "20s"
jodis_compatible = false
product_name = "codis-demo"
product_auth = ""
session_auth = ""
proxy_datacenter = ""
proxy_max_clients = 1000
proxy_max_offheap_size = "1gb"
proxy_heap_placeholder = "256mb"
backend_ping_period = "5s"
backend_recv_bufsize = "128kb"
backend_recv_timeout = "30s"
backend_send_bufsize = "128kb"
backend_send_timeout = "30s"
backend_max_pipeline = 20480
backend_primary_only = false
backend_primary_parallel = 1
backend_replica_parallel = 1
backend_keepalive_period = "75s"
backend_number_databases = 16
session_recv_bufsize = "128kb"
session_recv_timeout = "30m"
session_send_bufsize = "64kb"
session_send_timeout = "30s"
session_max_pipeline = 10000
session_keepalive_period = "75s"
session_break_on_failure = false
metrics_report_server = ""
metrics_report_period = "1s"
metrics_report_influxdb_server = ""
metrics_report_influxdb_period = "1s"
metrics_report_influxdb_username = ""
metrics_report_influxdb_password = ""
metrics_report_influxdb_database = ""
metrics_report_statsd_server = ""
metrics_report_statsd_period = "1s"
metrics_report_statsd_prefix = ""
2020/11/10 15:51:26 main.go:229: [WARN] [0xc4200ad130] proxy waiting online ...
2020/11/10 15:51:26 proxy.go:402: [WARN] [0xc4200ad130] proxy start service on 0.0.0.0:19000
2020/11/10 15:51:26 proxy.go:378: [WARN] [0xc4200ad130] admin start service on [::]:11080
2020/11/10 15:51:26 zkclient.go:23: [INFO] zookeeper - Connected to 192.168.8.31:2181
2020/11/10 15:51:26 zkclient.go:23: [INFO] zookeeper - Authenticated: id=72057595178844215, timeout=20000
2020/11/10 15:51:26 zkclient.go:23: [INFO] zookeeper - Re-submitting 0 credentials after reconnect
2020/11/10 15:51:27 main.go:229: [WARN] [0xc4200ad130] proxy waiting online ...
2020/11/10 15:51:28 main.go:229: [WARN] [0xc4200ad130] proxy waiting online ...

fe
2020/11/10 15:51:27 main.go:101: [WARN] set ncpu = 2
2020/11/10 15:51:27 main.go:104: [WARN] set listen = 0.0.0.0:8080
2020/11/10 15:51:27 main.go:120: [WARN] set assets = /gopath/src/github.com/CodisLabs/codis/bin/assets
2020/11/10 15:51:27 main.go:162: [WARN] set --zookeeper = 192.168.8.31:2181
2020/11/10 15:51:27 zkclient.go:23: [INFO] zookeeper - zkclient setup new connection to 192.168.8.31:2181
2020/11/10 15:51:27 zkclient.go:23: [INFO] zookeeper - Connected to 192.168.8.31:2181
2020/11/10 15:51:27 zkclient.go:23: [INFO] zookeeper - Authenticated: id=72057595178844216, timeout=40000
2020/11/10 15:51:27 zkclient.go:23: [INFO] zookeeper - Re-submitting 0 credentials after reconnect

redis
2020/11/10 15:51:27 main.go:101: [WARN] set ncpu = 2
2020/11/10 15:51:27 main.go:104: [WARN] set listen = 0.0.0.0:8080
2020/11/10 15:51:27 main.go:120: [WARN] set assets = /gopath/src/github.com/CodisLabs/codis/bin/assets
2020/11/10 15:51:27 main.go:162: [WARN] set --zookeeper = 192.168.8.31:2181
2020/11/10 15:51:27 zkclient.go:23: [INFO] zookeeper - zkclient setup new connection to 192.168.8.31:2181
2020/11/10 15:51:27 zkclient.go:23: [INFO] zookeeper - Connected to 192.168.8.31:2181
2020/11/10 15:51:27 zkclient.go:23: [INFO] zookeeper - Authenticated: id=72057595178844216, timeout=40000
2020/11/10 15:51:27 zkclient.go:23: [INFO] zookeeper - Re-submitting 0 credentials after reconnect

各位看看是怎么回事

@goeswell goeswell changed the title docker启动 fe报503 docker启动 fe报502 Nov 11, 2020
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

1 participant