Installing the GNC-A Ingestion software on Debian 10.3

Author: Alejandro Aguilar Sierra | Contact: [email protected]

Laboratorio Nacional de Observación de la Tierra, UNAM, México

KenCast_Debian_Banner

Hi GEONETCasters! This procedure was kindly written by Alejandro Aguilar Sierro, from LANOT (National Laboratory for Earth Observation) at UNAM (National Autonomous University of Mexico).

Please check the other contributions from the LANOT team at the following links:

Thanks LANOT! And below, the procedure written by Alejandro Sierra:


In this blog post we’ll learn how to install the GNC-A ingestion software (KENCAST FAZZT PROFESSIONAL CLIENT VERSION 9.2) on Debian 10.3.

First, some important notes:

  • This procedure was tested on Linux Debian 10.x, which is the current stable version. If your system has a previous version, the update is advised.
  • FAZZT v 9.2 currently doesn’t support Debian by default, and the procedure described here is different to the one used to install on Ubuntu, so if you still want to do it, do it at your own risk. You had been warned.
  • In order to install FAZZT, is necessary to install Apache2 and the PostgreSQL Database, as shown on this procedure.
  • It is mandatory to create an account called “fazzt”. This is required for the FAZZT database to work.

Why Debian?

  • It is a very robust distribution with 25 years of experience, completely able to be used in servers.
  • Usually it is updated faster than other distributions and have a wider base of packages and software.
  • It’s not as friendly as Ubuntu but as efficient as CentOs.

PART I: PREINSTALL

Install Apache2 and PostgreSQL, as root:

# apt update
# apt install apache2 postgresql

Create the user fazzt:

# adduser fazzt

Get the most recent installation file for CentOs from KenCast. In our case, we will use the following installer, provided by KenCast:

Fazzt-Professional-Client-rhel7-9.2.0.0-1.x86_64.rpm

Now, the most important part of the trick: use the Debian tool called alien to create a corresponding “deb” file.

If that is too complicated, by all means you can get ours from the following link:

fazzt-professional-client-rhel7_9.2.0.0-2_amd64.deb

PART II: INSTALLATION

Use the generated “deb” file to install the Fazzt Professional Client:

# dpkg -i fazzt-professional-client-rhel7_9.2.0.0-2_amd64.deb

Now, the “alien” tool did a very good but imperfect work, so you will have to do a couple of adjustments by hand. The Apache’s configuration and module files were installed in the wrong directory. Just copy them to the correct one:

# cp -p /etc/httpd/conf.d/S10-fsp.conf /etc/apache2/conf-available/S10-fsp.conf
# cp -p /etc/httpd/conf.d/S60-fazzt-admin.conf /etc/apache2/conf-available/S60-fazzt-admin.conf
# cp -p /etc/httpd/modules/mod_fsp.so /usr/lib/apache2/modules/mod_fsp.so

Create the file /etc/apache2/mods-available/fsp.load with the following line:

LoadModule fsp_module /usr/lib/apache2/modules/mod_fsp.so

Enable the config files and module:

# a2enconf S10-fsp
# a2enconf S60-fazzt-admin
# a2enmod fsp

Correct a couple of mistakes in these files:

/etc/apache2/conf-available/S10-fsp.conf
-LoadModule fsp_module modules/mod_fsp.so
+#LoadModule fsp_module modules/mod_fsp.so

and:

/etc/apache2/conf-available/S60-fazzt-admin.conf
-		ErrorLog logs/Fazzt-admin-error.log
-		CustomLog logs/Fazzt-admin-access.log common
+		ErrorLog Fazzt-admin-error.log
+		CustomLog Fazzt-admin-access.log common

Don’t forget to install the FAZZT KenCast license provided by KenCast:

# /usr/share/Fazzt/bin/fconf set license PCXXXXXX.kcl

Now you are ready. Start the FAZZT service:

# systemctl start fazzt.service

If everything was right, you must see your service active and without errors. The first start will create the database and its corresponding user and password, and the same for fazzt, which you can verify from the user postgres.

# su - postgres
$ psql fazzt
psql (11.7 (Debian 11.7-2.pgdg100+1))
Type "help" for help.

fazzt=# \dt
List of relations
Schema |               Name               | Type  | Owner
--------+----------------------------------+-------+-------
public | applicationinstances             | table | fazzt
public | applicationschedules             | table | fazzt
public | applicationservices              | table | fazzt
public | applicationservicetypes          | table | fazzt
public | applicationtypes                 | table | fazzt
public | channels                         | table | fazzt
public | channeltypes                     | table | fazzt
public | defaultschedule                  | table | fazzt
public | fazzttbls                        | table | fazzt
public | forwardingconditionactiondefault | table | fazzt
public | forwardingconditionactionrules   | table | fazzt
public | forwardingrules                  | table | fazzt
public | globalattributes                 | table | fazzt
public | notes                            | table | fazzt
public | receivedfiles                    | table | fazzt
public | schedule                         | table | fazzt
public | selectivereception               | table | fazzt
public | selectivereceptiongroups         | table | fazzt
public | streams                          | table | fazzt
public | transmissions                    | table | fazzt
(20 rows)

