友情提示:欢迎光临!本地已启用二维码api网关,地址是https://api.slogra.com

解决git clone 报错 fatal: unable to access '......': SSL connect error

post by rocdk890 / 2018-4-17 13:15 Tuesday linux技术

今天在服务器拉代码的时候,居然遇到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...

阅读全文>>

标签: 报错 git ssl error 拉取

评论(0) 引用(0) 浏览(7021)

解决保存快照失败后redis无法写入的问题

post by rocdk890 / 2016-12-12 17:35 Monday linux技术

 今天在测试服务器上测试网站的时候,老是出现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 ...

阅读全文>>

标签: linux key SESSION redis error disk 快照

评论(0) 引用(0) 浏览(6535)

centos7编译libiconv报错:./stdio.h:1010:1: error: 'gets' undeclared here (not in a function)

post by rocdk890 / 2016-10-28 17:24 Friday linux技术

  今天在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...

阅读全文>>

标签: centos error function included security instead

评论(0) 引用(0) 浏览(7199)

php编译中遇到各种error解决办法

post by rocdk890 / 2016-2-16 16:02 Tuesday linux技术

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...

阅读全文>>

标签: php 错误 编译 error

评论(0) 引用(0) 浏览(3838)

解决svn: Can’t convert string from ‘UTF-8′ to native encoding

post by rocdk890 / 2015-4-30 15:14 Thursday linux技术

  今天同事在新服务器上更新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/文件夹下面一看...

阅读全文>>

标签: svn 错误 checkout error subversion utf-8

评论(0) 引用(0) 浏览(4282)

解决PHP Warning: file_get_contents failed to open stream: no suitable wrapper could be found.

post by rocdk890 / 2013-5-14 13:39 Tuesday linux技术

  今天给blog添加gravatar头像缓存功能,php报下面的错误:
PHP Warning: file_get_contents failed to open stream: no suitable wrapper could be found.
网上搜了下,找到了解决办法,现放出来给大家看看.
  系统:centos 5.5
在错误日志中,php报的错误是

PHP War...

阅读全文>>

标签: 配置 缓存 php 错误 error gravatar

评论(0) 引用(0) 浏览(14229)

解决编译安装git出错(续)

post by rocdk890 / 2013-4-17 17:48 Wednesday linux技术

  今天在centos下安装git,make半截出错了,系统是centos 6.3 64位的,报下面的错误:
/usr/bin/perl Makefile.PL PREFIX='/usr/local' INSTALL_BASE='' --localedir='/usr/local/share/locale'
Can't locate ExtUtils/MakeMaker.p...

阅读全文>>

标签: 出错 解决 编译 git 问题 error make 帮助

评论(0) 引用(0) 浏览(8483)

解决编译安装git出错

post by rocdk890 / 2013-3-26 17:17 Tuesday linux技术

  今天在测试机上安装git来测试,没想到安装过程中出错,检查了半天才找到问题所在,现记录下来以免有人走一样的弯路.
  系统:centos 5.5
  需要的软件包:git-1.7.10.1.tar.gz git-manpages-1.7.10.1.tar.gz
1.下载git版本
wget http://git-core.googlecode.com/fi...

阅读全文>>

标签: 出错 解决 编译 git 问题 error make 帮助

评论(1) 引用(0) 浏览(6170)