GithubHelp home page GithubHelp logo

Comments (10)

running-tomato avatar running-tomato commented on June 29, 2024

安装目录下面的deploy.yaml,把yum里面的列表删掉,手动安装里面的依赖,然后再执行部署就可以了。
这周我们会发布新版本修复这个bug

from arkcontrol.

YouDail avatar YouDail commented on June 29, 2024

好的,我把yum里面的包都删除了,现在又无限循环报这样的:

  • 开始安装Yum依赖...
  • 开始安装pt工具...
    安装percona-toolkit-3.0.4失败: error:exit status 127 stdout: stderr:sh: sudo: command not found

from arkcontrol.

YouDail avatar YouDail commented on June 29, 2024

上面的报错,安装 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.

running-tomato avatar running-tomato commented on June 29, 2024

是root用户安装的吗

from arkcontrol.

YouDail avatar YouDail commented on June 29, 2024

对,是root安装的

from arkcontrol.

running-tomato avatar running-tomato commented on June 29, 2024

检查一下这个文件的第6行,或者用root手动运行一下,看看有没有报错

from arkcontrol.

YouDail avatar YouDail commented on June 29, 2024

手动执行还是报错:
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.

running-tomato avatar running-tomato commented on June 29, 2024

这个就不太好定位了。。。。要不您手动拷贝一下这个文件的前几行,然后复制到另外一个文件,简单执行一下调试一下?可能跟机器环境有关,我们没有办法访问您的机器,不好定位什么问题

from arkcontrol.

YouDail avatar YouDail commented on June 29, 2024

嗯,好的,我加了个系统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.

YouDail avatar YouDail commented on June 29, 2024

上面选择的是新建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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.