3. Troubleshooting

This section describes some issues and how to resolve them. If you encounter an issue that is not covered here, see Reporting issues.

The zhmcclient Troubleshooting section also applies to the log forwarder.

3.1. Permission error with log forwarder config file

Example:

$ zhmc_log_forwarder -c config.yaml
Error: Permission error reading log forwarder config file ...

You don’t have permission to read from the log forwarder config file. Change the permissions with chmod, check man chmod if you are unfamiliar with it.

3.2. YAML syntax error in log forwarder config file

Example:

$ zhmc_log_forwarder -c config.yaml
Error: YAML error reading log forwarder config file ...

The log forwarder config file breaks the syntax rules of the YAML specification.

Compare your log forwarder config file with the sample log forwarder config file shown with zhmc_log_forwarder --help-config-file.

You can also check the YAML specification.

3.3. YAML validation error in log forwarder config file

Example:

$ zhmc_log_forwarder -c config.yaml
Error: Validation of log forwarder config file ... failed on ...

There are additional elements in the log forwarder config file, or required elements are missing, or other validation rules are violated.

Compare your log forwarder config file with the sample log forwarder config file shown with zhmc_log_forwarder --help-config-file.