usr bin local sbin

bin、hex、axf和elf文件格式

2023-11-10 https://www.cnblogs.com/NJ-Leon/ 一、概述 bin文件:纯粹的二进制文件,裸机条件下运行的是bin文件。文件本身不包含任何地址信息,烧写bin文件到flash时,必须要指定地址。 hex文件:intel格式文件,它里面除包含精华的bin部分还有地 ......
格式 文件 bin axf hex

CentOS 7.9 防火墙启动报错--Process: 12848 ExecStart=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS (code=exited, status=0/SUCCESS)

原因:配置防火墙策略过程中,多次启停防火墙,导致防火墙启动报错 报错截图: 排查: python版本是一致的,有一个遗留的防火墙进程 防火墙正常关闭后没有这个进程 解决办法: 杀掉这个进程,启动防火墙 ......

mysql log_bin整理

二进制日志记录开关,二进制日志用于记录mysql数据更新的日志文件,对于非变更数据的操作不予记录,比如select、show等。 show variables like 'log_bin'; mysql> show variables like 'log_bin'; + + + | Variable ......
log_bin mysql log bin

/bin/ld: cannot find -lcolamd

001、make编译报错:/bin/ld: cannot find -lcolamd 002、查找该文件 (py38) [root@pc1 Augustus-3.5.0]# find / -name "libcolamd.so" ## 系统上不存在该文件; 那么解决的话就应该安装, 但是安装什么呢? ......
lcolamd cannot find bin ld

/bin/ld: cannot find -lmysqlclient

001、make编译 报错:/bin/ld: cannot find -lmysqlclient 002、查找相关文件 (base) [root@pc1 Augustus-3.5.0]# find / -name *libmysqlclient.so* ## lib + 提示的缺失文件 + .so ......
lmysqlclient cannot find bin ld

python Compile failed: command '/usr/bin/clang' failed with exit code 1 解决办法

一、升级pip pip3 install --upgrade pip 然后,更新设置工具: python3 -m pip install --upgrade setuptools ......
failed Compile command 办法 python

解决nginx: [error] invalid PID number in /usr/local/nginx/logs/nginx.pid

在编辑nginx之后,运行时出现nginx已经在运行,然后输入./nginx -s reload时出现nginx: [error] invalid PID number “” in “/usr/local/nginx/logs/nginx.pid” ,进入对应目录可以看到nginx.pid里是空的, ......
nginx invalid number error local

Can't locate CPAN.pm in @INC (@INC contains: /usr/local/lib64/perl5

001、perl -MCPAN -e shell命令报错: Can't locate CPAN.pm in @INC (@INC contains: /usr/local/lib64/perl5 (以上报错提示没有安装CPAN模块) 002、解决方法 yum -y install perl-CPAN ......
INC contains locate local perl5

生成了文件却还是报错 *** Error: CreateProcess failed, Command: 'scissor "..\OBJ\Acquire.bin" k'

生成文件后提示报错:*** Error: CreateProcess failed, Command: 'scissor "..\OBJ\Acquire.bin" k' 解决办法:去掉Run #2前的勾,或者勾选紫色箭头部分。 ......
quot CreateProcess Command Acquire scissor

在bat中使用 certutil 实现 Hex2Bin 和 Base64 加解密

certutil 是 vista 和 win7 自带自带的外部命令,实际上是用于管理证书的,但也有“歪门邪道”的用法举个例子: @echo off echo 48 65 6C 6C 6F 2C 57 6F 72 6C 64 21 >hex.txt ::生成 hex.txt,机器码对应的内容是 Hal ......
certutil Hex2Bin 2Bin Base Hex2

Git拉取失败 Your local changes would be overwritten by merge.Commit, stash or revert them to proceed.

今天在使用Git pull 代码的时候,出现了这样的问题: Git Pull Failed Your local changes would be overwritten by merge. Commit, stash or revert them to proceed. 这是因为本地有文件改动未提 ......
overwritten changes proceed Commit revert

configure: error: You need zlib >= 1.2.3 to build bin/PopLDdecay

001、问题:configure: error: You need zlib >= 1.2.3 to build bin/PopLDdecay 002、解决方法 yum -y install zlib zlib-devel 003、测试 参考: 01、https://blog.csdn.net/qq ......
PopLDdecay configure build error need

Python打开https链接报错:unable to get local issuer certificate

Python打开https链接报错:unable to get local issuer certificate 或安装Python3.10以上版本,需要openssl 1.1.1以上版本,会导致openssl 下面缺少证书,记录下安装方法 问题描述: 当使用urllib.urlopen打开一个 h ......
certificate 链接 Python unable issuer

启动nginx报错nginx: [emerg] unexpected end of file, expecting "}" in /usr/local/nginx/conf/nginx.conf:

启动nginx报错:“nginx: [emerg] unexpected end of file, expecting “}” in /usr/local/nginx/conf/nginx.conf:118”重启nginx时,报这么个错: [root@localhost conf]# /usr/lo ......
nginx conf quot unexpected expecting

【python】-bash: /usr/local/bin/pip: /usr/bin/python: bad interpreter: No such file or directory的问题解决

安装单独的第三方库时没有问题 pip install pandas但是一旦使用requirement.txt批量安装第三方库时就会出现 -bash: /recorddata/rebuydata/hppy/soft/python3/bin/pip3: /usr/local/source/hppy/so ......
python interpreter bin directory usr

nebula-br local-store 模式,快速搭建主备集群实践

