问题说明
为了在docker中模拟keepalived+nginx实现高可用,在docker中启动keepalived时,出现如下错误:
Failed to dynamic link an ipset function - /lib64/libipset.so: undefined symbol: ipset_session_error
解决方案
在宿主机中安装keepalived,然后启动即可,之后可停止可卸载。
安装keepalived
yum install -y gcc openssl-devel popt-devel
yum install keepalived -y
启动
systemctl start keepalived
问题原因尚未定位出,若日后定位处了再补充