Redis 报错:Invalid argument during startup: unknown conf file parameter

Posted Adorable_Rocy

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Redis 报错:Invalid argument during startup: unknown conf file parameter相关的知识,希望对你有一定的参考价值。

Redis所有配置项需要顶格,这个错误原因是有配置项未顶格,找到即可

在这里插入图片描述
删除顶格

D:\\AllForSoft\\redis>redis-server.exe redis.windows.conf
Invalid argument during startup: unknown conf file parameter :

D:\\AllForSoft\\redis>redis-server.exe redis.windows.conf
                _._
           _.-``__ ''-._
      _.-``    `.  `_.  ''-._           Redis 3.2.100 (00000000/0) 64 bit
  .-`` .-```.  ```\\/    _.,_ ''-._
 (    '      ,       .-`  | `,    )     Running in standalone mode
 |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
 |    `-._   `._    /     _.-'    |     PID: 13576
  `-._    `-._  `-./  _.-'    _.-'
 |`-._`-._    `-.__.-'    _.-'_.-'|
 |    `-._`-._        _.-'_.-'    |           http://redis.io
  `-._    `-._`-.__.-'_.-'    _.-'
 |`-._`-._    `-.__.-'    _.-'_.-'|
 |    `-._`-._        _.-'_.-'    |
  `-._    `-._`-.__.-'_.-'    _.-'
      `-._    `-.__.-'    _.-'
          `-._        _.-'
              `-.__.-'

[13576] 11 Jun 17:08:49.452 # Server started, Redis version 3.2.100
[13576] 11 Jun 17:08:49.455 * DB loaded from disk: 0.001 seconds
[13576] 11 Jun 17:08:49.455 * The server is now ready to accept connections on port 6379

完成连接

以上是关于Redis 报错:Invalid argument during startup: unknown conf file parameter的主要内容,如果未能解决你的问题,请参考以下文章

Laravel collection 报错 join(): Invalid arguments passed

linux执行vi指令报错:E474:Invalid argument:si=4

npm报错 Error: EINVAL: invalid argument, mkdir ‘D:softxxx“‘

git pull 报错:Error merging: unable to unlink old 'xxx.jar': Invalid argument

windows下启动redis提示Invalid argument during startup: Failed to open the .conf file: redis.windows.connf

ndk-build 编译报错 fatal error: error writing to -: Invalid argument } ^