码迷,mamicode.com
首页 >  
搜索关键字:errno    ( 1000个结果
Psutil
用Python来编写脚本简化日常的运维工作是Python的一个重要用途。在Linux下,有许多系统命令可以让我们时刻监控系统运行的状态,如 ,`top free subprocess`模块调用并获取结果。但这样做显得很麻烦,尤其是要写很多解析代码。 在Python中获取系统信息的另一个好办法是使用 ...
分类:其他好文   时间:2019-07-06 17:33:51    阅读次数:100
python smtp发邮件报错“[Errno -2] Name or service not known”的解决
最近给 "ss py mu" 写了个检查用户是否到期,并在到期前的第2天邮件提醒的功能。 配置存储在ini文件中,通过configparser模块获取,但尝试发送邮件的时候发现报错[Errno 2] Name or service not known。 网上查了查说防火墙要开25和53端口,但是我本 ...
分类:编程语言   时间:2019-07-06 00:35:52    阅读次数:177
git:early EOF the remote end hung up unexpectedly index-pack failed RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054
执行: git config http.sslVerify "false" 如果提示: fatal: not in a git directory 执行: git init ...
分类:Web程序   时间:2019-07-03 22:48:29    阅读次数:172
C89:头文件
一.C头文件 #include <assert.h> //设定插入点#include <ctype.h> //字符处理#include <errno.h> //定义错误码#include <float.h> //浮点数处理#include <fstream.h> //文件输入/输出#include ...
分类:其他好文   时间:2019-07-01 10:27:59    阅读次数:142
python smbus IOError: [Errno 2] No such file or directory
1.打开配置文件 打开以下选项 ctrl + o 保存 ctrl + x 退出 2.刷新配置文件 3.打开 I2c选项 4.重启 5.再次运行 参考: https://www.raspberrypi.org/forums/viewtopic.php?t=100189 ...
分类:编程语言   时间:2019-07-01 01:01:38    阅读次数:176
PyCharm或VisualStudio找不到python_d.exe
Error: [Errno 2] No such file or directory: ‘D:\\Libraries\\Python37\\lib\\venv\\scripts\\nt\\python_d.exe‘
分类:编程语言   时间:2019-06-24 16:18:12    阅读次数:196
本地运行项目成功 ,但在服务器运行程序就会报Failed to establish a new connection: [Errno -2] Name or service not known
排查request连接 错误 ,说明是和网络 相关的, step1:先在服务器端ping 一下测试网址的host step2:在本地ping 一下测试网址的host 观查到服务端和本地 同一host指向的ip不一样 解决 办法 就是在服务器端 配置被测网址的host与本地一样 增加内容如下: 再次运 ...
分类:其他好文   时间:2019-06-17 15:56:16    阅读次数:2351
webstorm react项目报错:Error: EPERM: operation not permitted
webstorm上导入了react项目,执行npm run start 之后就报错, > cross-env APP_TYPE=site umi dev fs.js:114 throw err; ^ Error: EPERM: operation not permitted, open 'path\ ...
分类:Web程序   时间:2019-06-14 16:32:42    阅读次数:398
mysql数据库主从同步(交互式)
mysql数据库主从同步交互式配置步骤,本文以一台mysql数据库多实例3306和3307为例进行配置,3306为主库,3307为从库(多台单实例与一台多实例配置是一样的)一.my.cnf文件配置1.修改my.cnf配置文件,主数据库3306要打开log-bin,server-id不能一样[root ...
分类:数据库   时间:2019-06-13 18:45:13    阅读次数:173
mysql数据库主从同步,master和slave上的mysql必须版本一样吗,如果不一样会有什么结果?
Slave_SQL_Running: No mysql同步故障解决如果数据不同步可以尝试该资料mysql> show slave status\GSlave_IO_Running: YesSlave_SQL_Running: NoLast_Errno: 1062....Seconds_Behind_ ...
分类:数据库   时间:2019-06-13 00:45:36    阅读次数:176
1000条   上一页 1 ... 14 15 16 17 18 ... 100 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!