蓝鲸安装失败

Posted hixiaowei

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了蓝鲸安装失败相关的知识,希望对你有一定的参考价值。

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

3.https://bk.tencent.com/docs/document/5.1/20/635?r=1    参考

 

以上是关于蓝鲸安装失败的主要内容,如果未能解决你的问题,请参考以下文章

蓝鲸-监控 排错思路

Centos 7 搭建蓝鲸3.1.5社区办

蓝鲸智云社区版安装

蓝鲸智云社区版安装部署和卸载

蓝鲸社区版4.0集成安装心得

Centos 7 搭建蓝鲸V4.1.16社区版