![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
报错
看着博客敲代码
Efforts!!!! The young.
展开
-
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in D:\phpstudy_pro\WWW\sqli-
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in D:\phpstudy_pro\WWW\sqli-labs\sql-connections\setup-db.php:29 Stack trace: #0 {main} thrown in D:\phpstudy_pro\WWW\sqli-labs\sql-connections\setup-db.php on line 29phpstudy安装sqli-l原创 2024-01-25 21:44:39 · 1428 阅读 · 0 评论 -
Traceback (most recent call last): File “<stdin>“, line 1, in <module> ModuleNotFoundError: No mod
(如果系统中同时安装了Python2和Python3,需要使用pip3来代替pip。ModuleNotFoundError: No module named ‘模块名’这个错误表示你的计算机上没有安装“模块名”模块。你可以通过以下命令安装模块。原创 2023-08-01 17:00:42 · 6410 阅读 · 0 评论 -
Restarting sshd (via systemctl): Job for sshd.service failed because the control process exited wit
Restarting sshd (via systemctl): Job for sshd.service failed because the control process exited with error code. See “systemctl status sshd.service” and “journalctl -xe” for details.升级openssh后重启sshd服务报错报错信息如下通过/usr/sbin/sshd -T命令查看发现是权限问题。/usr/sbin/s原创 2022-03-07 15:17:49 · 5783 阅读 · 2 评论 -
xshell导出脚本和文件 (sh命令运行的时候会报最后一行有错误 ./执行的时候会报错误的解释器)
xshell导出脚本和文件 (sh命令运行的时候会报最后一行有错误 ./执行的时候会报错误的解释器)有很多时候在Linux中写好的shell脚本写完以后直接复制出来 等到用的时候它就会报错 sh命令运行的时候会报最后一行有错误 用./执行的时候会报错误的解释器什么的 这个问题主要的原因是脚本是复制到Windows的 而不是导出到Windows电脑 Windows和Linux存在一定的差异 下面是解决方法第一步先查看lrzsz 有的话直接执行第三步 没有的话执行第二步第二步使用yum进行安装原创 2020-10-19 10:27:35 · 1490 阅读 · 0 评论 -
suse报:passwd: Module is unknown passwd: password unchanged 或 passwd: Permission denied
passwd: Module is unknown passwd: password unchanged用户更改密码报错linux-1jo3:~ # passwd passwd: Module is unknownpasswd: password unchanged打开/etc/pam.d/passwd 或者 common-password 排查有没有调用SUSE不支持的模块如图:红框中的模块在SUSE操作系统中不支持,导致更改密码报模块错误,只需要注释掉这行就可以了更改了。一般出现在安全原创 2021-12-20 10:29:05 · 4213 阅读 · 0 评论 -
Linux 用户更改密码报Changing password for user 用户名. passwd: Module is unknown
Linux 更改用户密码报passwd: 模块未知 或更改新增用户密码passwd:未知的用户名报错信息如图:这个错误一般是密码模块问题,调用不到模块信息或者是模块信息不存在;可以排查 /etc/pam.d/passwd配置文件注释掉包含pam_passwdqc.so模块的行,然后再次尝试更改密码。现在可以正常修改了。......原创 2021-12-20 10:05:58 · 9810 阅读 · 4 评论 -
zmalloc.h:50:31: 致命错误:jemalloc/jemalloc.h:没有那个文件或目录 #include <jemalloc/jemalloc.h>
zmalloc.h:50:31: 致命错误:jemalloc/jemalloc.h:没有那个文件或目录#include <jemalloc/jemalloc.h>^编译中断。make[1]: *** [adlist.o] 错误 1make[1]: 离开目录“/usr/local/redis/redis-3.2.11/src”make: *** [all] 错误 2解决办法make MALLOC=libc......原创 2021-10-09 14:46:56 · 549 阅读 · 0 评论 -
kali镜像源报签名无效
在配置kali的网络源的时候,把网络源的实在地址写到配置文件之后执行apt-get update报签名无效和没有数字签名,然后在命令行输入wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add在执行apt-get update就可以了apt-get update......原创 2021-06-09 22:04:54 · 1163 阅读 · 0 评论 -
linux所有命令都无法使用
linux所有命令都无法使用,只能使用cd命令,那么极大可能就是环境变量的问题,如果过你近期动过环境变量那就查环境变量就行。首先cd是仍然可以使用的,那我们切换到/bin目录下cd /bin,现在命令都可以使用了,我们使用./sudo su获取root权限,现在在/bin目录下命令是可以使用的了 然后在更改环境变量就可以,vi /etc/profile 更该完成后使用source /etc/profile重新生效一下环境变量就可以了,重新打开一个终端试一下,......原创 2021-06-01 14:40:04 · 5530 阅读 · 8 评论 -
SSH更改端口后sshd服务无法重启问题解决
更改完sshd服务端口后报错无法重启[root@localhost ~]# systemctl restart sshdJob for sshd.service failed because the control process exited with error code. See "systemctl status sshd.service" and "journalctl -xe" for details.查看状态,查看报错原因[root@localhost ~]# systemctl s原创 2021-05-19 10:27:30 · 8194 阅读 · 0 评论 -
suse连不上xshell
Linux suse 新机连不上xshell,或其他连接工具,原因是没有关闭防火墙,没有开启sshd服务。一、关闭防火墙linux-1jo3:~ # systemctl stop SuSEfirewall2.service linux-1jo3:~ # systemctl stop SuSEfirewall2_init.servicelinux-1jo3:~ # systemctl disable SuSEfirewall2.service Removed symlink /etc/systemd原创 2021-03-18 09:48:23 · 632 阅读 · 1 评论 -
执行sudo报错:sudo: error in /etc/sudo.conf, line 19 while loading plugin “sudoers_policy“报错解决
执行sudo报无法打开共享对象文件libssl.so.10,问题解决。sudo: error in /etc/sudo.conf, line 19 while loading plugin “sudoers_policy”sudo: unable to load /usr/libexec/sudo/sudoers.so: libssl.so.10: cannot open shared object file: No such file or directorysudo: fatal error, u原创 2021-02-18 11:16:32 · 7164 阅读 · 1 评论 -
kali Linux theharvester 报The command theharvester is deprecated. Please use theHarvester instead. 解决
报The command theharvester is deprecated. Please use theHarvester instead. 解决执行theharvester命令后报The command theharvester is deprecated. Please use theHarvester instead.这个就是theharvester命令不能用了。用 theHarvester就好了。把H改为大写就好了......原创 2021-01-19 15:34:26 · 2122 阅读 · 0 评论 -
服务器临时解决yum卡死不可用问题
服务器临时解决yum不可用问题问题原因——yum命令卡死,rpm命令正常使用 。采用重置rpm库没能解决环境配置:(需要一台可联网,且yum正常的服务器。–能够相互通信最好,可直接scp.)安装yum-utilsyum -y install yum-utils以安装 zlib zlib-devel 为例,下载路径会自动创建,不用手动创建。yumdownloader --destdir /opt/rpm/ --resolve zlib zlib-develyumdownloader --原创 2021-01-15 17:36:12 · 1060 阅读 · 0 评论 -
升级完openssh版本后 xshell连接报错 提示“服务器发送了一个意外的数据包。Received:3,expected:20” 问题解决
升级完openssh版本后 xshell连接报错 提示“服务器发送了一个意外的数据包。Received:3,expected:20”如下图修改配置文件 /etc/ssh/sshd_config 在最后一行添加下列密钥vi /etc/ssh/sshd_config最后一行添加KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellm原创 2020-12-30 20:44:09 · 1535 阅读 · 1 评论 -
执行./configure:报configure: error: *** working libcrypto not found, check config.log报错解决
执行./configure:报configure: error: *** working libcrypto not found, check config.log报错解决原因是openssl问题,可以装一个新版本来解决下载一个新版本的上传到服务器# tar zxf openssl-***.tar.gz # cd openssl-1.1.1g# ./config --prefix=/usr/ --shared# make# make test# make install# ln -sf /原创 2020-11-18 11:30:45 · 15472 阅读 · 0 评论 -
执行./configure: 报configure: error: *** zlib.h missing - please install first or check config.log 报错解决
configure: error: *** zlib.h missing - please install first or check config.log ***原因是缺少 zlib有yum源的直接执行# yum -y install zlib zlib-devel没有yum源的可以直接在网上下载zlib的压缩包# tar zxf zlib***.tar.gz# cd zlib-***/# ./configure# make test# make install# make cle原创 2020-11-18 11:19:21 · 21446 阅读 · 0 评论 -
执行./configure: 报WARNING: unrecognized checking for cc... no checking for gcc... no 报错解决
configure: WARNING: unrecognized options: --*******************checking for cc… nochecking for gcc… noLinux执行./configuer 编译命令报configure: WARNING: unrecognized options: --*****************checking for cc… nochecking for gcc… no原因是缺少gcc 编译环境有yum源的直接执行原创 2020-11-10 14:53:22 · 9390 阅读 · 0 评论