ysrc / yulong-hids-archived

[archived] 一款实验性质的主机入侵检测系统
Other
2.15k stars 583 forks source link

有时需要安装两次才可以成功安装 #44

Open aRe00t opened 6 years ago

aRe00t commented 6 years ago

只在部分 CentOS 6.5 的机器上观察到这种情况.

第一次安装

/tmp/daemon -install -netloc xxx:443
2018/05/15 13:40:18 Download dependent environment package
2018/05/15 13:40:18 Use syshook_2.6.32-431
2018/05/15 13:40:18 Install dependency, service error: exit status 1

第二次安装

/tmp/daemon -install -netloc xxx:443
2018/05/15 13:40:22 Download Agent
2018/05/15 13:40:53 Agent file MD5: 087c9064c2040b5c74642d4c79e7f94f
2018/05/15 13:40:53 Agent download finished, hash check passed
2018/05/15 13:40:53 Copy the daemon to the installation directory
2018/05/15 13:40:53 Start the service
2018/05/15 13:40:53 Installed!
LSB Version:    :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch
Distributor ID: CentOS
Description:    CentOS release 6.5 (Final)
Release:    6.5
Codename:   Final
uname -r
2.6.32-431.11.2.el6.toa.2.x86_64
Eric96 commented 6 years ago

centos7上可以成功安装么?

aRe00t commented 6 years ago

两台 centos 7.3 都是一次安装成功

Eric96 commented 6 years ago

Saving to: ‘/tmp/daemon’

100%[======================================>] 6,698,272 16.1MB/s in 0.4s

2018-05-15 16:48:44 (16.1 MB/s) - ‘/tmp/daemon’ saved [6698272/6698272]

2018/05/15 16:48:44 Download dependent environment package 2018/05/15 16:48:44 Install dependency, service error: open /usr/yulong-hids/data.zip: no such file or directory

您好,这种错误有碰到过么?

neargle commented 6 years ago

@Eric96 ls /usr/yulong-hids/

Eric96 commented 6 years ago

@neargle /usr目录下没有yulong-hids这个文件夹哦