Comments (9)
PXC-9001.tar.gz
应用logs/tddl下的日志
from polardbx-sql.
"No found any storage inst of metaDb" means cn can NOT find any DN info from metadb ,maybe the dn infos of metadb is invalid.
from polardbx-sql.
@cheeloosoft How do you deploy this polardbx cluster? pxd, k8s or source code?
from polardbx-sql.
source code on CentOS Linux release 7.6.1810
single node
from polardbx-sql.
conf/server.properties
PolarDB-X 服务端口
serverPort=8527
PolarDB-X RPC 端口
rpcPort=9090
MetaDB地址
metaDbAddr=127.0.0.1:4886
MetaDB私有协议端口
metaDbXprotoPort=32886
MetaDB用户
metaDbUser=my_polarx
metaDbName=polardbx_meta_db_polardbx
PolarDB-X实例名
instanceId=polardbx-polardbx
galaxyXProtocol=1
metaDbPasswd=7pKen4TpFua3pZBZigJAnAAiRflEzLSTo86sJKStSY8=
from polardbx-sql.
@cheeloosoft Do you specify the dn list when initialize PolarDB-X?
from polardbx-sql.
Initialization command
bin/startup.sh
-I
-P asdf1234ghjk5678
-d 127.0.0.1:4886:32886
-r ""
-u polardbx_root
-S "123456"
Generate password for user: my_polarx && _#_Q9_7@vW4@)0#R9@W5&6#F7$ 数据库的用户密码
Encrypted password: 7pKen4TpFua3pZBZigJAnAAiRflEzLSTo86sJKStSY8=
The property file is resident at resource file, skip saving password into it
======== Paste following configurations to conf/server.properties ! =======
metaDbPasswd=7pKen4TpFua3pZBZigJAnAAiRflEzLSTo86sJKStSY8=
======== Paste above configurations to conf/server.properties ! =======
from polardbx-sql.
@vettalwu
logs/tddl/meta-db.log
2021-12-01 16:49:00.629 ERROR [TDDL] Failed to init meta db, err is, tddl version: 5.4.12-SNAPSHOT
com.alibaba.polardbx.common.exception.TddlNestableRuntimeException: null
at com.alibaba.polardbx.common.utils.GeneralUtil.nestedException(GeneralUtil.java:221)
at com.alibaba.polardbx.common.model.lifecycle.AbstractLifecycle.init(AbstractLifecycle.java:56)
at com.alibaba.polardbx.gms.metadb.MetaDbDataSource.getInstance(MetaDbDataSource.java:463)
at com.alibaba.polardbx.gms.metadb.MetaDbDataSource.initMetaDbDataSource(MetaDbDataSource.java:489)
at com.alibaba.polardbx.config.loader.ServerLoader.initPolarDbXComponents(ServerLoader.java:207)
at com.alibaba.polardbx.config.loader.ServerLoader.load(ServerLoader.java:181)
at com.alibaba.polardbx.config.loader.ServerLoader.doInit(ServerLoader.java:91)
at com.alibaba.polardbx.common.model.lifecycle.AbstractLifecycle.init(AbstractLifecycle.java:43)
at com.alibaba.polardbx.CobarConfig.initCobarConfig(CobarConfig.java:68)
at com.alibaba.polardbx.CobarConfig.(CobarConfig.java:61)
at com.alibaba.polardbx.CobarServer.(CobarServer.java:141)
at com.alibaba.polardbx.CobarServer.(CobarServer.java:95)
at com.alibaba.polardbx.server.TddlLauncher.main(TddlLauncher.java:82)
Caused by: java.lang.NullPointerException: null
at com.alibaba.polardbx.gms.metadb.MetaDbDataSource.initMetaDbDataSource(MetaDbDataSource.java:179)
at com.alibaba.polardbx.gms.metadb.MetaDbDataSource.doInit(MetaDbDataSource.java:121)
at com.alibaba.polardbx.common.model.lifecycle.AbstractLifecycle.init(AbstractLifecycle.java:43)
... 11 common frames omitted
in MetaDbDataSource metaDbAvailableAddr is null
from polardbx-sql.
@vettalwu logs/tddl/meta-db.log 2021-12-01 16:49:00.629 ERROR [TDDL] Failed to init meta db, err is, tddl version: 5.4.12-SNAPSHOT com.alibaba.polardbx.common.exception.TddlNestableRuntimeException: null at com.alibaba.polardbx.common.utils.GeneralUtil.nestedException(GeneralUtil.java:221) at com.alibaba.polardbx.common.model.lifecycle.AbstractLifecycle.init(AbstractLifecycle.java:56) at com.alibaba.polardbx.gms.metadb.MetaDbDataSource.getInstance(MetaDbDataSource.java:463) at com.alibaba.polardbx.gms.metadb.MetaDbDataSource.initMetaDbDataSource(MetaDbDataSource.java:489) at com.alibaba.polardbx.config.loader.ServerLoader.initPolarDbXComponents(ServerLoader.java:207) at com.alibaba.polardbx.config.loader.ServerLoader.load(ServerLoader.java:181) at com.alibaba.polardbx.config.loader.ServerLoader.doInit(ServerLoader.java:91) at com.alibaba.polardbx.common.model.lifecycle.AbstractLifecycle.init(AbstractLifecycle.java:43) at com.alibaba.polardbx.CobarConfig.initCobarConfig(CobarConfig.java:68) at com.alibaba.polardbx.CobarConfig.(CobarConfig.java:61) at com.alibaba.polardbx.CobarServer.(CobarServer.java:141) at com.alibaba.polardbx.CobarServer.(CobarServer.java:95) at com.alibaba.polardbx.server.TddlLauncher.main(TddlLauncher.java:82) Caused by: java.lang.NullPointerException: null at com.alibaba.polardbx.gms.metadb.MetaDbDataSource.initMetaDbDataSource(MetaDbDataSource.java:179) at com.alibaba.polardbx.gms.metadb.MetaDbDataSource.doInit(MetaDbDataSource.java:121) at com.alibaba.polardbx.common.model.lifecycle.AbstractLifecycle.init(AbstractLifecycle.java:43) ... 11 common frames omitted
in MetaDbDataSource metaDbAvailableAddr is null
pls copy the "metaDbPasswd=7pKen4TpFua3pZBZigJAnAAiRflEzLSTo86sJKStSY8=" to conf/server.properties and restart
from polardbx-sql.
Related Issues (20)
- [WeeklyReport] Weekly report for polardbx-sql 10/23/2023 to 10/30/2023
- [WeeklyReport] Weekly report for polardbx-sql 10/30/2023 to 11/6/2023
- 分表的笛卡尔积SQL改写 HOT 1
- [WeeklyReport] Weekly report for polardbx-sql 11/6/2023 to 11/13/2023
- [WeeklyReport] Weekly report for polardbx-sql 11/13/2023 to 11/20/2023
- K8S operator webhook error x509: certificate is not valid for any names HOT 5
- [WeeklyReport] Weekly report for polardbx-sql 11/20/2023 to 11/27/2023
- [WeeklyReport] Weekly report for polardbx-sql 11/27/2023 to 12/4/2023
- [WeeklyReport] Weekly report for polardbx-sql 12/4/2023 to 12/11/2023
- [WeeklyReport] Weekly report for polardbx-sql 12/11/2023 to 12/18/2023
- [WeeklyReport] Weekly report for polardbx-sql 12/18/2023 to 12/25/2023
- [WeeklyReport] Weekly report for polardbx-sql 12/25/2023 to 1/1/2024
- [WeeklyReport] Weekly report for polardbx-sql 1/1/2024 to 1/8/2024
- Error from server (InternalError): error when creating "polardb-x.yaml": Internal error occurred: failed calling webhook "polardbxcluster-mutate.polardbx.aliyun.com": failed to call webhook: the server is currently unable to handle the request
- [WeeklyReport] Weekly report for polardbx-sql 1/8/2024 to 1/15/2024
- [WeeklyReport] Weekly report for polardbx-sql 1/15/2024 to 1/22/2024
- [WeeklyReport] Weekly report for polardbx-sql 1/22/2024 to 1/29/2024
- [WeeklyReport] Weekly report for polardbx-sql 1/29/2024 to 2/5/2024
- Windows 使用PXD安装PolarDB-X报 '--initialize-insecure']' returned non-zero exit status 1. HOT 14
- 银河麒麟v10启动报错
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from polardbx-sql.