Comments (9)
你是用的 ./metaserver.sh start 启动的吗?有个start
from qmq.
你是用的 ./metaserver.sh start 启动的吗?有个start
是的
from qmq.
能把完整的报错信息贴一下吗
from qmq.
麻烦提供一些环境信息:
- 执行命令时的操作系统及版本
- 运行的是qmq的哪个release版本
from qmq.
能把完整的报错信息贴一下吗
操作系统:MacOS High Sierra Java: Java version "1.8.0_171"
qmq v1.1.0
运行的是qmq-dist/bin/metaserver.sh start
from qmq.
https://gist.github.com/keliwang/c4138084aa8822166f1ca198fe476d2b
先用上面的脚本替换下本地的metaserver.sh
,然后执行./metaserver.sh print-cmd
,再执行下输出的命令,看看能不能成功。print-cmd
的结果麻烦也发一下。
from qmq.
@wangxiaofeng0010 你这个还有问题吗?
from qmq.
不好意思,最近有些忙,我刚才试了一下
- git clone 项目
- 初始化init.sql
- 修改datasource.properties
- 切换到qmq/qmq-dist/bin下执行metaserver.sh执行,qmq/qmq-dist/ 下生成log文件夹,内容为运行metaserver.sh错误: 找不到或无法加载主类 qunar.tc.qmq.meta.startup.Bootstrap
- 将metaserver.sh内容改为 https://gist.github.com/keliwang/c4138084aa8822166f1ca198fe476d2b ,执行./metaserver.sh print-cmd,terminal打印出的内容:"java" -cp "/Users/test/git/qmq/qmq-dist/bin/../lib/*:/Users/test/git/qmq/qmq-dist/bin/../conf" -Xms1g -Xmx1g -DQMQ_LOG_DIR=/Users/test/git/qmq/qmq-dist/bin/../logs qunar.tc.qmq.meta.startup.Bootstrap > "/Users/test/git/qmq/qmq-dist/bin/../logs/metaserver.out" 2>&1 < /dev/null ,日志内容:是找不到或无法加载主类 qunar.tc.qmq.meta.startup.Bootstrap
from qmq.
@wangxiaofeng0010 在另外一个人碰到和你相同问题之后,终于搞明白你这个问题产生的原因了。你是从源代码构建得到输出,而不是使用我们提供的编译包,然后你运行的时候是使用qmq-dist/bin目录下的命令运行,而不是使用 qmq-dist/target下你编译输出里的东西运行
from qmq.
Related Issues (20)
- 1.1.30 版本中非Spring环境手动pull时 空指针异常 HOT 1
- Cross-Site Scripting: Reflected
- There is a vulnerability in Apache Tomcat 7.0.30,upgrade recommended
- There is a vulnerability in Spring Framework 4.2.3.RELEASE,upgrade recommended
- There is a vulnerability in Apache Commons Collections 3.2.1 ,upgrade recommended
- There is a vulnerability in jackson-databind 2.9.9,upgrade recommended
- There is a vulnerability in Simple Logging Facade for Java (SLF4J) 1.7.25,upgrade recommended
- There is a vulnerability in Jetty: Java based HTTP/1.x, HTTP/2, Servlet, WebSocket Server 9.4.17.v20190418,upgrade recommended
- There is a vulnerability in MySQL Connector/J 5.1.39,upgrade recommended
- 运行qmq-demo控制台报错【meta server return empty broker】 HOT 7
- 咨询! HOT 1
- QMQ 跨地域复制方案 HOT 1
- 请教下consumer扩容的问题 HOT 2
- 贵司Q三剑客-QScheduler有没有开源计划 HOT 1
- QMQ版本计划 HOT 1
- init.sql 缺少字段,本地代码启动报错 HOT 2
- 有k8s部署方案吗
- centos系统日志框架堆栈溢出
- 同一个消费者组的多个实例 并发拉取消息时,是否存在重复消费的问题?
- [want] Go语言支持
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 qmq.