标签:cto serve 公司 app term 文件 file proc 查找
今早还才7点钟,公司说app挂了,相关开发瞬间绷起神经,一时间群魔乱舞,最终到我这儿需要重新启动redis,于是乎我到公司第一件事就是查看关于redis的问题。开机,xhell连上服务器,网速太慢,xhell卡顿,以为网速问题,打开宝塔,宝塔界面正常打开,里面的redis点击重启,重启失败,重新加载配置,失败,启动,毫无疑问,依然失败。那么问题就只能在服务器里看了。
于是开始我排错步骤:
第一步:启动redis的同时,查找日志。
悲剧的是redis没有启动日志,找到redis的配置文件,添加启动日志文件。logfile "/www/server/redis/redis.log"

标签:cto serve 公司 app term 文件 file proc 查找
原文地址:https://blog.51cto.com/12889016/2442266