Skip to content

Ghid de depanare


Cuprins

Erori interfata web si probleme probabile

In interfata web apare eroarea/Caz 1

Error: An Internal Error Has Occurred. Please check the that required services are running.

Probabil serverul mysql oprit /crash. Se verifica prin ssh cu systemctl status mysql.service

Daca serviciul nu arata ca ar fi "running":

mysql.service - LSB: Start and stop the mysql database server daemon
   Loaded: loaded (/etc/init.d/mysql)
   Active: inactive (dead) since Mon 2016-09-12 09:37:28 EEST; 1min 43s ago
  Process: 15510 ExecStop=/etc/init.d/mysql stop (code=exited, status=0/SUCCESS)
  Process: 548 ExecStart=/etc/init.d/mysql start (code=exited, status=0/SUCCESS)

Problema se rezolva cu comanda ( systemctl restart mysql.service )

Se verifica cu systemctl status mysql.service

mysql.service - LSB: Start and stop the mysql database server daemon
   Loaded: loaded (/etc/init.d/mysql)
   Active: active (running) since Mon 2016-09-12 09:40:48 EEST; 2s ago
  Process: 15510 ExecStop=/etc/init.d/mysql stop (code=exited, status=0/SUCCESS)
  Process: 15959 ExecStart=/etc/init.d/mysql start (code=exited, status=0/SUCCES)

In interfata web apare eroarea/Caz 2

Error: Connecting to main datastore. Are all the services running? Connection refused

Probabil server mysql oprit /crash. Se verifica prin ssh cu systemctl status mysql.service

Daca serviciul nu arata ca ar fi running :

mysql.service - LSB: Start and stop the mysql database server daemon
   Loaded: loaded (/etc/init.d/mysql)
   Active: inactive (dead) since Mon 2016-09-12 09:37:28 EEST; 1min 43s ago
  Process: 15510 ExecStop=/etc/init.d/mysql stop (code=exited, status=0/SUCCESS)
  Process: 548 ExecStart=/etc/init.d/mysql start (code=exited, status=0/SUCCESS)
Problema se rezolva cu systemctl restart mysql.service

Problema se rezolva cu systemctl restart mysql.service Se verifica cu systemctl status mysql.service

mysql.service - LSB: Start and stop the mysql database server daemon
   Loaded: loaded (/etc/init.d/mysql)
   Active: active (running) since Mon 2016-09-12 09:40:48 EEST; 2s ago
  Process: 15510 ExecStop=/etc/init.d/mysql stop (code=exited, status=0/SUCCESS)
  Process: 15959 ExecStart=/etc/init.d/mysql start (code=exited, status=0/SUCCES

SAU

Probabil serverul Online DataStorage oprit /crash. Se verifica prin ssh cu systemctl status opensearch.service

Daca serviciul nu arata ca ar fi running :

opensearch.service - opensearch init script wrapper
     Loaded: loaded (/lib/systemd/system/opensearch.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Fri 2023-04-28 13:13:38 EEST; 2 min 5s ago
    Process: 3416812 ExecStart=/bin/bash -c /usr/bin/docker compose -f /var/opt/cyberquest/compose/docker-compose.yml up opensearch > /var/log/opensearch.log (code=exited, status=1/FAILURE)
   Main PID: 3416812 (code=exited, status=1/FAILURE)
        CPU: 124ms

Problema se rezolva cu systemctl restart opensearch.service

Se verifica cu systemctl status opensearch.service

opensearch.service - opensearch init script wrapper
     Loaded: loaded (/lib/systemd/system/opensearch.service; enabled; vendor preset: enabled)
     Active: active (running) since Mon 2023-05-08 14:58:30 EEST; 23s ago
   Main PID: 52055 (bash)
      Tasks: 19 (limit: 19172)
     Memory: 22.7M
        CPU: 141ms
     CGroup: /system.slice/opensearch.service
             ├─52055 /bin/bash -c /usr/bin/docker compose -f /var/opt/cyberquest/compose/docker-compose.yml up opensearch > /var/log/opensearch.log
             ├─52056 /usr/bin/docker compose -f /var/opt/cyberquest/compose/docker-compose.yml up opensearch
             └─52070 /usr/libexec/docker/cli-plugins/docker-compose compose -f /var/opt/cyberquest/compose/docker-compose.yml up opensearch

In interfata web apare eroarea/Caz 3

Error: Connecting to main datastore. Are all the services running? Online DataStorage Error: Error

Probabil serverul online datastorage oprit /crash. Se verifica prin ssh cu systemctl status opensearch.service

Daca serviciul nu arata ca ar fi ''running'' :

opensearch.service - opensearch init script wrapper
     Loaded: loaded (/lib/systemd/system/opensearch.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Fri 2023-04-28 13:13:38 EEST; 2 min 5s ago
    Process: 3416812 ExecStart=/bin/bash -c /usr/bin/docker compose -f /var/opt/cyberquest/compose/docker-compose.yml up opensearch > /var/log/opensearch.log (code=exited, status=1/FAILURE)
   Main PID: 3416812 (code=exited, status=1/FAILURE)
        CPU: 124ms

Problema se rezolva cu systemctl restart opensearch.service

Se verifica cu systemctl status opensearch.service

opensearch.service - opensearch init script wrapper
     Loaded: loaded (/lib/systemd/system/opensearch.service; enabled; vendor preset: enabled)
     Active: active (running) since Mon 2023-05-08 14:58:30 EEST; 23s ago
   Main PID: 52055 (bash)
      Tasks: 19 (limit: 19172)
     Memory: 22.7M
        CPU: 141ms
     CGroup: /system.slice/opensearch.service
             ├─52055 /bin/bash -c /usr/bin/docker compose -f /var/opt/cyberquest/compose/docker-compose.yml up opensearch > /var/log/opensearch.log
             ├─52056 /usr/bin/docker compose -f /var/opt/cyberquest/compose/docker-compose.yml up opensearch
             └─52070 /usr/libexec/docker/cli-plugins/docker-compose compose -f /var/opt/cyberquest/compose/docker-compose.yml up opensearch