单集群如何快速切换多集群模式?目前,NebulaGraph 集群复制有 3 种方式,如何在当中选中一种合适你的方式来搭建集群呢? ......
集群 local-store nebula-br 模式 nebula

C#中无法将文件“obj\x86\Debug\BookShoopTuto.exe”复制到“bin\Debug\BookShoopTuto

因为任务多开了,数据无法写入也是因为这个 去任务管理区删掉运行的项目就可以了(删掉BookShoopTuto) 参考博客—— https://blog.csdn.net/nxg0916/article/details/126782186 ......
BookShoopTuto Debug 文件 obj exe

在 Python 脚本的第一行使用 #!/usr/bin/env 有什么作用

#!/usr/bin/env 告诉计算机用什么程序执行该脚本。 001、测试两个程序 [root@pc1 test]# ls ## 两个测试程序 test2.py test.py [root@pc1 test]# cat test.py ## 程序1 print('hello world') [ro ......
脚本 一行 作用 Python usr

linux输入yum后提示: -bash: /usr/bin/yum: No such file or directory的解决方法

https://blog.csdn.net/moveym/article/details/125569233 一、首先了解Linux系统下这两个命令的区别 yum: 属于:RedHat系列 常见系统有:Redhat、Centos、Fedora等 apt-get: 属于:Debian系列 常见系统:D ......
directory yum 方法 linux bash

nfs-client-provisioner 启动失败(容器日志:panic: error creating self-signed certificates: mkdir apiserver.local.config: permission denied)

1、NFS服务部署 # cat /etc/exports /data/kubernetes/ *(insecure,rw,sync,no_root_squash) /data/nfs/ *(insecure,rw,sync,no_root_squash) 在node验证nfs服务 # showmou ......

ERROR: Cannot unpack file C:\Users\17482\AppData\Local\Temp\pip-unpack-9g93t3zt\simple.html

ERROR: Cannot unpack file C:\Users\17482\AppData\Local\Temp\pip-unpack-9g93t3zt\simple.html (downloaded from C:\Users\17482\AppData\Local\Temp\pip-req ......
unpack pip-unpack AppData Cannot simple

macos pip3 安装 mycli/scrapy 路径报错 WARNING: The script tabulate is installed in '/Users/modys/Library/Python/3.9/bin' which is not on PATH.

WARNING: The script tabulate is installed in '/Users/modys/Library/Python/3.9/bin' which is not on PATH. python没有添加到环境变量 export PATH=/Users/<you>/Libr ......
路径 installed tabulate WARNING Library

出错/usr/lib64/python2.7/site-packages/pycurl.so: undefined symbol: CRYPTO_num_locks

出错/usr/lib64/python2.7/site-packages/pycurl.so: undefined symbol: CRYPTO_num_locks umerror 在centos上更改python版本之后,出错: 按顺序执行下面的代码: ldd /usr/lib64/python2 ......

SSL certificate problem: unable to get local issuer certificate 错误解决

终端报了如下错误git SSL certificate problem: unable to get local issuer certificate 这个问题是由于没有配置信任的服务器HTTPS验证。默认,cURL被设为不信任任何CAs,就是说,它不信任任何服务器验证。在网上查了很多方法,最终使用 ......
certificate 错误 problem issuer unable

【踩坑】/usr/bin/ld: cannot find -lstdc++: No such file or directory

环境:win10 中的 wsl2 的 Ubuntu 1. 报错 /usr/bin/ld: cannot find -lstdc++: No such file or directory 通过 sudo apt-get install libstdc++6 解决。 2. 安装完之后依旧还是报一样的错 ......
directory cannot lstdc find file

Can't connect to local MySQL server through socket '/tmp/mysql.sock'

Can't connect to local MySQL server through socket '/tmp/mysql.sock' 删除配置文件后重启 service mysql restart root 31619 1 0 14:06 ? 00:00:00 /bin/sh /home/mys ......
39 connect through server socket

mysql log_bin_trust_function_creators

原文链接:https://blog.csdn.net/ayqy42602/article/details/98770328 在本地Mysql中创建函数时,报错如下: this function has none of deterministic ,no sql,or reads sql data i ......

could not chdir to home directory /home/user:permission denied /bin/bash:Permiss 的原因和解决方法

今天在vm上登录一个user 的时候,发现正确输入用户名和密码后弹出了这样的信息,登陆不上. 发现给出的信息中,permission denied 而 bin permiss; 这种情况表明自己给该用户赋予的权限不足导致问题 通过在/home 目录下用ll检查到该用户的user权限是 通过chmod ......
home permission directory 原因 Permiss

BUG:cURL error 60: SSL certificate problem: unable to get local issuer certificate

PHP ssl 证书问题 (我的环境是phpstudy) 解决方案: 1.https://curl.se/docs/caextract.html 打开网址,下载最新PEM 2.将证书放进对应PHP版本extras/ssl 文件里面 3.修改对应版本的PHP.INI 4.重启PHP 问题解决 ......
certificate problem issuer unable error

Unexpected character '=' (code 61); expected a semi-colon after the reference for entity 'useSSL' at [row,col,system-id]: [8,75,"file:/usr/bigdata/hive-3.1.3/conf/hive-site.xml"]

在初始化hive时报错,出现如下问题: 错误原因:hive-site.xml 配置文件中,数据库的地址带有 & 符号。 将数据库地址中的 & 符号调整为 &amp;,详情如下: 再次初始化hive,执行结果如下: ......
39 hive quot Unexpected semi-colon