fazzt=#

If you don’t see those tables, something went wrong. Perhaps you just have to comment the line 382 of the startup file /usr/share/Fazzt/bin/fazzt-setup since createlang is no more supported nor necessary in current Postgres. Try again.

It is important to note that Debian uses nftables instead of iptables to configure a firewall and you will have to open the port 4039 and accept everything from the interface you use to connect the decoder. In my case, I had to add these lines to /etc/nftables.conf and restart the nftables service.

iifname eno4 accept
tcp dport 4039 accept

Now restart Apache.

# systemctl restart apache2

PART III: KENCAST FAZZT CONFIGURATION

Let’s configure the FAZZT Client for the GNC-A ingestion. At the menu on the left, choose “Configuration” -> “Channels” and then, at the “Channels” window, choose “Channels Defaults”. At “Interface”, choose the IP address of the Network Card where you have your DVB-S receiver connected. Click on “Save”.

KCa.png

– Select the ingestion folder at “Configurations”“Storage Settings”“Virtual Paths: View/Edit”

KCb.png

– Click at the backslash \” as shown on the image below and choose the folder where the received files will be stored. In this procedure we suggested “/data/fazzt” but it may be any folder you want.

KCc.png

– Back to the “Channels” interface, click at the “1.Main” channel:

KCd.png

– And at “Interface”, choose “default”:

KCe.png

– After a while (a couple of minutes), you should see the GNC-A Broadcast channels being listed at the “Configuration”“Channels” interface.

KCf.png

Congreatulations! Your GNC-A station is ingesting!


To check other procedures to install the FAZZT PROFESSIONAL CLIENT, please access the links below:

Upcoming changes for blended TPW product on GNC-A

TPW_TPWA

TPW and TPW Anomaly Hourly Product, as seen on SHOWCast

united_states_of_america_round_icon_640

Topic:  Upcoming changes for blended TPW product on GNC-A
Date/Time Issued: March 30, 2020 1855 UTC
Product(s) or Data Impacted:  Blended TPW product on GNC-A
Date/Time of Initial Impact: April 2, 2020 1700 UTC
Date/Time of Expected End: June 2020
Length of Event:  Permanent change

Details/Specifics of Change: On Thursday, April 2, 2020, NOAA will add Blended Total Precipitable Water (TPW) product in NetCDF4 format. We will terminate existing legacy HDF-EOS files (in HDF4 format) in ~June 2020.

Please switch your scripts to use the NetCDF4 format.  Folder: JPSS/PRODUCTS/BTPW

Contact Information for Further Information: [email protected] for information on GNC-A Program

brazil_640

Assunto: Administrativo: Produto “Blended TPW” no formato NetCDF4 no GNC-A; Emitido: 30 de março de 2020, XXXX UTC
Tópico: Alteração do produto “Blended TPW” no GNC-A
Data / Hora da Emissão: 30 de março de 2020, XXXX UTC
Produto(s) ou Dados Impactados: Produto “Blended TPW” no GNC-A
Data / Hora do Impacto Inicial: 2 de abril de 2020, 17:00 UTC
Data / Hora Esperada para Término: Junho de 2020
Duração do Evento: Mudança permanente

Detalhes / Mudanças Específicas:  Na quinta-feira, 2 de abril de 2020, a NOAA adicionará o produto “Blended Total Precipitable Water (TPW)” no formato NetCDF4. Excluiremos da transmissão os arquivos HDF-EOS atuais (no formato HDF4) em ~ junho de 2020.

Por favor, mude seus scripts para usar o formato NetCDF4. Pasta: JPSS / PRODUCTS / BTPW

Contato para mais informações:
[email protected] para informações sobre o programa GNC-A.

spain_640

Asunto: Administrativo: Producto “Blended TPW” en el formato NetCDF4 en GNC-A; Emitido: 30 de marzo de 2020, XXXX UTC
Tema: Cambio en el producto “Blended TPW” en GNC-A
Fecha / hora de emisión: 30 de marzo de 2020, XXXX UTC
Producto(s) o Datos Afectados:  Producto “Blended TPW” en GNC-A
Fecha / hora del impacto inicial: 2 de abril de 2020, 17:00 UTC
Fecha / Hora de finalización prevista: Junio de 2020
Duración del evento: Cambio permanente

Detalles del cambio:  En el jueves, 2 de abril de 2020, NOAA agregará el producto “Blended Total Precipitable Water (TPW)” en elformato NetCDF4. Eliminaremos los archivos HDF-EOS actuales (en formato HDF4) de la transmisión en ~ junio de 2020.

Por favor, cambie sus scripts para usar el formato NetCDF4. Carpeta: JPSS / PRODUCTS / BTPW

Contacto para más información:
[email protected] para información sobre el programa GNC-A