Skip to main content
Skip table of contents

Cоmmands to operate Mediaserver

On this page, you find the commands to run that are related to operations of Mediaserver. The list includes the commands to perform the following actions:

  • View a server status.

  • Restart a service.

  • Start a service.

  • Stop a service.

  • Record and read logs.

View a server status

To view a server status, run the command:

BASH
sudo service vsaas status

Restart a service

A service restart is required when the configuration files are changed. Run the command:

BASH
sudo service vsaas restart

Start a service

Start the server after it was stopped for various reasons. Run the command:

CODE
sudo service vsaas start

Stop a service

It is required to stop a service when performing backup and recovery. Run the command:

CODE
sudo service vsaas stop

Logs

Logs and errors are recorded in their designated files:

CODE
/var/log/vsaas/media-server.log /var/log/vsaas/media-server.err 

View the service logs:

CODE
journalctl -u vsaas
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.