有时候安装cloudera会报socket.gaierror: [Errno -2] Name or service not known,或者服务器可能IP或mac地址冲突会引发次错误。导致机器服务不能正常运行和重装。 解决办法: 在cloudera安装过程中遇到socket.gaierror: [ ...
分类:
其他好文 时间:
2016-04-03 14:28:12
阅读次数:
186
背景:我们在做数据迁移或者拆分的时候,使用Tablespace transcation 这种解决方案时,很有可能就会遇到 从库复制出错,报: Last_SQL_Errno: 1146 那么具体错误内容可能会有如下: Last_SQL_Error: Error 'Table 'spider.tb_ci ...
分类:
数据库 时间:
2016-04-02 18:42:38
阅读次数:
1218
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
使用命令: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
/* 参考代码 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-china的源连接不上 使用gem update遇到这个问题, 原来是ruby没有包含SSL证书,所以Https的链接被服务器拒绝。 解决方法很简单,首先在这里下载证书(http://curl.haxx.se/ca/cacert.pem), 然后再环境变量里设置SSL_CERT_F
分类:
其他好文 时间:
2016-03-12 11:36:31
阅读次数:
429
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
这种错误的出现是在使用built-in函数file()或者open()的时候。或者是因为文件的打开模式不对,或者是文件名有问题。前者的话只需要注意文件是否可读或者可写就可以了。后者则是与文件路径相关的问题,需要在文件名前加r或者R转义,如:file(r"e:\Test.txt",'r').或者将反斜
分类:
Web程序 时间:
2016-03-02 13:20:48
阅读次数:
337
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
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