zoukankan      html  css  js  c++  java
  • 解决启动redis出现的creating server tcp listening socket *:6379: listen: unknown error

    今天运行redis服务端时候出现这个问题:

    D:phpsoftware
    edis>redis-server.exe
    [484] 04 Dec 21:49:00.797 # Warning: no config file specified, using the default
     config. In order to specify a config file use redis-server.exe /path/to/redis.c
    onf
    [484] 04 Dec 21:49:00.837 # Creating Server TCP listening socket *:6379: listen:
     Unknown error

    意思就是读取默认配置失败,请手动指定启动配置文件

    解决方案:

    D:phpsoftware
    edis>redis-server.exe ./redis.windows.conf
                    _._
               _.-``__ ''-._
          _.-``    `.  `_.  ''-._           Redis 3.2.100 (00000000/0) 64 bit
      .-`` .-```.  ```/    _.,_ ''-._
     (    '      ,       .-`  | `,    )     Running in standalone mode
     |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
     |    `-._   `._    /     _.-'    |     PID: 3224
      `-._    `-._  `-./  _.-'    _.-'
     |`-._`-._    `-.__.-'    _.-'_.-'|
     |    `-._`-._        _.-'_.-'    |           http://redis.io
      `-._    `-._`-.__.-'_.-'    _.-'
     |`-._`-._    `-.__.-'    _.-'_.-'|
     |    `-._`-._        _.-'_.-'    |
      `-._    `-._`-.__.-'_.-'    _.-'
          `-._    `-.__.-'    _.-'
              `-._        _.-'
                  `-.__.-'
    
    [3224] 04 Dec 21:49:12.586 # Server started, Redis version 3.2.100
    [3224] 04 Dec 21:49:12.587 * DB loaded from disk: 0.001 seconds
    [3224] 04 Dec 21:49:12.590 * The server is now ready to accept connections on po
    rt 6379

    启动成功

  • 相关阅读:
    数据解压
    子区域数据合并
    数据压缩复制
    将Win10变回Win7/WinXP界面
    通过GP加载卫星云图-雷达图-降雨预报图
    Maven版本与JDK版本
    由输入法随想
    selinux开关
    android studio 配置
    NodeJS 笔记
  • 原文地址:https://www.cnblogs.com/jiangxiaobo/p/11985901.html
Copyright © 2011-2022 走看看