This mode is necessary to find errors (for example, if the Astra process stops working for some reason.)
The simplest command for start the Astra:
astra -c /etc/astra/astra.conf -p 8000
notes:
astra - name of binary (executable) file
-c - path to configuration file
- p - port for the web interface. You can specify ip:port
(for Example: 192.168.3.2:8000)
Additional launch options:
--no-stdout
- disabling information message output to console;
--no-info
- disable informational messages;
--debug
- enable debug mode;
--log FILE
- logging to file (full path to log file);
--syslog name
- send messages to syslog, where name
is the name of the application, (you can set any for easy identification);
--pid FILE
- full path to pid file;
--daemon
- start the process in daemon mode;
--no-web-auth
- to disable authentication for the web interface;
--reset-password
- password reset (for more information, see the Reset password);
--slave
- starting in master/slave mode (detailed information in the menu section Failover configuration);
--license
- the path to the license file. By default, Astra searches for the license.txt
file in the directory /etc/astra .
Additional application:
--relay
- relay mode (detailed information in the menu section relay);
--analyze
- MPEG-TS analyzer. (detailed information in the menu section analyzer);
--femon
- the status of the DVB adapters;
--dvbls
- displays a list of DVB adapters with information about them.
Examples:
launch of Astra:
astra -c /etc/astra/astra.conf -p 8000 --pid /var/run/astra.pid --log /var/log/astra.log --daemon
This command will start the process astra with the configuration file /etc/astra/astra.conf, web interface on port 8000 - pid-file /var/run/astra.pid and sending the log to file /var/log/astra.log in daemon mode
Displays a list of dvb adapters
astra --dvbls
Apr 02 17:31:24: INFO: [main] Starting Astra
Apr 02 17:31:25: INFO: adapter = 3, device = 0
Apr 02 17:31:25: INFO: mac = 00:17:42:54:09:53
Apr 02 17:31:25: INFO: frontend = Montage DS3103/TS2022
Apr 02 17:31:25: INFO: type = S
Apr 02 17:31:25: INFO: adapter = 2, device = 0
Apr 02 17:31:25: INFO: mac = 00:17:42:54:09:52
Apr 02 17:31:25: INFO: frontend = Montage DS3103/TS2022
Apr 02 17:31:25: INFO: type = S
Apr 02 17:31:25: INFO: adapter = 1, device = 0
Apr 02 17:31:25: INFO: mac = 00:17:42:54:09:53
Apr 02 17:31:25: INFO: frontend = Montage DS3103/TS2022
Apr 02 17:31:25: INFO: type = S
Apr 02 17:31:25: WARNING: adapter = 0, device = 0
Apr 02 17:31:25: WARNING: adapter in use
Apr 02 17:31:25: WARNING: mac = 00:17:42:54:09:52
Apr 02 17:31:25: WARNING: frontend = Montage DS3103/TS2022
Apr 02 17:31:25: WARNING: type = S
From this data we can see that we have on the server 4 adapter Montage DS3103, and one of them (warning status) - is used.