友情提示:
今天在服务器拉代码的时候,居然遇到fatal: unable to access 'https://******@github.com/******/******.git/': SSL connect error的错误,刚开始我还以为是git版本低了,把git的版本给升级到2.14了,居然还有这样的问题,下面是解决办法:
1.升级nss版本
yum update nss -y
2.将https改为git
git clone git://******@github.com/******/******.git
如果以上两种解决方法都无法解决你的问题,那么请再执行:
yum update -y nss cu...
解决保存快照失败后redis无法写入的问题
今天在测试服务器上测试网站的时候,老是出现session问题,造成无法登录后台,我们一直以为redis没有问题,一直在找nginx的问题,后来进到redis-cli,执行了下SET runoobkey redis命令,出现提示:(error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk.Commands that may modify the data set are disabled. Please check Redis logs ...
centos7编译libiconv报错:./stdio.h:1010:1: error: 'gets' undeclared here (not in a function)
今天在centos7上安装lnmp环境的时候,进行make的时候报如下错误:
In file included from progname.c:26:0:
./stdio.h:1010:1: error: ‘gets’ undeclared here (not in a function)
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
^
make[2]: *** [progname.o] Error 1
make[2]: Leaving directory `/usr...
php编译中遇到各种error解决办法
1) Configure: error: xml2-config not found. Please check your libxml2 installation.
Solutions :
Quote:
# yum install libxml2 libxml2-devel
2) Checking for pkg-config… /usr/bin/pkg-config configure: error: Cannot find OpenSSL’s <evp.h>
Solutions :
Quote:
# yum install openssl openssl-devel
3) Configure...
解决svn: Can’t convert string from ‘UTF-8′ to native encoding
今天同事在新服务器上更新svn代码的时候,出现如下错误:
Can't convert string from native encoding to 'UTF-8':
svn:
5?\228?\189?\141?\227?\128?\128950?\231?\130?\185?\227?\128?\128?\229?\138?\160?\232?\151?\164?\227?\128?\128?\230?\133?\142?\228?\186?\140.jpg
svn: Can't convert string from 'UTF-8' to native encoding:
svn:
docroot/new_interview/images/?\230?\151?\165?\230?\156?\172?\229?\183?\165?\229?\173?\166?\233?\153?\162?\227?\128?\128?\230?\173?\163?\231?\148?\176.jpg
然后代码也没有下载下来,找到docroot/new_interview/images/文件夹下面一看...