那些年我们遇到的Bug
旧城以西^
帅的好烦躁(๑˙❥˙2)
展开
-
centos7无法启动网络systemctl restart netuork.service Job for network.service failed because the control pr
报错信息:执行 service network restart时,出现以下错误systemctl restart netuork.service Job for network.service failed because the control process exited with error code.See "sustemctl st atus network.service" and "journalctl -xe"for details.根据提示,执行systemctl status原创 2021-10-27 21:58:01 · 1850 阅读 · 1 评论 -
Hadoop上传文件报错:could only be replicated to 0 nodes instead of minReplication (=1).
这里写自定义目录标题问题原因解决方法问题Hadoop上传文件报错详情could only be replicated to 0 nodes instead of minReplication (=1). There are 0 datanode(s) running and no node(s) are excluded in this operation原因一般是多次格式化namenode造成的解决方法查看Hadoop datanode.log信息可见namenode cluste原创 2021-09-21 11:19:51 · 1742 阅读 · 0 评论 -
[已解决]curl: (1) Protocol “https“ not supported or disabled in libcurl
问题描述curl: (1) Protocol "https" not supported or disabled in libcurl使用curl -V查看,https确实不在curl支持协议库里面1.安装opensslwget https://www.openssl.org/source/openssl-1.1.0g.tar.gztar -xzvf openssl-1.1.0g.tar.gzcd openssl-1.1.0g./configmakesudo make install原创 2021-01-30 21:10:47 · 11034 阅读 · 2 评论 -
[已解决]docker安装踩坑:Unable to find image ‘hello-world:latest‘ locally
问题描述安装docker后测试是否安装成功运行docker run hello-world报出以下错误:# docker run hello-worldUnable to find image 'hello-world:latest' locallydocker: Error response from daemon: Get https://registry-1.docker.io/v2/: x509: certificate is valid for www.doctorcom.com, not原创 2021-01-28 10:19:21 · 33818 阅读 · 11 评论 -
UserWarning:RNN module weights are not part of single contiguous chunk of memory.
问题使用多GPU训练模型时会报出如下警告占满屏幕,导致无法查看模型训练状态:UserWarning::RNN module weights are not part of single contiguous chunk of memory. This means they need to be compacted at every call, possibly greatly increasing memory usage. To compact weights again call flatten_p原创 2020-12-15 00:13:50 · 1566 阅读 · 0 评论 -
Linux下 跑Python模型报错 Segmentation fault (core dumped) 一种可能的解决办法
问题描述服务器上跑模型,中途莫名中断报出这个错误,甚至有时更新Anaconda也会出现这个错误Segmentation fault (core dumped)解决办法ulimit -a使用上面命令查看系统的core功能是否打开:可见core file size资源极限值为0。使用下面的命令打开core dump功能ulimit -c unlimited此命令只对当前终端有效,另开一个终端或者重新登录后又会自动回到原来的设置最后问题解决了,模型可以正常运行了,Anaconda也能正原创 2020-10-02 14:54:12 · 12266 阅读 · 4 评论 -
Linux Centos -bash:ifconfig:command not found报错解决方法
-bash:ifconfig:command not found报错解决方法问题:执行 ifconfig报错Centos 修改network-scripts中的内容后,想使用ifconfig查看目前IP地址的修改情况,报出这个错误:因为系统没有安装net-tools。解决方案:使用sudo yum install net-tools(若当前用户是root用户 不加sudo也可)命...原创 2020-02-27 12:32:14 · 441 阅读 · 0 评论 -
Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-2.5.xsd).
Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-2.5.xsd). For more information, right click on the message in the Problems View and select "Show Details…"解决方案...原创 2019-05-07 18:44:12 · 353 阅读 · 0 评论 -
打开eclipse遇到在“初始化 Java 工具”期间发生了内部错误。 java.lang.NullPointerException
打开eclipse遇到:在“初始化 Java 工具”期间发生了内部错误。 java.lang.NullPointerException解决方案解决方案:在你的eclipse工作空间里找到.metadata> .plugins> org.eclipse.core.resources> .projects这一文件夹删除这一文件夹,重启eclipse,eclipse会自动检测...原创 2019-04-27 10:08:10 · 6168 阅读 · 0 评论 -
Referenced file contains errors (http://mybatis.org/dtd/mybatis-3-mapper.dtd). For more information,
关于Referenced file contains errors (http://mybatis.org /dtd/mybatis-3-mapper.dtd)报错的解决方案用Eclipse做Maven项目时,XML文件第一行经常出现这种错误:Referenced file contains errors (http://mybatis.org/dtd/mybatis-3-mapper.dt...原创 2019-04-16 19:04:17 · 4549 阅读 · 0 评论 -
WebStorm用Chrome做网页调试访问的网页js文件出错,不是当前工程的js文件,是以往工程的文件导致404
用Chrome做网页调试访问js文件出错导致404问题解决方案尽管我们是用WebStorm点击选择的浏览器打开,但Chrome打开时出现服务器访问出错的问题404,而我服务器明明已经打开了却说访问不到。便使用F12调试查看发现访问服务器的路径URL是这个:这是我之前做的一个项目的服务器路径,但当前项目我login.html的js文件写清楚了访问的路径应该是:"http://*****...原创 2019-04-21 11:15:58 · 595 阅读 · 0 评论