Opentsdb 启动显示配置文件不存在
2016-05-10 19:49
281 查看
今天 重新启动opentsdb 出现本地配置文件不存在 这不知道 我查了一下官网 了解到
You can use the
这个大致意思就是 你要去写配置文件 否则,如果没有指定,opentsdb和一些命令行工具将尝试寻找一个有效的配置文件的位置:
./opentsdb.conf
/etc/opentsdb.conf
/etc/opentsdb/opentsdb.conf
/opt/opentsdb/opentsdb.conf
于是我就在 建立了/opt/opentsdb/opentsdb.conf 文件 并对文件进行了配置 启动时候 显示 staticroot 文件不存在 但是目录下就有该文件
于是我把又在官网了解到 可以在配置文件中配置staticroot 文件的路径 于是我配置该文件
tsd.network.port = 4242
tsd.http.staticroot =build/staticroot
tsd.http.cachedir = /tmp/tsd
tsd.core.auto_create_metrics = true
tsd.storage.hbase.zk_quorum =192.168.12.62,192.168.12.63,192.168.12.64
tsd.http.staticroot=/usr/app/opentsdb-2.2.0/build/staticroot
这时候opentsdb 又可以重新启动了
You can use the
--configcommand line argument to specify the full path to a configuration file. Otherwise if not specified, OpenTSDB and some of the command-line tools will attempt to search for a valid configuration file in the following locations:
这个大致意思就是 你要去写配置文件 否则,如果没有指定,opentsdb和一些命令行工具将尝试寻找一个有效的配置文件的位置:
./opentsdb.conf
/etc/opentsdb.conf
/etc/opentsdb/opentsdb.conf
/opt/opentsdb/opentsdb.conf
于是我就在 建立了/opt/opentsdb/opentsdb.conf 文件 并对文件进行了配置 启动时候 显示 staticroot 文件不存在 但是目录下就有该文件
于是我把又在官网了解到 可以在配置文件中配置staticroot 文件的路径 于是我配置该文件
tsd.network.port = 4242
tsd.http.staticroot =build/staticroot
tsd.http.cachedir = /tmp/tsd
tsd.core.auto_create_metrics = true
tsd.storage.hbase.zk_quorum =192.168.12.62,192.168.12.63,192.168.12.64
tsd.http.staticroot=/usr/app/opentsdb-2.2.0/build/staticroot
这时候opentsdb 又可以重新启动了
相关文章推荐
- 在Linux下利用crond实现一个定时任务并完成一个守护(精灵)进程
- linux 内存管理qqq
- Red Hat Enterprise Linux 7 重置root密码
- LVS+Keepalived+Nginx+Tomcat部署实现
- Linux驱动开发之 六 (那些必须要了解的硬件知识 之 仪器篇)
- linux之CentOS将普通的命令加入环境变量
- shell浅谈之二运算符和IF条件判断
- webshell智能查杀
- Jenkins+Extended Choice Parameter+Shell脚本+Gradle构建不同环境下的发布版本(测试环境,生产环境等等)
- Nginx try_files
- Servlet3.0注解为什么使用不了?及配置多个Tomcat
- 《大型网站技术架构--核心原理与案例分析》学有所得
- Linux 之rsyslog+LogAnalyzer 日志收集系统
- 安装arm-linux-gcc-4.4.3
- nginx配置alias和root的区别
- 通过boundingRectWithSize:options:attributes:context:计算文本尺寸
- nginx php-fpm 小VPS 优化
- Linux操作系统几个常用知识点
- OpenCv训练降低CPU占用率
- 嵌入式linux-dropbear连接时重复输入密码