故障处理

/usr/src/kernels目录为空

安装kernel-headers和kernel-devel包 # yum install kernel-headers kernel-devel

2014-01-23 | 378 ℃

SSH远程显示中文乱码

用ssh远程连接服务器后出现中文乱码,解决方法如下: 1、临时性显示中文 登陆ssh后,执行: export LANG=zh_CN.gb2312 2、永久显示中文 #vi /etc/sysconfig/i18n LANG=zh_CN.UTF-8 改为 LANG=zh_CN.GB18030

2014-01-10 | 329 ℃

解决WIN2008下IIS7的HTTP500错误的技巧

http 500内部服务器错误说明IIS服务器无法解析ASP代码,如果你联网还发现找不到服务器就是500错误了. 在iis7里面的iis设置要开启启用父路径这个选项,之后就可以了,当然为了调试程序可以打开”ASP设置选项-调试属性”. http 500内部服务器错误说明IIS服务器...

2014-01-05 | 333 ℃

关于Discuz X3.1无法注册新用户问题

在Discuz X3.1上新用户注册时出现”内部错误,无法显示此内容”,打开查看出现以下错误: UCenter info: MySQL Query ErrorSQL:SELECT * FROM [Table]notelist WHERE closed='0' AND app1<'1' AND app1>'-5' LIMIT 1Error:Unknown column 'app1' in '...

2013-12-30 | 860 ℃

要处理此请求必须在配置中注册WebResource.axd处理程序

出现这个问题的原因有多种,第三方控件引起,或者安装安全类软件的插件,或者.net版本混合引起.一般将应用程序池的托管管道模式设置从集成改为经典模式就可以解决:

2013-12-25 | 499 ℃

undefined reference to ‘__sync_add_and_fetch_4′

zmalloc.o: In function `zmalloc_used_memory’: /usr/local/src/redis-2.6.14/src/zmalloc.c:223: undefined reference to `__sync_add_and_fetch_4′ collect2: ld 返回 1 make[1]: *** [redis-server] 错误 1 make[1]: Leaving directory `/usr/local...

2013-09-05 | 972 ℃

PHP添加mysqli扩展

安装配置phpMyAadmin的时候提示缺少mysqli扩展,检查发现PHP编译安装的时候没有加载mysqli扩展,可通过以下方法添加即可: 进入到PHP源码目录下,如果PHP源码已删除可重新下载PHP源码. #cd /usr/local/src/php-5.2.14/ext/mysqli 编译安装MYSQLI扩展: #/usr/local...

2013-09-01 | 1016 ℃

error: RPM-GPG-KEY-EPEL-6: import read failed(2).

error: /usr/local/rvm/archives/RPM-GPG-KEY-EPEL-6: import read failed(2). error: open of /usr/local/rvm/archives/epel-release-6-8.noarch.rpm failed: No such file or directory Redhat 5 32bit #rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/...

2013-07-25 | 910 ℃

failed to map segment from shared object: Cannot allocate memory

/var/qmail/bin/qmail-smtpd: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Cannot allocate memory #vi /var/qmail/supervise/qmail-smtpd/run 8000000 改为 64000000

2013-07-20 | 957 ℃

configure: error: utf8_mime2text() has new signature

configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information. Centos/RedHat #yum install libc-client-devel libc-client Ubuntu $sudo apt-get inst...

2013-07-15 | 694 ℃

PG::Error: ERROR: could not open extension control file

PG::Error: ERROR: could not open extension control file "/usr/local/postgresql/share/extension/hstore.control": No such file or directory #cd /usr/local/src/postgresql-9.2.4/contrib/ #make && make install

2013-07-10 | 698 ℃

Fatal: no entropy gathering module detected

执行SVN命令时提示: Fatal: no entropy gathering module detected 解决方法: #cd /dev #ls #rm -f urandom //存在则删除 #rm -f random //存在则删除 #/sbin/MAKEDEV urandom #/sbin/MAKEDEV random #chmod 777 /dev/urandom #chmod 777 /dev...

2013-07-05 | 657 ℃