服务器因磁盘满了,导致服务都失败
很久之前的老项目,突然服务都请求不到了,api数据都异常了。
原因分析:1:查询https证书,是否到期。结果正常。
2:nginx服务,php服务是否正常。检查正常。systemctl status nginx.service
systemctl status php-fpm.servi[……]
很久之前的老项目,突然服务都请求不到了,api数据都异常了。
原因分析:1:查询https证书,是否到期。结果正常。
2:nginx服务,php服务是否正常。检查正常。systemctl status nginx.service
systemctl status php-fpm.servi[……]
APP端今天登录不上且数据请求都是空的,昨天还是正常的。发现Postman请求时返回的数据都是正常的。
思路:用postman的https请求时,被nginx自动转成了hppt请求,http请求是正常的,故返回是正常的。
解决:先检查https的证书是否有效,直接访问api域名发[……]
启动redis:
/usr/local/redis/bin/redis-server /usr/local/redis/etc/redis-6379.conf
测试链接方法一:
nc命令提示没有的话,可以安装一个
nc 127.0.0.1 6379
然后输入ping
方式2:
re[……]