zoukankan      html  css  js  c++  java
  • 重启部署在阿里云上的huginn

    背景,因为重新编译安装了gcc,不知怎么服务器上的huginn就停了,


    因为之前是安装在docker上的,服务器重启之后需要:
    1、启动docker
    service docker start
    2、命令创建huginn就行了,启动之后会看到一些监控开始跑了,命令不会自动结束,
    docker run -it -p 3000:3000 cantino/huginn

    执行到最后不是服务开始,而是类似这样:
    The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
    注意此时进程并没有停止,等待它下载文件解决一些依赖问题,等一会儿它会自动下载一些文件,
    之后就启动了,

    3、后续重启

    为了以防万一还是建议在停掉huginn之前还是备份一下创建的那些agent吧,不然要是真恢复不了,可就得从头来过了,

    建议任何重启最好还是手动去停掉这个容器,

    docker stop cid

    再通过命令启动

    docker start cid

    亲测这样的确可以正常恢复,

    参考链接:https://dj9399.github.io/post/%E9%83%A8%E7%BD%B2Huginn/

    2019-3-9 17:48:23更新

    又停了一次,没想到吧,这次是因为内存不足导致进程被内核杀掉了,

  • 相关阅读:
    UNIX常用shell
    exit函数
    linux消息队列
    互斥量
    RCS版本控制
    linux samba
    UML建模
    linux syslog
    python基础-列表List及内置方法
    仿美团详情页与购物车源码-详情页
  • 原文地址:https://www.cnblogs.com/1394htw/p/9866165.html
Copyright © 2011-2022 走看看