一、Nginx1、Nginx全局配置[root@LNMP~]#vim/usr/local/nginx/conf/nginx.conf
usernobodynobody;
worker_processes2;
error_log/usr/local/nginx/logs/nginx_error.logcrit;
pid/usr/local/nginx/logs/nginx.pid;
worker_rlimit_nofile51200;
events
{
useepoll;
worker_conn..
分类:
Web程序 时间:
2015-05-16 01:41:03
阅读次数:
207
源码编译时有错误出现在 Linux 下是很正常的事,关键是要懂得查看错误信息。一般 Linux 下的错误主要是由路径、权限、链接库造成的,可以针对这些内容进行筛选,找出出错的原因并加以解决。对于编译一些时间长,输出多的库或程序,可以使用 make 2>&1 | tee build.log 来在文件和控制台同时输出 标准输出、标准错误输出 然后在log日志文件中直接搜索/error /ERROR /A...
分类:
其他好文 时间:
2015-05-16 01:32:04
阅读次数:
129
1、错误描述
org.hibernate.exception.ConstraintViolationException: error executing work
at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:72)
at org.hiber...
分类:
其他好文 时间:
2015-05-15 22:52:01
阅读次数:
891
在此记录下Nginx服务器nginx.conf的配置文件说明, 部分注释收集于网络.user www-data; #运行用户worker_processes 1; #启动进程,通常设置成和cpu的数量相等error_log/var/log/nginx/error...
分类:
其他好文 时间:
2015-05-15 19:38:59
阅读次数:
122
201505151、各位我D7的项目放到XE运行,发现里面引用了某个XE没有的单元文件【oxmldom】,提示:[DCC Fatal Error] FrmMain.pas(37): F1026 File not found: 'oxmldom.dcu'其中的某个,它的路径在D7的\Borland\D...
分类:
其他好文 时间:
2015-05-15 19:31:21
阅读次数:
99
使用gerrit账户在centos上安装gerrit,然后集成gitweb,gerrit服务启动失败,查看日志,报错信息如下:[2015-05-15 05:03:42,671] ERROR com.google.gerrit.pgm.Daemon : Unable to start daemonja...
分类:
编程语言 时间:
2015-05-15 19:14:52
阅读次数:
335
在控制台输入: echo?fs.inotify.max_user_watches=524288?|?sudo?tee?-a?/etc/sysctl.conf?&&?sudo?sysctl?-p
分类:
其他好文 时间:
2015-05-15 18:10:59
阅读次数:
204
1、异常信息严重: Exception sending context initialized event to listener instance of class or
g.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error...
分类:
编程语言 时间:
2015-05-15 17:54:24
阅读次数:
623
软件中总免不了要使用诸如 Log4net, Log4j, Tracer 等东东来写日志,不管用什么,这些东东大多是大同小异的,一般都提供了这样5个日志级别: × Debug × Info × Warn × Error × Fatal 一个等级比一个高,但是在具体开发中,关于应该如何选择适应的等级,却...
分类:
其他好文 时间:
2015-05-15 17:27:13
阅读次数:
112
简单将日志打印到屏幕:[python]view plaincopyimportlogginglogging.debug('debugmessage')logging.info('infomessage')logging.warning('warningmessage')logging.error('...
分类:
编程语言 时间:
2015-05-15 17:24:43
阅读次数:
188