
error
上官浩仁
简单,快乐。
展开
-
docker pull no matching manifest
环境Linux3.10+,Docker17.03+,CPU(x86_64)操作docker pull arm64v8/istio:1.4现象no matching manifest for linux/amd64 in the manifest list entries原因镜像的Tag不对解决修改tag,以实际镜像和Tag为准如下docker pull...原创 2020-04-23 13:42:44 · 1388 阅读 · 0 评论 -
Fatal Python error: _Py_HashRandomization_Init: failed to get random numbers to initialize Python
环境Linux3.10+,Docker17.06+,Python2.7/3.5+,pip18/20,CPU(国产)操作pip --versionpython xxx 9090现象Fatal Python error: _Py_HashRandomization_Init: failed to get random numbers to initialize Python...原创 2020-04-23 11:54:38 · 5271 阅读 · 4 评论 -
iptables Permission denied (you must be root)
环境Docker容器操作iptables -L现象iptables v版本:can't initialize iptables table `filter': Permission denied (you must be root)原因iptables 必须是root用户执行 iptables 必须在容器的特权模式(privileged)下执行解决运行容器时...原创 2020-04-23 11:13:41 · 12121 阅读 · 1 评论 -
iptables Segmentation fault
现象执行iptables 命令出错iptables -Lsegmentation fault xxxxxx原因iptables 版本和内核不兼容,一般出现在新版的linux系统和Docker容器上,或者升级iptables问题。新版版本包括:Ubuntu18和Debian10说明新版Debian和Ubuntu默认是 iptables-nft# update-...原创 2020-04-22 16:51:27 · 2013 阅读 · 0 评论 -
ld.lld: error: the .gnu.hash section is not compatible
原因:该CPU架构或操作系统不支持此属性(hash-style)解决方案:修改hash-style属性值将--hash-style=gnu 修改为--hash-style=sysv注: 修改文件中所有的hash-style可以通过grep 和 find 查找,然后修改,太多就用sed或ctrl+H如:grep -R "hash-style" `find -na...原创 2020-04-03 10:58:11 · 943 阅读 · 0 评论 -
yarn Error: spawn ps ENOENT spawn XXX ENOENT
yarn 编译 js项目时报错,出现Error: spawn XXX ENOENT,如 Error: spawn ps ENOENT原因一:没有相应的指令举例:spawn ps ENOENT没有ps指令,安装ps即可,没有什么指令安装什么指令如:Ubuntu安装ps指令apt-get update && apt-get -y install proc...原创 2020-04-02 15:17:54 · 1551 阅读 · 0 评论 -
Python OSError: [Errno 8] Exec format error
format error格式错误,不同操作系统程序调用Linux 调用Windows系统程序; Centos系统程序调用Ubuntu系统程序,原则同CPU架构二进制文件可以调用。不同CPU架构程序调用amd64 CPU架构调用 arm64的程序uname -mfile 二进制文件OSError: [Errno 8] Exec format error其他CPU架构...原创 2020-03-12 15:36:10 · 3296 阅读 · 0 评论 -
ninja: error: manifest ‘build.ninja’ still dirty after 100 tries
查看具体原因ninja -C out/ -d explain注:out为build.ninja存放文件夹如果是以下错误ninja: error: manifest ‘build.ninja’ still dirty after 100 triesoutput build.ninja older than most recent input ../build/gen.py (1...原创 2020-03-12 15:17:26 · 8950 阅读 · 2 评论 -
Assembler messages error gcc and clang build
Assembler 错误Assembler messages,除了自己写的汇编程序会报 Assembler Error外;编译GCC、Clang等公开的计算机语言,也会报此错误。自己的汇编修改自己程序代码编译GCC、Clang等查看汇编相关版本as --version低版本的汇编编译器,编译高版本gcc或者clang出现Assembler messages erro...原创 2020-03-11 10:31:10 · 8218 阅读 · 0 评论