Comments (14)
@h253518892 麻烦分别执行下
systemctl status elkeid_redis
journalctl -fu elkeid_redis
ps auxf | grep redis
ss -antp | grep 6379
看下为什么redis安装失败了
from elkeid.
from elkeid.
@h253518892 看下 package_community/redis 和 /elkeid/redis 下面有没有 redis-server这个二进制文件。
package_community 文件夹是不是不完整,重新解压一遍看下?
from elkeid.
from elkeid.
@h253518892 直接执行 /elkeid/redis/redis-server /elkeid/redis/redis.conf 看下报错吗?
from elkeid.
from elkeid.
from elkeid.
from elkeid.
@h253518892 现在systemctl restart elkeid_redis 试一下呢,看下redis这个服务能否正常?
目前不清楚systemd为什么在/elkeid/redis/redis-server文件正常的情况下依然报文件不存在,把系统信息贴一下吧,我们看下能否复现
from elkeid.
系统信息:CentOS Linux release 7.9.2009 (Core)
from elkeid.
我也碰到这个问题了
from elkeid.
@samcode123
麻烦看下systemctl status elkeid_redis 的错误提示,也是找不到redis-server可执行文件吗?
同时 ls -al /elkeid/redis 看下文件大小及权限。
from elkeid.
提示eb 17 18:39:54 localhost.localdomain systemd[25820]: Failed at step CHDIR spawning /elkeid/redis/redis-server: No such file or directory
[root@localhost system]# ls -al /elkeid/redis
total 28156
drwxr-xr-x 2 redis redis 297 Feb 17 18:39 .
drwxr-xr-x. 4 root root 53 Feb 17 18:39 ..
-rwxr-xr-x 1 redis redis 286 Feb 17 18:39 install_sentinel.sh
-rwxr-xr-x 1 redis redis 404 Feb 17 18:39 install.sh
-rwxr-xr-x 1 redis redis 4830000 Feb 17 18:39 redis-benchmark
-rwxr-xr-x 1 redis redis 5002840 Feb 17 18:39 redis-cli
-rwxr-xr-x 1 redis redis 1846 Feb 17 18:39 redis.conf
-rwxr-xr-x 1 redis redis 1846 Feb 17 18:39 redis.confn
-rwxr-xr-x 1 redis redis 9478136 Feb 17 18:39 redis-sentinel
-rwxr-xr-x 1 redis redis 512 Feb 17 18:39 redis_sentinel.conf
-rwxr-xr-x 1 redis redis 555 Feb 17 18:39 redis_sentinel.service
-rwxr-xr-x 1 redis redis 9478136 Feb 17 18:39 redis-server
-rwxr-xr-x 1 redis redis 528 Feb 17 18:39 redis.service
-rwxr-xr-x 1 redis redis 231 Feb 17 18:39 uninstall_sentinel.sh
-rwxr-xr-x 1 redis redis 221 Feb 17 18:39 uninstall.sh
from elkeid.
如果出现这个问题,可以尝试该临时解决方案:
在安装前修改package目录下redis/redis.service,将如下两行去掉
ProtectHome=yes ProtectSystem=true
重新安装即可。
from elkeid.
Related Issues (20)
- rasp jvm版本支持问题 HOT 1
- tlinux24 docker批量编译部分ko编译失败 HOT 3
- 集群导入出现异常the server has asked for the client to provide credentials
- Bug: Possible Channel Blocking Operation
- KO运行异常或丢失的信息未上报或展示 HOT 1
- 安装kafka时报错 HOT 1
- 执行病毒扫描过程中进度一直是0 HOT 2
- 怎么理解 agent 和 server/agent_center 下面的grpc.proto 风格不一样 HOT 2
- LKM驱动中rename或link后新路径获取异常
- agent采集不到执行的命令
- agent安装部署下载改为https HOT 2
- 什么时候能支持多一点系统呢
- docker部署报错
- ubuntu 6.5.0及以上版本ko编译错误
- driver compile failed on 5.4.250-1.el7.elrepo.x86_64 HOT 2
- 什么时候支持从前端删除离线机器
- Docker 部署时,agent init 报错。
- 容器集群-安全组件安装问题 HOT 8
- 8089端口命名有误
- Redis部署报错 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elkeid.