Configuration keyword expected

From The Open Source Backup Wiki (Amanda, MySQL Backup, BackupPC)
Jump to navigationJump to search

This article is a part of the Troubleshooting collection.

Problem

Error messages such as the following from amcheck(8) command

"/etc/amanda/daily/amanda.conf", line 24: configuration keyword expected
"/etc/amanda/daily/amanda.conf", line 24: end of line expected
amcheck: errors processing config file "/etc/amanda/daily/amanda.conf"

Solution

  • Check if the parameter on the given line of the configuration file is valid. List of valid parameters is described in amanda.conf(5)
  • Check if the parameter on the given line is in the correct section. For example: Some parameters can be specified in global as well as dumptype section. Some parameters can only be present in a dumptype section.