1. Home
  2. Docs
  3. Spectr
  4. Launch and use
  5. Licensing

Licensing

At each start spectr, when the configuration file does not change the license data, log files will be added records containing mediacode. The same record will be displayed in the console if spectr is not running as a service. The following is an example of the conclusion:

Thu Jan 1 00:00:00 1970 [main] [critical] check_license[2556: License incorrect. Media code:
wgZ88fdNwkxZ7rb5C70I2202BoM8C5Q9
9LzbrJPODt44WKWabQDY2kMXjVrueTLD
CfCiLGQ6TvluV4Q2NlJujwzHj2nnEEzf
52D35cAS4zMyzXwuWPludf4wE6QojE1J
xqjyJKjALnpFA1x0Zu2o8j3yng94rPhz

In this example, the media code:

wgZ88fdNwkxZ7rb5C70I2202BoM8C5Q9
9LzbrJPODt44WKWabQDY2kMXjVrueTLD
CfCiLGQ6TvluV4Q2NlJujwzHj2nnEEzf
52D35cAS4zMyzXwuWPludf4wE6QojE1J
xqjyJKjALnpFA1x0Zu2o8j3yng94rPhz

This value must be inserted into the appropriate field in the license generation window in the operator’s personal account, and then copy the resulting key with all the license parameters that must be written in the configuration file in the block «license» (by default it's a file) /etc/spectr/spectr/conf).