Skip to content

内部异常[BUG] #64

Open
Open
@studyNowHa

Description

@studyNowHa

Bug 描述

简要描述您碰到的问题

  1. 系统环境:
  2. Ehoney版本:
  3. 具体问题:

Bug 重现步骤

otice [If there is a coding problem during startup, Please install dos2unix and execute dos2unix quick-start.sh]

-本次更新涉及数据库结构改变, 如果由老版本升级推荐删除文件夹/var/lib/ehoney-db-data
-本次更新涉及数据库结构改变, 如果由老版本升级推荐删除文件夹/var/lib/ehoney-db-data
-本次更新涉及数据库结构改变, 如果由老版本升级推荐删除文件夹/var/lib/ehoney-db-data
----Please select the IP address used by this machine---

  • 0 172.17.0.1
  • 1 192.168.1.6
    Please select the IP address (serial number) to use: 1
    The IP used by this machine is set to: 192.168.1.6
    上次元数据过期检查:0:55:19 前,执行于 2023年07月02日 星期日 14时46分56秒。
    软件包 dos2unix-7.4.2-4.el9.x86_64 已安装。
    依赖关系解决。
    无需任何处理。
    完毕!
    dos2unix: 正在转换文件 /home/cent/Ehoney/configs/configs.toml 为Unix格式...
    DB_Port: 3306
    DB_User: root
    DB_Database: sec_ehoneypot
    DB_Password: Ehoney2021
    [ start install soft [ gcc-c++ ]
    [ start install soft [ kernel-devel-5.14.0-331.el9.x86_64 ]
    docker version
    docker.service is configured, skip!
    docker version
    docker service good
    start deploying k3s >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    k3s is installed, skip!
    end of k3s installation >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    start deploying falco >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    start setup falco
    Error: Kubernetes cluster unreachable: Get "http://localhost:8080/version?timeout=32s": dial tcp [::1]:8080: connect: connection refused
    falco pod not found, install falco!
    find usr/bin result: /sbin:/bin:/usr/sbin:/usr/bin
    "stable" already exists with the same configuration, skipping
    "falcosecurity" already exists with the same configuration, skipping
    Hang tight while we grab the latest from your chart repositories...
    ...Successfully got an update from the "stable" chart repository
    ...Successfully got an update from the "falcosecurity" chart repository
    Update Complete. ⎈Happy Helming!⎈
    Error: Kubernetes cluster unreachable: Get "https://127.0.0.1:6443/version?timeout=32s": dial tcp 127.0.0.1:6443: connect: connection refused
    259s/false/true/ /home/cent/Ehoney/tool/falco/values.yaml
    260s/127.0.0.1/192.168.1.6/ /home/cent/Ehoney/tool/falco/values.yaml
    Error: Kubernetes cluster unreachable: Get "https://127.0.0.1:6443/version?timeout=32s": dial tcp 127.0.0.1:6443: connect: connection refused
    end of falco installation >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    start installing the database container >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    ehoney-mysql
    stop and rm docker container [ehoney-mysql]...
    ehoney-mysql
    ehoney-mysql
    dos2unix: 正在转换文件 /home/cent/Ehoney/tool/mysql-docker/setup.sh 为Unix格式...
    dos2unix: 正在转换文件 /home/cent/Ehoney/tool/mysql-docker/privileges.sql 为Unix格式...
    [+] Building 2.3s (9/9) FINISHED
    => [internal] load build definition from Dockerfile 0.0s
    => => transferring dockerfile: 290B 0.0s
    => [internal] load .dockerignore 0.0s
    => => transferring context: 2B 0.0s
    => [internal] load metadata for docker.io/library/mysql:5.6 2.3s
    => [1/4] FROM docker.io/library/mysql:5.6@sha256:20575ecebe6216036d25dab5903808211f1e9ba63dc7825ac20cb975e34cfcae 0.0s
    => [internal] load build context 0.0s
    => => transferring context: 1.01kB 0.0s
    => CACHED [2/4] COPY setup.sh /mysql/setup.sh 0.0s
    => CACHED [3/4] COPY schema.sql /mysql/schema.sql 0.0s
    => CACHED [4/4] COPY privileges.sql /mysql/privileges.sql 0.0s
    => exporting to image 0.0s
    => => exporting layers 0.0s
    => => writing image sha256:78793a24e918d274d59506383770181220a4dba3d28ebc563d3f62b35037e473 0.0s
    => => naming to docker.io/library/ehoney-mysql 0.0s
    cf1c028bf1f3750d9a4685100da3c32abb191e62e0ae7fbd20321bc7534702ae
    ehoney-mysql docker service start good
    end of database container installation >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    start install ehoney server >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    --------Start killing decept-defense process and its child processes---------
    golang is installed, skip!
    nohup: 重定向标准错误到标准输出
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 46 100 46 0 0 46000 0 --:--:-- --:--:-- --:--:-- 46000
    decept_defense service good
    end of ehoney server installation >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

all the services are ready and happy to use!!!
please set the correct system time zone!!!!!!!!
please visit url: [ http://192.168.1.6:8082/decept-defense ]

截图_2023-07-02T08-04-48 951Z

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions