码迷,mamicode.com
首页 >  
搜索关键字:errno strerror    ( 1034个结果
cloudera安装报错 socket.gaierror: [Errno -2] Name or service not known
有时候安装cloudera会报socket.gaierror: [Errno -2] Name or service not known,或者服务器可能IP或mac地址冲突会引发次错误。导致机器服务不能正常运行和重装。 解决办法: 在cloudera安装过程中遇到socket.gaierror: [ ...
分类:其他好文   时间:2016-04-03 14:28:12    阅读次数:186
解决MySQL复制出错 Last_SQL_Errno:1146
背景:我们在做数据迁移或者拆分的时候,使用Tablespace transcation 这种解决方案时,很有可能就会遇到 从库复制出错,报: Last_SQL_Errno: 1146 那么具体错误内容可能会有如下: Last_SQL_Error: Error 'Table 'spider.tb_ci ...
分类:数据库   时间:2016-04-02 18:42:38    阅读次数:1218
NFS错误Starting NFS quotas: Cannot register service: RPC: Unable to receive; errno=Connection refused
NFS报错一例 [root@bjs0- ~]# /etc/init.d/portreserve start Starting portreserve: [ OK ] [root@bjs0- ~]# /etc/init.d/nfs start Starting NFS services: [ OK ] ...
分类:其他好文   时间:2016-04-01 09:05:45    阅读次数:270
Linux 删除mysql数据库失败的解决方法
使用命令:drop database xxx;删除本数据库时却删除失败,系统提示出现了错误,错误代码为: ERROR 1010 (HY000): Error dropping database(can't rmdir './xxx/',errno:17); 解决方法: 1.find /  -name
分类:数据库   时间:2016-03-14 10:40:14    阅读次数:205
用socket实现ping功能(记录)
/* 参考代码 http://bbs.csdn.net/topics/230001156 原文为win32版本 这里已修改为unix版本 */ #include <stdio.h> #include <string.h> #include <errno.h> #include <unistd.h>
分类:其他好文   时间:2016-03-12 11:44:48    阅读次数:598
Ruby SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B:
最近使用ruby-china的源连接不上 使用gem update遇到这个问题, 原来是ruby没有包含SSL证书,所以Https的链接被服务器拒绝。 解决方法很简单,首先在这里下载证书(http://curl.haxx.se/ca/cacert.pem), 然后再环境变量里设置SSL_CERT_F
分类:其他好文   时间:2016-03-12 11:36:31    阅读次数:429
本站点 头文件 本人代码由centos6.5虚拟机运行
wz.h ////////////////////////// #define_CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<stdlib.h> #include<assert.h> #include<errno.h> #include<string.h> #include<time.h> #include<time.h> #include<stdarg.h> ..
分类:其他好文   时间:2016-03-11 06:43:29    阅读次数:185
IOError: [Errno 22] invalid mode ('rb') or filename: 'F:\netData1.mat'
这种错误的出现是在使用built-in函数file()或者open()的时候。或者是因为文件的打开模式不对,或者是文件名有问题。前者的话只需要注意文件是否可读或者可写就可以了。后者则是与文件路径相关的问题,需要在文件名前加r或者R转义,如:file(r"e:\Test.txt",'r').或者将反斜
分类:Web程序   时间:2016-03-02 13:20:48    阅读次数:337
linux设置虚拟内存(swap)解决mysql因内存不足挂掉的故障
mysql错误日志显示: InnoDB: mmap(137363456 bytes) failed; errno 122016-03-01 01:38:42 13064 [ERROR] InnoDB: Cannot allocate memory for the buffer pool2016-03
分类:数据库   时间:2016-03-01 12:24:55    阅读次数:329
linux c flash安全策略
flash的socket安全策略机制默认端口为843,需要服务器在这个端口响应请求并返回信息;代码如下:#include<stdio.h>#include<string.h>#include<errno.h>#include<unistd.h>#include<event.h>voidaccept_cb(intfd,shortevents,void*arg);voidsocke..
分类:系统相关   时间:2016-02-24 15:49:15    阅读次数:311
1034条   上一页 1 ... 71 72 73 74 75 ... 104 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!