Comments (10)
安装目录下面的deploy.yaml,把yum里面的列表删掉,手动安装里面的依赖,然后再执行部署就可以了。
这周我们会发布新版本修复这个bug
from arkcontrol.
好的,我把yum里面的包都删除了,现在又无限循环报这样的:
- 开始安装Yum依赖...
- 开始安装pt工具...
安装percona-toolkit-3.0.4失败: error:exit status 127 stdout: stderr:sh: sudo: command not found
from arkcontrol.
上面的报错,安装 sudo 包解决了。
现在又开始报错:
- 开始安装Arkcontrol所需配置库...
exit status 1 error:exit status 1 stdout: stderr:/opt/ark/arkdb/scripts/mysql_install_file: line 6: USER: unbound variable
请问这种报错又是什么原因呢
from arkcontrol.
是root用户安装的吗
from arkcontrol.
对,是root安装的
from arkcontrol.
检查一下这个文件的第6行,或者用root手动运行一下,看看有没有报错
from arkcontrol.
手动执行还是报错:
line 6: USER: unbound variable
这个文件是这样的逻辑:
6 if [ $USER != 'root' ]; then
7 echo "Please run in as the root."
8 exit 1
9 fi
我看了系统环境配置,$USER的值就是root,应该不会没获取啊
from arkcontrol.
这个就不太好定位了。。。。要不您手动拷贝一下这个文件的前几行,然后复制到另外一个文件,简单执行一下调试一下?可能跟机器环境有关,我们没有办法访问您的机器,不好定位什么问题
from arkcontrol.
嗯,好的,我加了个系统env ,指定了suer变量,现在可以往下走了,但是es这一块就报错了
- 开始初始化配置库
- 配置库初始化成功
- 配置监控...可能需要较长时间,请耐心等待
-- 开始配置elasticsearch...
es deploy: exit status 255
exit status 255
安装已结束,自动退出...
time="2018-11-23T04:44:51Z" level=info msg="write config success!" source="services/service.go:178"
time="2018-11-23T04:44:51Z" level=info msg="es install path: /data/Arkcontrol/software, es-5.6.9" source="es/step.go:184"
time="2018-11-23T04:44:51Z" level=debug msg="wait es starting: Get http://192.168.0.149:9202/_cluster/health: dial tcp 192.168.0.149:9202: connect: connection refused" source="es/step.go:196"
time="2018-11-23T04:44:51Z" level=debug msg="wait es starting: unexpected end of JSON input" source="es/step.go:201"
time="2018-11-23T04:45:01Z" level=error msg="init system properties failed, error:exit status 255 stdout: stderr:sysctl: setting key "vm.max_map_count": Read-only file system\n" source="es/step.go:35"
time="2018-11-23T04:45:01Z" level=error msg="es deploy: exit status 255" source="monitor/deploy.go:24"
time="2018-11-23T04:45:01Z" level=error msg="exit status 255" source="services/service.go:121"
time="2018-11-23T04:45:01Z" level=info msg="Clean MySQL dir" source="services/service.go:432"
time="2018-11-23T04:45:04Z" level=warning msg="exit status 1 error:exit status 1 stdout: stderr:sudo: pam_open_session: Permission denied\nsudo: policy plugin failed session initialization\n" source="services/service.go:439"
time="2018-11-23T04:45:04Z" level=info msg="http: Server closed" source="ark-control-init/deploy_server.go:90"
from arkcontrol.
上面选择的是新建es,
重新安装,我选择已存在es,又报错 了
-- 开始配置elasticsearch...
es deploy: 检测到es进程已经存在,但是安装目录不存在,是否为僵尸进程?请清理,目录:/data/Arkcontrol/software/es-5.6.9
检测到es进程已经存在,但是安装目录不存在,是否为僵尸进程?请清理,目录:/data/Arkcontrol/software/es-5.6.9
安装已结束,自动退出...
from arkcontrol.
Related Issues (20)
- 安装插件 arkit.so 失败 HOT 8
- Error 6986: License is invalid or expire, this product is disabled, please check and update the license. HOT 1
- sql工单执行一直显示执行中
- 修改安装目录失败 HOT 10
- 请问什么时候能够支持RedHat和Oracle Linux呀?有计划么? HOT 2
- inception HOT 1
- 实例删除失败 HOT 1
- 提示安装成功,登陆提示 “Login failed.” HOT 1
- SQL 管控模块中的sql 语法检查以及sql审核等都报错:License is invalid or expire, this product is disabled, please check and update the license." source="services/arkit_plugin_service.go:131" HOT 1
- 这个以后会收费吗 HOT 1
- 如何启动关闭ark_control 文件夹中文档没找到 HOT 1
- 账户权限设置不灵活,没法动态设置指定账户权限
- 解压依赖包出错执行命令sudo tar -zxvf /data/agent_deploy.tar.gz -C /data出现错误Process exited with status 2
- 主机录入时,agent无法启动
- 账户注册后登录失败
- 部署中心一直为运行中的状态,如何定位? HOT 1
- SQL语法检查不了 , 是我的部署有问题吗
- 主机录入不支持秘钥 HOT 1
- 注册用户无法登陆 HOT 1
- 可以离线部署主从mysql吗
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 arkcontrol.