Support Center > Search Results > SecureKnowledge Details
When running a saved configuration file, configuration does not complete as expected (or completes with errors)
Symptoms
  • When running a saved configuration file, configuration does not complete as expected (or completes with errors).
  • add snmp interface eth2 command produces "Interface eth2 does not exist" error.
  • Gaia configuration commands are not saved sorted in a way that guarantees continuation when loading them from the file.

    Example from "/config/db/initial" file - user "myuser" is added to group "mygroup" before it is created with "add user":

    ... ... ...
    add group mygroup gid 3561
    add group mygroup member myuser
    add user myuser uid 1002 homedir /home/myuser
    set user myuser gid 100 shell /bin/bash
    set user myuser password-hash XXX/
    set user monitor shell /etc/cli.sh
    set user monitor password-hash *
    ... ... ...
    
Solution
Note: To view this solution you need to Sign In .