实验报错集合(已解决)
一些实验的经典报错
Chensay.
这个作者很懒,什么都没留下…
展开
-
FTP客户端登录报错:Login failed
FTP客户端登录报错:Login failed是selinux的问题,一般用户无法登录用户主目录[root@chenshuyi ~]# setsebool -P tftp_home_dir 1原创 2023-07-26 23:17:53 · 645 阅读 · 0 评论 -
samba挂载报错“mount error(13): Permission denied“
环境:CentOS7。原创 2023-07-25 13:23:56 · 780 阅读 · 0 评论 -
【已解决】IdeaJ连接数据库报错:Loading class `com.mysql.jdbc.Driver‘.
PS:版本5的driverClassName=com.mysql.jdbc.Driver;假设1、驱动版本不对应,数据库的版本是Mysql5,而jar包用的是8版本;环境:Windows10、MySQL5.6、IdeaJ、JDK1.8。有人说是因为版本8可以兼容,但也有人说版本不兼容;假设2、8版本能够兼容,那么就是配置文件出现错误。解决操作:换与mysql版本号对应的jar包。验证:加入版本5jar包。原创 2023-06-15 14:22:59 · 178 阅读 · 0 评论 -
【已解决】“Matplotlib is currently using agg, which is a non-GUI backend”
根据报的错,agg存在问题,那我们就安装使用另外一个图形化PyQt5开发库。模块安装没有问题,使用查看图像的方法是plt.show()PS:如果没有,请在前面导入以下包。原创 2023-06-15 04:42:22 · 1184 阅读 · 0 评论 -
已解决:openstack:上传glance镜像报错:“500 Internal Server Error”
500 Internal Server Error: The server has either erred or is incapable of performing the requested operation. (HTTP 500)glance配置文件没有问题端口以及服务没有问题数据库用户没有问题但报错!!!事已至此,那就先看看报错日志怎么说吧[root@chensyk ~]# cd /var/log/glance[root@chensyk glance]# lltotal 60原创 2021-04-13 16:32:02 · 6328 阅读 · 1 评论 -
K8S启动etcd报错:“request sent was ignored”(已解决)
K8S配置完etcd后无法启动环境:CentOS7、docker已安装[root@Master ~]# yum install -y kubernetes-master etcd #安装命令启动时报错[root@Master ~]# systemctl start etcdJob for etcd.service failed because a timeout was exceeded. See "systemctl status etcd.原创 2021-09-16 14:57:29 · 1619 阅读 · 1 评论 -
vsftpd报错:530 Permission denied/Login incorrect 500 oops could not read chroot() list file
vsftp:530 Permission denied打开主配置文件userlist_enable=NO #将Yes改为NO重启vsftp[root@chenshuyi vsftpd]# systemctl restart vsftpd客户端重新连接,再次报错(530 Login incorrect)很多资料都是将目的是让其找不到ftp文件然后绕过PAM我们先去看看/etc/pam.d/vsftpd文件①auth required pam_shells原创 2021-04-11 11:32:14 · 2406 阅读 · 0 评论 -
已解决:linux客户端连接ftp服务器报错:ftp command not found
已解决:linux客户端连接ftp服务器报错:ftp command not found安装搭建好ftp服务器,在连接的时候报错????♀️:[root@chenshuyi network-scripts]# ftp 1.1.1.2-bash: ftp: 未找到命令就是这么直给的答案,竟然找了这么久,没有这个命令就是因为没安装呗,装它试试????[root@chenshuyi network-scripts]# yum install -y ftp是的连上了✔...原创 2021-04-10 11:07:46 · 5527 阅读 · 0 评论 -
MapReduce开发程序调试报错:org.apache.hadoop.fs.FileAlreadyExistsException: Parent path is not a directory:/t
已解决:org.apache.hadoop.fs.FileAlreadyExistsException: Parent path is not a directory: /tmp hadoop-yarnhadoop大数据MapReduce开发Java程序没有问题,hdfs和yarn进程也没有问题,目录文件没有问题,在调试程序报错:删除该报错文件[root@chensy software]# hadoop fs -rm -r -skipTrash /tmpDeleted /tmp已解原创 2021-04-08 11:38:26 · 1556 阅读 · 0 评论 -
已解决:openstack访问RabbitMQ,报错“Not management user”
已解决:openstack访问RabbitMQ,报错“Not management user”该用户没有管理员权限,可以换管理员登录[root@chensyk ~]# rabbitmqctl list_users #可查看用户列表,找到管理员。若希望是用自建用户登录,可给自建用户管理员权限rabbitmqctl set_user_tags 用户名 administrator加密码再次登录...原创 2021-03-26 11:33:29 · 903 阅读 · 0 评论 -
已解决:Hadoop启动HDFS时,丢失Namenode/Datanode。
已解决:Hadoop启动HDFS时,丢失namenode进程。There appears to be a gap in the edit log. We expected txid 1, but got txid 102.[root@chensy logs]# hadoop namenode -recover #也许是namenode数据元丢失DEPRECATED: Use of this script to execute hdfs command is deprecated.Instead原创 2021-03-25 11:34:20 · 1095 阅读 · 0 评论 -
[email protected]‘s password: Access denied
解决:ssh连接出现 [email protected]’s password:Access denied在网卡没有问题的情况下,依旧连接不上远程工具注意没有#号的地方改完后,重启sshd服务/etc/rc.d/init.d/ssh restart最后MobaXterm和X shell就连接上服务器了...原创 2021-03-09 16:40:13 · 2431 阅读 · 0 评论 -
解决:502 Bad Gateway nginx/1.14.2
浏览器访问服务器时报错:502 Bad Gateway nginx/1.14.2实验环境:与该实验一致,也就是实验一开始时通的状态,以及nginx配置也没有问题,重启nginx下依旧报错。查Tomcat运行状况[root@qmfz sbin]# ps -ef|grep tomcatroot 3310 3259 0 11:14 pts/1 00:00:00 grep --color=auto tomcat是没有问题的,若出现多个Tomcat需要kill死多余的,若Tomc原创 2021-01-23 11:27:11 · 2075 阅读 · 0 评论 -
解决:Job for nginx.service failed because the control process exited with error code
解决启动nginx时报错“Job for nginx.service failed because the control process exited with error code”在安装完nginx时启动[root@qmfz nginx]# systemctl start nginxJob for nginx.service failed because the control process exited with error code. See "systemctl status ngi原创 2021-01-20 12:40:38 · 2855 阅读 · 1 评论 -
clnt_create: RPC: Port mapper failure - Unable to receive: errno 113 (No route to host)
解决:clnt_create: RPC: Port mapper failure - Unable to receive: errno 113 (No route to host)实验环境:centos7。实验目的:NFS 存储部署。[root@oVirt-Engine ~]# showmount -e 192.168.10.132clnt_create: RPC: Port mapper failure - Unable to receive: errno 113 (No route to hos原创 2020-12-24 11:29:02 · 12123 阅读 · 3 评论