# locate xxxx locate: can not open () `/var/lib/mlocate/mlocate.db': No such file or directory 如果出现此错误,请执行updatedb # updatedb # locate xxxx整个locate工作....
分类:
数据库 时间:
2014-11-21 12:06:17
阅读次数:
250
需要说明的是,这里仅仅是调整工程的逻辑结构,其物理路径可以和这个不一样,这个不是文件的搜索路径,和文件路径是两码事。
我个人的建议当然是:工程结构和文件的物理存储方式是一样的,即:工程结构中的模块需要对应于具体的顶层文件夹,方便管理...
分类:
其他好文 时间:
2014-11-20 09:07:53
阅读次数:
263
今天编译出现ld: 0706-006 Cannot find or open library file: -l xerces-c_static,ld:open(): A file or directory in the path name does not exist.这个熟悉得不能再熟悉的链...
分类:
系统相关 时间:
2014-11-19 20:11:48
阅读次数:
361
最近要搞redis 主从,但yii自带的redis 不支持主从,没办法只好自己写一个了 配置如下:
1、main.php中添加下面一句:
//redis缓存配置
'cache_redis' => include(dirname(__FILE__) . DIRECTORY_SEPARATOR.'cache'.DIRECTORY_SEPARATOR.'redis.php'),
2、red...
分类:
其他好文 时间:
2014-11-19 18:39:29
阅读次数:
170
方式一: hadoop命令导出hadoop fs -get hdfs://hadoop000:8020/data/page_views2 pv2方式二:通过insert...directory导出 【spark暂不支持】导出到本地:INSERT OVERWRITE LOCAL directory.....
分类:
其他好文 时间:
2014-11-19 18:12:24
阅读次数:
181
Bugzilla不能上传附件
环境:win7、Bugzilla
错误提示:CGI.pm open of tmpfile \\CGItemp5760/QQ.png failed: No such file or directory
;
一种解决方法:在C盘创建一个文件夹temp;找到CGI.pm文件,路径为C:/bugzilla/lib/CGI.pm,用记事本打开CGI.pm,找到变量CG...
分类:
Web程序 时间:
2014-11-19 12:41:45
阅读次数:
160
先别急着喷,请听我解释。诚然可以使用现成的Directory类下的GetFiles、GetDirectories、GetFileSystemEntries这几个方法实现同样的功能,但请相信我不是蛋疼,原因是这几个方法在遇上【System Volume Information】这种目录时,极有可能会给...
重装系统后,启动svn,挂载原来的repository目录,访问正常,但提交时老发生以下错误:Commit failed (details follow): Can't create directory ***.txn: No such file or directorygoogle一把,看到碰到这...
分类:
其他好文 时间:
2014-11-16 15:51:08
阅读次数:
149
系统:CentOS6.52.6.32-431.el6.x86_64软件:httpd2.4.10服务器IP:192.168.1.241,172.16.0.1客户端IP:192.168.1.103,172.16.0.10控制页面属性的容器:<Directory"PATH"></Directory>#作用在文件系统的目录路径<Location"PATH"></Location>#作用在URL..
分类:
Web程序 时间:
2014-11-16 02:04:03
阅读次数:
396
#define EPERM 1 /* Operation not permitted */ #define ENOENT 2 /* No such file or directory */ #define ESRCH 3 /* No such process */ #define EINTR 4 /* Interrupted system call */ #define EIO 5 /* I...
分类:
系统相关 时间:
2014-11-15 18:59:18
阅读次数:
310