notification_email {
<email address hidden>
}
notification_email_from <email address hidden>
smtp_server 127.0.0.1
smtp_connect_timeout 60
}" | sudo tee /etc/keepalived/keepalived.conf >/dev/null
ubuntu@x:~$ sudo service keepalived start
ubuntu@x:~$ sudo service keepalived status
● keepalived.service - Keepalive Daemon (LVS and VRRP)
Loaded: loaded (/lib/systemd/system/keepalived.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-11-14 11:35:56 UTC; 18s ago
Process: 8850 ExecStart=/usr/sbin/keepalived $DAEMON_ARGS (code=exited, status=0/SUCCESS)
Main PID: 8854 (keepalived)
Tasks: 3
Memory: 1.7M
CPU: 11ms
CGroup: /system.slice/keepalived.service
├─8854 /usr/sbin/keepalived
├─8855 /usr/sbin/keepalived
└─8856 /usr/sbin/keepalived
Nov 14 11:35:56 x Keepalived_vrrp[8856]: Registering gratuitous ARP shared channel
Nov 14 11:35:56 x Keepalived_vrrp[8856]: Unable to load ipset library
Nov 14 11:35:56 x Keepalived_vrrp[8856]: Unable to initialise ipsets
Nov 14 11:35:56 x Keepalived_vrrp[8856]: Opening file '/etc/keepalived/keepalived.conf'.
Nov 14 11:35:56 x Keepalived_vrrp[8856]: Using LinkWatch kernel netlink reflector...
Nov 14 11:35:56 x Keepalived_healthcheckers[8855]: Initializing ipvs
Nov 14 11:35:56 x Keepalived_healthcheckers[8855]: Registering Kernel netlink reflector
Nov 14 11:35:56 x Keepalived_healthcheckers[8855]: Registering Kernel netlink command channel
Nov 14 11:35:56 x Keepalived_healthcheckers[8855]: Opening file '/etc/keepalived/keepalived.conf'.
Nov 14 11:35:56 x Keepalived_healthcheckers[8855]: Using LinkWatch kernel netlink reflector...
Are you running it in a container? If so, Patrick's comments will apply.
Hi Thorsten,
I tried installing keepalived on a fresh xenial VM, and all seems to be working:
karl@tp-work:~$ uvt-kvm create x release=xenial arch=amd64 label=daily
karl@tp-work:~$ uvt-kvm wait x
karl@tp-work:~$ uvt-kvm ssh x
ubuntu@x:~$ sudo apt update && sudo apt dist-upgrade -y && sudo apt install -y keepalived
ubuntu@x:~$ echo "global_defs {
notification _email { _email_ from <email address hidden> connect_ timeout 60 /keepalived. conf >/dev/null system/ keepalived. service; enabled; vendor preset: enabled) /usr/sbin/ keepalived $DAEMON_ARGS (code=exited, status=0/SUCCESS) slice/keepalive d.service keepalived keepalived keepalived
<email address hidden>
}
notification
smtp_server 127.0.0.1
smtp_
}" | sudo tee /etc/keepalived
ubuntu@x:~$ sudo service keepalived start
ubuntu@x:~$ sudo service keepalived status
● keepalived.service - Keepalive Daemon (LVS and VRRP)
Loaded: loaded (/lib/systemd/
Active: active (running) since Wed 2018-11-14 11:35:56 UTC; 18s ago
Process: 8850 ExecStart=
Main PID: 8854 (keepalived)
Tasks: 3
Memory: 1.7M
CPU: 11ms
CGroup: /system.
├─8854 /usr/sbin/
├─8855 /usr/sbin/
└─8856 /usr/sbin/
Nov 14 11:35:56 x Keepalived_ vrrp[8856] : Registering gratuitous ARP shared channel vrrp[8856] : Unable to load ipset library vrrp[8856] : Unable to initialise ipsets vrrp[8856] : Opening file '/etc/keepalive d/keepalived. conf'. vrrp[8856] : Using LinkWatch kernel netlink reflector... healthcheckers[ 8855]: Initializing ipvs healthcheckers[ 8855]: Registering Kernel netlink reflector healthcheckers[ 8855]: Registering Kernel netlink command channel healthcheckers[ 8855]: Opening file '/etc/keepalive d/keepalived. conf'. healthcheckers[ 8855]: Using LinkWatch kernel netlink reflector...
Nov 14 11:35:56 x Keepalived_
Nov 14 11:35:56 x Keepalived_
Nov 14 11:35:56 x Keepalived_
Nov 14 11:35:56 x Keepalived_
Nov 14 11:35:56 x Keepalived_
Nov 14 11:35:56 x Keepalived_
Nov 14 11:35:56 x Keepalived_
Nov 14 11:35:56 x Keepalived_
Nov 14 11:35:56 x Keepalived_
Are you running it in a container? If so, Patrick's comments will apply.