Reading the configuration file, at line 数字>>> xxxx Can‘t open the log file: Permission denied等权限不够报错
启动redis时报错,***FATALCONFIGFILEERROR(Redis6.0.6)***Readingtheconfigurationfile,atline257>>>‘logfile“6380.log”’Can’topenthelogfilePermissiondenied。主要原因是权限不够,权限被拒绝,可以通过执行su,进入root用户下,在进行启动。...
·
启动redis时报错,*** FATAL CONFIG FILE ERROR (Redis 6.0.6) *** Reading the configuration file, at line 257 >>> ‘logfile “6380.log”’ Can’t open the log file: Permission denied
主要原因是:权限不够,权限被拒绝,可以通过执行su,进入root用户下,在进行启动
xiao@localhost ~]$ cd /usr/local/bin
[xiao@localhost bin]$ redis-server ./xiaoConfig/redis81.conf
*** FATAL CONFIG FILE ERROR (Redis 6.0.6) ***
Reading the configuration file, at line 257
>>> 'logfile "6381.log"'
Can't open the log file: Permission denied
[xiao@localhost bin]$ clear
[xiao@localhost bin]$ su
Password:
[root@localhost bin]# redis-server ./xiaoConfig/redis81.conf
[root@localhost bin]#
更多推荐
已为社区贡献5条内容
所有评论(0)