LOG

Log Messages

Astra could write logs into next destinations:

Log messages has four types:

Description of errors and ways to solve them:

Typical log message:

fe has lock. status:SCVYL signal:60% snr:80% ber:0 unc:0

Status of the DVB adapter is described by several values

Too many open files

Error occurs if number of active connections or opened files greater than the operating system limit. To check current limit use next command:

grep "open files" /proc/PID/limits

PID — is an unique process identifier, to get it launch: ps ax | grep astra

To increase system limit, launch ulimit -n 65536 before Astra. The command can be launched in the autorun script init.d.

PAT: stream with id * is not found

No channel with the specified number (pnr) was found in the stream. To check available channels, you must scan the source.

Device or resource busy

The error occurs when trying to use DVB adapter occupied by another process. You can check the list of adapters and their status by using the command: astra --dvbls

Examples of command output:

Free adapter:

Nov 10 09:00:00: INFO: adapter = 3, device = 0
Nov 10 09:00:00: INFO:     mac = 00:17:42:00:00:00
Nov 10 09:00:00: INFO:     frontend = Montage DS3103/TS2022
Nov 10 09:00:00: INFO:     type = S

Adapter busy:

Nov 10 09:00:00: WARNING: adapter = 2, device = 0
Nov 10 09:00:00: WARNING:     adapter in use
Nov 10 09:00:00: WARNING:     mac = 00:17:42:54:09:52
Nov 10 09:00:00: WARNING:     frontend = Montage DS3103/TS2022
Nov 10 09:00:00: WARNING:     type = S

Error, possibly a hardware issue, or you need to reinstall the drivers:

Nov 10 09:00:00: ERROR: adapter = 1, device = 0
Nov 10 09:00:00: ERROR:     failed to open [Bad file descriptor]

To determine which process the adapter uses, use the following command: lsof | grep adapterX | head -n1 - where X is the adapter number.

Address already in use

The error occurs when trying to use a TCP port occupied by another process. To view the list of open ports, use the command: netstat -tnlp

Resource temporarily unavailable

The network adapter cannot cope with the amount of data coming from the process. Main reason:

PES-Error

ls an error in the header of the packet with video or audio. Main reasons:

CC-Error

The CC-Error incrementing with each discontinuity of the continuity counter.
MPEG-TS stream being split to the packets MPEG-TS stream splitted into the packets. Each packet has a continuity counter field with value in range 0-15. The continuity counter value incrementing with each packet and wraps to 0 after its maximum value. The CC-Error incrementing with each discontinuity of the continuity counter. Possible causes:

Channel has no active inputs

The error occurs if the channel does not have available sources for switching. In the channel settings (Single program Stream) you can specify multiple sources (Input) for reservation. Sources work in order, in case of failure of the first source, there is a switch to the second and so on. The error occurs if the channel does not have available sources for switching.

The cause of the source failure can be determined from other messages in the log, or you can check the incoming flow by using the flow analyzer: astra –analyze ADDRESS.

ECM Not Found

Not found a key for software decryption of the stream. Possible cause:

Both keys changed