关于我们

质量为本、客户为根、勇于拼搏、务实创新

< 返回新闻公共列表

宝塔面板redis 5.0一会暂停或者隔断时间暂停解决办法

发布时间:2020-02-14 14:05:59

宝塔面板 安装redis出错 显示暂停,具体显示就是如下图:

2019121115414285.png

或者在任务详情里面出现安装只需要几秒就好,但是打开redis就显示暂停服务这样的!

 

具体原因是因为没有宝塔安装reids是编译安装,如果没有安装好有些必要的软件就会出错,所以可以运行下下面的命令:

  1. yum install make cmake gcc gcc-c++ gcc-g77 flex bison file libtool libtool-libs autoconf kernel-devel patch wget libjpeg libjpeg-devel libpng libpng-devel libpng10 libpng10-devel gd gd-devel libxml2 libxml2-devel zlib zlib-devel glib2 glib2-devel tar bzip2 bzip2-devel libevent libevent-devel ncurses ncurses-devel curl curl-devel libcurl libcurl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel vim-minimal gettext gettext-devel ncurses-devel gmp-devel pspell-devel libcap diffutils ca-certificates net-tools libc-client-devel psmisc libXpm-devel git-core c-ares-devel libicu-devel libxslt libxslt-devel zip unzip glibc.i686 libstdc++.so.6 cairo-devel bison-devel ncurses-devel libaio-devel perl perl-devel perl-Data-Dumper lsof pcre pcre-devel vixie-cron crontabs expat-devel readline-devel  -y

然后卸载了重新安装应该就没有什么,问题了!

或者使用命令

ssh内依次执行下面命令看看


  1. /etc/init.d/redis restart 
  2. ps -ef | grep redis



/template/Home/Zkeys2/PC/Static