Why am I seeing "Unknown keyword" lines in the keepalived logs and keepalived is not fully starting?

Solution In Progress - Updated -

Issue

  • keepalived fails to set the VIP
  • The following messages appear in /var/log/messages:

    Keepalived[43827]: Opening file '/etc/keepalived/keepalived.conf'.
    Keepalived[43827]: (Line 7) Unknown keyword 'vrrp_instace'
    Keepalived[43827]: (Line 7) Unexpected '{' - ignoring
    Keepalived[43827]: (Line 8) Unknown keyword 'interface'
    Keepalived[43827]: (Line 9) Unknown keyword 'state'
    Keepalived[43827]: (Line 10) Unknown keyword 'virtual_router_id'
    Keepalived[43827]: (Line 11) Unknown keyword 'priority'
    Keepalived[43827]: (Line 12) Unknown keyword 'virtual_ipaddress'
    Keepalived[43827]: (Line 12) Unexpected '{' - ignoring
    Keepalived[43827]: (Line 13) Unknown keyword 'xxx.xxx.xxx.xxx'
    Keepalived[43827]: (Line 14) Unknown keyword '}'
    ...
    Keepalived[43827]: (Line 18) Unknown keyword '}'
    

Environment

  • Red Hat Enterprise Linux 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content