The List of vxCube Services

The table below contains a full list of services installed with vxCube (except for those that are part of OS Astra Linux 1.7.3) with paths to their event logs.

Service

Path to log file or command to view log

Description

Infrastructure services

nginx.service

/var/log/nginx

A high performance web server and a reverse proxy server

openvpn.service

/var/log/openvpn

OpenVPN service

openvpn@client.service

sudo journalctl -u openvpn@client.service

OpenVPN connection to client

proftpd.service

/var/log/proftpd

Starts ProFTPD daemon

containerd.service

sudo journalctl -u containerd.service

containerd container runtime

docker.service

sudo journalctl -u docker.service

Docker Application Container Engine

rabbitmq-server.service

/var/log/rabbitmq/

RabbitMQ Messaging Server

General virtualization services

vboxdrv.service

sudo journalctl -u vboxdrv.service

VirtualBox Linux kernel module

vboxnet.service

sudo journalctl -u vboxnet.service

VirtualBox Network Service

vboxsvc.service

sudo journalctl -u vboxsvc.service

VirtualBox Service

vboxapi.service

sudo journalctl -u vboxapi.service

VirtualBox API Service

vboxautostart-service.service

sudo journalctl -u vboxautostart-service.service

VirtualBox autostart service

vboxballoonctrl-service.service

sudo journalctl -u vboxballoonctrl-service.service

VirtualBox watchdog daemon

vboxweb-service.service

sudo journalctl -u vboxweb-service.service

VirtualBox web service API

Windows virtualization services

hyperbox_<*>_vxcube.service,

where <*> stands for the name of a supplied Windows image, such as hyperbox_win10x64_1903_vxcube.service

/var/log/hyperbox/

Celery Worker for hyperbox_<*>_vxcube 1,3,

where <*> stands for the name of a Windows image supplied with the installer, such as win7x86, win10x64_1903, win7x64, winxpx86 (there can be several such services)

hbcheck.service

sudo journalctl -u hbcheck.service

Hyperbox check

Android virtualization services

dimas_<*>vxcube.service,

where <*> stands for the name of a supplied Android image, such as dimas_android4.3_vxcube.service

/var/log/dimas

Celery Worker Dimas для dimas_<*>_vxcube 1,1,

where <*> stands for the name of an Android image supplied with the installer, such as android4.3, android7.1 (there can be several such services)

dimasnet.service

sudo journalctl -u dimasnet.service

dimasnet vboxifs init oneshot service

vboxapi_android.service

/var/log/dimas/vboxapi

Android VirtualBox API Service

System, network tools

binfmt-support.service

sudo journalctl -u binfmt-support.service

Enables support for additional executable binary formats

loadcpufreq.service

sudo journalctl -u loadcpufreq.service

Loads kernel modules needed to enable CPUFreq scaling

cpufrequtils.service

sudo journalctl -u cpufrequtils.service

Sets CPUFreq kernel parameters

netfilter-persistent.service

sudo journalctl -u netfilter-persistent.service

netfilter persistent configuration

isc-dhcp-server.service

sudo journalctl -u isc-dhcp-server.service

ISC DHCP IPv4 server

Analyzer service

evparser.service

/var/log/evparser

EvParser service

vxCube Flow API service

vxcube-flow-api.service

/var/log/vxcube-flow-api

HyperboxAPI

vxCube services run in Docker containers

vxcube-web

/var/log/vxcube/testing

vxCube web interface

Path to docker-compose file: /var/lib/vxcube/active/docker-compose.yml

vxcube-redis

In the directory where docker-compose files are stored:

sudo docker-compose logs

Path to docker-compose file: /var/lib/vxcube/active/docker-compose.yml

vxcube-postgres

In the directory where docker-compose files are stored:

sudo docker-compose logs

Path to docker-compose file: /var/lib/vxcube/active/docker-compose.yml

yara-service

/var/log/yara_service

Path to docker-compose file: /etc/yara_service/docker-compose.yml

drweb-service_drweb-srv_1

/var/log/drweb

Path to docker-compose file: /etc/drweb-service/docker-compose.yml

drweb-service_drweb-se_1

In the directory where docker-compose files are stored:

sudo docker-compose logs

Path to docker-compose file: /etc/drweb-service/docker-compose.yml

warning_green

To view real-time logs, use the command tail -f <path to log file>.

If you use the jourtnalctl and docker-compose logs commands to view logs, follow the logs in real time using the -f option.

To collect logs for the technical support team, you can also use the following script:

if [ "$EUID" -ne 0 ]
 then echo "Please run as root"
 exit
fi
rm -rf support.tar.gz support.tar
set -x
ifconfig > ifconfig.log
journalctl -b > journal.log
tar -P -cf support.tar /var/log/drweb /var/log/evparser /var/log/vxcube/testing /var/log/nginx /var/log/hyperbox /var/log/openvpn /var/log/proftpd ifconfig.log journal.log /var/lib/hyperbox/hbsetup.log
find "/var/lib/hyperbox/VirtualBox VMs/" -type d -name "Logs" -exec tar -P -rvf support.tar {} \;
rm -rf ifconfig.log
rm -rf journal.log
gzip support.tar
set +x

To restart services that run in Docker containers

1.Go to the directory where the respective docker-compose files are saved.

2.Run commands to restart the service.

For the file /var/lib/vxcube/active/docker-compose.yml:

cd /var/lib/vxcube/active/

sudo docker-compose down

sudo docker-compose up -d

For the file /etc/yara_service/docker-compose.yml:

cd /etc/yara-service

sudo docker-compose down

sudo docker-compose up -d

Для /etc/drweb-service/docker-compose.yml:

cd /etc/drweb-service

sudo docker-compose down

sudo docker-compose up -d

warning_green

To monitor the state of vxCube components, you can optionally install a Zabbix agent.