在安装OPENVAS过程中,导致gitlab异常
sudo yum update -y #更新系统软件至最新版
sudo yum install openvas* #安装openvas软件包及其依赖
sudo yum install redis* -y #安装redis数据库
sudo yum install sqlite3* -y #安装sqlite3数据库
sudo yum install gnutls-ntils #安装证书生成工具
后面没运行其余安装代码
然后GITLAB出现“new project”功能报错
然后怀疑配置问题后执行sudo gitlab-ctl reconfigure失败
打开GITLAB出现502情况
检测运行状态
发现Prometheus无法启动、sidekiq、unicorn的pid在变化
查看日志文件发现错误
2018-12-11_08:31:22.06492time="2018-12-11T16:31:22+08:00" level=error msg="Error openingmemory series storage: found existing files in storage path that do not looklike storage files compatible with this version of Prometheus; please deletethe files in the storage path or choose a different storage path"source="main.go:192"
找出Prometheus路径打开Prometheus显示
到底是更新系统软件后导致软件配置问题,还是重复安装REDIS导致报错呢