• 蓝鲸安装失败


    一、pip install (--no-cache-dir --no-index --find-links=/data/src/bkdata/support-files/pkgs) for bkdata-dataapi. FAILED

    1.pip离线包缺失

        ----------------------------------------
    Command "/data/bkce/.envs/bkdata-dataapi/bin/python -u -c "import setuptools, tokenize;__file__=‘/tmp/pip-build-p2tIJ_/MySQL-python/setup.py‘;f=getattr(tokenize, ‘open‘, open)(__file__);code=f.read().replace(‘
    ‘, ‘
    ‘);f.close();exec(compile(code, __file__, ‘exec‘))" install --record /tmp/pip-tuKR0S-record/install-record.txt --single-version-externally-managed --compile --install-headers /data/bkce/.envs/bkdata-dataapi/include/site/python2.7/MySQL-python" failed with error code 1 in /tmp/pip-build-p2tIJ_/MySQL-python/
    [10.1.0.107]20200310-161332 177   pip install (--no-cache-dir --no-index --find-links=/data/src/bkdata/support-files/pkgs) for bkdata-dataapi.  FAILED
    

     

    2.离线安装

    /data/bkce/.envs/paas_agent/bin/pip install -r /data/src/paas_agent/paas_agent/requirements.txt --no-index --find-links=/data/src/paas_agent/support-files/pkgs/
    把离线包安上
    vim  /data/bkce/paas_agent/paas_agent/etc/paas_agent_config.yaml 
     EXECUTE_TIME_LIMIT: 3000  
    
    ln -s /usr/lib64/mysql/libmysqlclient_r.so /usr/lib/libmysqlclient_r.so
    ln -s /usr/lib64/mysql/libmysqlclient.so /usr/lib/libmysqlclient.so
    ln -s /usr/lib64/mysql/libmysqlclient.so.18 /usr/lib/libmysqlclient.so.18
    ln -s /usr/lib64/mysql/libmysqlclient.so.18.0.0 /usr/lib/libmysqlclient.so.18.0.0
    
    yum install -y snappy-devel
    

      

    二、Deploy saas bk_monitor failed.

    ./bkcec stop paas
    ./bkcec upgrade paas
    ./bkcec start paas
    再次执行部署 saas
    ./bkcec install saas-o
    

      

    各种报错参考文档

    https://bk.tencent.com/docs/document/5.1/10/248

  • 相关阅读:
    [转载红鱼儿]delphi 实现微信开发(1)
    Devexpress VCL Build v2013 vol 14.1.3 发布
    [翻译]LSP程序的分类
    睡眠不好
    LuaStudio 9.27 去10分钟退出暗桩板
    vs2012 提示 未能正确加载 "Visual C++ Language Manager Package" 包 的解决办法
    岁月蹉跎
    重新安装系统之前备份
    运动会
    乱思
  • 原文地址:https://www.cnblogs.com/xysr-tom/p/13601082.html
Copyright © 2020-2023  润新知