./scripts/start not returning to command line after containers have started #1017
|
Describe the bug
Meanwhile, the Java process is running at around 60% CPU. Btw, Malcolm version 26.04.1 has already been successfully installed and running perfectly on this exact hardware before. Expected behavior Malcolm Version:
How are you running Malcolm? Additional context |
Replies: 4 comments 12 replies
|
Same Problem with 26.06. I also changed the OS from Ubuntu 26.04 LTS to 24.04 LTS.
|
|
Those debug messages don't necessarily indicate a startup problem to me, so let's see if we can figure out what we think is hanging specifically. First, run $ ./scripts/status
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
malcolm-api-1 ghcr.io/idaholab/malcolm/api:26.06.0 "/usr/bin/tini -- /u…" api 5 minutes ago Up 5 minutes (healthy) 5000/tcp
malcolm-arkime-1 ghcr.io/idaholab/malcolm/arkime:26.06.0 "/usr/bin/tini -- /u…" arkime 5 minutes ago Up 5 minutes (healthy) 8000/tcp, 8005/tcp, 8081/tcp
malcolm-arkime-live-1 ghcr.io/idaholab/malcolm/arkime:26.06.0 "/usr/bin/tini -- /u…" arkime-live 5 minutes ago Up 5 minutes (healthy)
malcolm-dashboards-1 ghcr.io/idaholab/malcolm/dashboards:26.06.0 "/usr/bin/tini -- /u…" dashboards 5 minutes ago Up 5 minutes (healthy) 5601/tcp
malcolm-dashboards-helper-1 ghcr.io/idaholab/malcolm/dashboards-helper:26.06.0 "/usr/bin/tini -- /u…" dashboards-helper 5 minutes ago Up 5 minutes (healthy) 28991/tcp
malcolm-filebeat-1 ghcr.io/idaholab/malcolm/filebeat-oss:26.06.0 "/usr/bin/tini -- /u…" filebeat 5 minutes ago Up 5 minutes (healthy) 0.0.0.0:514->514/tcp, 0.0.0.0:5045->5045/tcp, 0.0.0.0:514->514/udp
malcolm-filescan-1 ghcr.io/idaholab/malcolm/filescan:26.06.0 "/usr/bin/tini -- /u…" filescan 5 minutes ago Up 5 minutes (healthy) 8001/tcp, 8006/tcp
malcolm-freq-1 ghcr.io/idaholab/malcolm/freq:26.06.0 "/usr/bin/tini -- /u…" freq 5 minutes ago Up 5 minutes (healthy) 10004/tcp
malcolm-htadmin-1 ghcr.io/idaholab/malcolm/htadmin:26.06.0 "/usr/bin/tini -- /u…" htadmin 5 minutes ago Up 5 minutes (healthy) 80/tcp
malcolm-keycloak-1 ghcr.io/idaholab/malcolm/keycloak:26.06.0 "/usr/bin/tini -- /u…" keycloak 5 minutes ago Up 5 minutes (healthy) 8080/tcp, 8443/tcp, 9000/tcp
malcolm-logstash-1 ghcr.io/idaholab/malcolm/logstash-oss:26.06.0 "/usr/bin/tini -- /u…" logstash 5 minutes ago Up 5 minutes (healthy) 9001/tcp, 0.0.0.0:5044->5044/tcp, 9600/tcp
malcolm-netbox-1 ghcr.io/idaholab/malcolm/netbox:26.06.0 "/usr/bin/tini -- /u…" netbox 5 minutes ago Up 5 minutes (healthy) 9001/tcp
malcolm-nginx-proxy-1 ghcr.io/idaholab/malcolm/nginx-proxy:26.06.0 "/sbin/tini -- /usr/…" nginx-proxy 5 minutes ago Up 5 minutes (healthy)
malcolm-opensearch-1 ghcr.io/idaholab/malcolm/opensearch:26.06.0 "/usr/bin/tini -- /u…" opensearch 5 minutes ago Up 5 minutes (healthy) 9200/tcp, 9300/tcp, 9600/tcp, 9650/tcp
malcolm-pcap-capture-1 ghcr.io/idaholab/malcolm/pcap-capture:26.06.0 "/usr/bin/tini -- /u…" pcap-capture 5 minutes ago Up 5 minutes (healthy)
malcolm-pcap-monitor-1 ghcr.io/idaholab/malcolm/pcap-monitor:26.06.0 "/usr/bin/tini -- /u…" pcap-monitor 5 minutes ago Up 5 minutes (healthy) 30441/tcp
malcolm-postgres-1 ghcr.io/idaholab/malcolm/postgresql:26.06.0 "/sbin/tini -- /usr/…" postgres 5 minutes ago Up 5 minutes (healthy) 5432/tcp
malcolm-strelka-backend-1 ghcr.io/idaholab/malcolm/strelka-backend:26.06.0 "/usr/bin/tini -- /u…" strelka-backend 5 minutes ago Up 5 minutes (healthy)
malcolm-strelka-frontend-1 ghcr.io/idaholab/malcolm/strelka-frontend:26.06.0 "/sbin/tini -- /usr/…" strelka-frontend 5 minutes ago Up 5 minutes (healthy) 57314/tcp
malcolm-strelka-manager-1 ghcr.io/idaholab/malcolm/strelka-manager:26.06.0 "/sbin/tini -- /usr/…" strelka-manager 5 minutes ago Up 5 minutes (healthy)
malcolm-suricata-1 ghcr.io/idaholab/malcolm/suricata:26.06.0 "/usr/bin/tini -- /u…" suricata 5 minutes ago Up 5 minutes (healthy)
malcolm-suricata-live-1 ghcr.io/idaholab/malcolm/suricata:26.06.0 "/usr/bin/tini -- /u…" suricata-live 5 minutes ago Up 5 minutes (healthy)
malcolm-upload-1 ghcr.io/idaholab/malcolm/file-upload:26.06.0 "/usr/bin/tini -- /u…" upload 5 minutes ago Up 5 minutes (healthy) 80/tcp, 0.0.0.0:8022->22/tcp
malcolm-valkey-1 ghcr.io/idaholab/malcolm/valkey:26.06.0 "/sbin/tini -- /usr/…" valkey 5 minutes ago Up 5 minutes (healthy) 6379/tcp
malcolm-valkey-cache-1 ghcr.io/idaholab/malcolm/valkey:26.06.0 "/sbin/tini -- /usr/…" valkey-cache 5 minutes ago Up 5 minutes (healthy) 6379/tcp
malcolm-zeek-1 ghcr.io/idaholab/malcolm/zeek:26.06.0 "/usr/bin/tini -- /u…" zeek 5 minutes ago Up 5 minutes (healthy)
malcolm-zeek-live-1 ghcr.io/idaholab/malcolm/zeek:26.06.0 "/usr/bin/tini -- /u…" zeek-live 5 minutes ago Up 5 minutes (healthy) Next, can you hit your Malcolm IP address or host name? If you can, go to {
"arkime": true,
"dashboards": true,
"dashboards_maps": true,
"extracted_files": true,
"filebeat_tcp": true,
"filescan": true,
"freq": true,
"logstash_lumberjack": true,
"logstash_pipelines": true,
"netbox": true,
"opensearch": true,
"pcap_monitor": true,
"redis": true,
"redis_cache": true,
"strelka": true
}If you can't hit your Malcolm IP or hostname, run this command from the command line in the Malcolm installation directory. Let's also check resources. Run Once we figure out what container or process are "hung" we can dig into why. |
|
Here my Output: xxxxxxxxxx@malcolm:~/Malcolm$ ./scripts/status xxxxxxxxxx@malcolm: It seems that Malcolm is running, Slow but it is running. Now the script "./scripts/start" is still running. But it shows the webrequest and so on. |
|
So in the meanwhile everthing is running fine. I'can quit the running startup script if all conatiners are healthy. It looks like the script does not exit if everything is running fine. Maybe this could be a bug. |
I think I understand what's going on now.. simply invoking ./script/start without the -q (QUIET) option, will show logs from Malcolm containers that are starting up and somehow does not exit and keeps showing the logs from certain containers, leading to a mistaken assumption that the startup got hung. With the -q parameter, the script exits properly.