在centos上成功编译安装nginx 1.4、php 5.4并成功启动nginx和php-fpm后,访问php提示"File not found.",同时在错误日志中看到:复制代码 代码如下:2013/10/22 20:05:49 [error] 12691#0: *6 FastCGI sent ...
分类:
其他好文 时间:
2014-09-10 12:05:20
阅读次数:
169
2014/9/4锁在什么时候释放?分为两种情况:一。在该线程的同步方法,同步代码块中。1.该线程的同步方法、同步代码块执行完。2.该线程同步方法、同步代码块中遇到return,break.3.该线程同步方法、同步代码块中发生了未处理的Exception、Error二、在其他线程中。4.其他线程执行..
分类:
其他好文 时间:
2014-09-10 03:00:10
阅读次数:
211
练习写写Linux脚本,就是关于1+2+3+4累加的那个脚本,一直在报“syntaxerrornearunpepectedtokendo”,郁闷了半天,最后一点点找原因,原来把while写成了为whlie了,去!
分类:
系统相关 时间:
2014-09-10 02:46:30
阅读次数:
193
hive中删除表的错误Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:javax.jdo.JDODataStoreException: Iteration request failed :...
分类:
其他好文 时间:
2014-09-10 00:28:59
阅读次数:
748
参考php_apd.c:73:1: error: unknown type name 'function_entry'(PHP 5.4)php 版本级别5.4 有些不兼容插件php_apd.c:73:1: error: unknown type name 'function_entry' (PHP ...
分类:
移动开发 时间:
2014-09-09 20:07:59
阅读次数:
483
用tar 解压 tar.bz2文件出错debian:/usr/src# tar jxf linux-2.6.26.tar.bz2tar: bzip2: Cannot exec: No such file or directorytar: Error is not recoverable: exiti...
分类:
其他好文 时间:
2014-09-09 19:55:59
阅读次数:
451
软件中总免不了要使用诸如 Log4net, Log4j, Tracer 等东东来写日志,不管用什么,这些东东大多是大同小异的,一般都提供了这样5个日志级别: ? ? ?Debug ? ? ?Info ? ? ?Warn ? ? ?Error ? ? ?Fat...
分类:
其他好文 时间:
2014-09-09 18:40:49
阅读次数:
237
#!/usr/bin/envbashsed-i"s/us\./cn\./g"/etc/apt/sources.listapt-getupdate##安装nginxapt-get-yinstallnginxif["$?"!="0"];thenecho"error!nginxisnotinstalledcorrectly"exit1;fi##安装phpapt-get-yinstallphp5if["$?"!="0"];thenecho"error!phpisnotinstalledcorrectly"ex..
分类:
其他好文 时间:
2014-09-09 18:34:49
阅读次数:
251
问题说明:在使用xtrabackup工具备份mariadb数据库时提示如下错误:InnoDB:Error:logfile./ib_logfile0isofdifferentsize5242880bytes
InnoDB:thanspecifiedinthe.cnffile50331648bytes!
innobackupex:Error:Thextrabackupchildprocesshasdiedat/usr/bin/innobackupexline2672...
分类:
数据库 时间:
2014-09-09 13:39:09
阅读次数:
312
使用的是linode的centos7系统,安装mysql发现已经默认的是mariadb。
但是不管是使用linode官网说明还是百度搜索到的的根本安装方法无法安装成功。
总是提示这一句:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
...
分类:
数据库 时间:
2014-09-09 13:07:08
阅读次数:
326