Comments (6)
Hi @CaosFR ,
When you type python3 dagda.py start
, you will check that four processes are started. Type ps -ef
for checking it:
- EDN listener
- Docker events daemon monitor
- Sysdig/Falco monitor
- Dagda web server
Without shutdown the server (don't type "CTRL+C") from another terminal, you can run python3 dagda.py vuln --init
for initializing the database. In this case, you must not get the "[Errno 111] Connection refused".
Please, check it and update me with more details if error persists.
from dagda.
TY for your reply and very sorry for my late response.
When I had type "type python3 dagda.py start" ans I had type "ps -ef" in other terminal I see something like that :
[...}
root 13319 2 0 13:48 ? 00:00:00 [kworker/2:2]
root 13453 12128 13 13:48 pts/0 00:00:00 python3 dagda.py start
root 13457 13453 0 13:49 pts/0 00:00:00 python3 dagda.py start
root 13458 13453 1 13:49 pts/0 00:00:00 python3 dagda.py start
root 13459 13453 2 13:49 pts/0 00:00:00 python3 dagda.py start
root 13479 1014 0 13:49 ? 00:00:00 docker-containerd-shim -namesp
root 13494 13479 0 13:49 ? 00:00:00 /usr/bin/falco
root 13555 12867 0 13:49 pts/1 00:00:00 ps -ef
[...]
Docker events daemon monitor (docker-containerd-shim -namesp), Sysdig/Falco monitor (/usr/bin/falco) and Dagda web server (python3 dagda.py start) look strat but I dont see EDN listener. I have to install them ?
Without shutdown the server, I had run python3 dagda.py vuln --init form another terminal. I dont get " "[Errno 111] Connection refused"." (nice). This time I get this message very quickly:
{
"msg": "Accepted the init db request"
}
It look good but the server dont start and the db dont look like populate. If I type command like "python3 dagda.py vuln --cve_info CVE-2009-2890" I had this message :
{
"err": 404,
"msg": "CVE not found"
}
TY for your help ! :)
from dagda.
Dagda server runs four processes:
- (EDN listener) root 13453 12128 13 13:48 pts/0 00:00:00 python3 dagda.py start
- (Docker events daemon monitor) root 13457 13453 0 13:49 pts/0 00:00:00 python3 dagda.py start
- (Sysdig/Falco monitor) root 13458 13453 1 13:49 pts/0 00:00:00 python3 dagda.py start
- (Dagda web server) root 13459 13453 2 13:49 pts/0 00:00:00 python3 dagda.py start
EDN listener and Dagda web server processes are Dagda internal features. The other processes watching /usr/bin/falco process and docker-containerd-shim process.
On other hand, python3 dagda.py vuln --init
is not a syncronized method, I mean, only the update process is started. You can see if that process has finished with python3 dagda.py vuln --init_status
and getting "Updated" state.
from dagda.
Oh I see, so my DAGDA strat correctly.
I have try type "python3 dagda.py vuln --init_status" and I get "Initializing". After more than one hours the state dont change. :[
My network work as well.
I'm a bit lost now.
TY
from dagda.
Step 1. Start Dagda server --> python3 dagda.py start
- Are you MongoDB running?
- Are you Dagda server running?
- Have you any error?
Step 2. Run init database process --> python3 dagda.py vuln --init
Step 3. Check init database process until it ends --> python3 dagda.py vuln --init_status
- Keep in mind that the init process depends on network and can take several minutes for finishing so be patient.
- After more than one hour, have you any error? Is your mongoDB empty? What mongodb collections have information?
from dagda.
This issue has not updated for a long time so I close it.
If you can update de information about this issue feel free for reopening it.
from dagda.
Related Issues (20)
- docker-compose instructions unclear and db error HOT 1
- docker-compose.yaml unfriendly to macos version of docker?
- dagda crashing when sent check job?
- When initialize database , I'm getting "TypeError: documents must be a non-empty list" error
- when i run python3 dagda.py vuln --product python --product_version=3.8-slim error 500 HOT 1
- When I inspect the container image, everything is fine. HOT 2
- Scanning image with included NPM project does not show NPM vulnerabilities HOT 1
- The problem of using docker-compose to build and deploy dagda is suspected to be a bug
- How to add custom falco rules HOT 1
- Vuln --init_status has been initializing and is never finishd
- docker image scan with dagda in standalone server mode. HOT 1
- Vuln --init fails HOT 2
- check result remains Analyzing HOT 1
- Dagda issue HOT 1
- Error while starting dagda (TypeError: an integer is required - got type bytes) HOT 3
- Scan containers running in K8s? HOT 1
- Many false-positives HOT 1
- Falcosecurity/ falco output file not found. HOT 4
- Publicly Accessible CVE Database
- docker compose build doesn't work: markupsafe dependency missing
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 dagda.