Trying to install OVS 2.17.5 on an EC2 instance using AMI 2. Kernel version 5.15.128-81.144.amzn2.x86_64. Following the installation instructions here. Hitting the following "failed to lock lockfile" error:
$ yum update -y
$ yum install -y wget openssl-devel gcc make python3-devel lipcap-ng-devel libcap-ng-utils
$ yum groupinstall -y "Development Tools"
$ wget https://github.com/openvswitch/ovs/archive/refs/tags/v2.17.5.tar.gz
$ tar -xf v2.17.5.tar.gz
$ cd ovs-2.17.5
$ ./boot.sh
$ ./configure
$ make
$ make install
$ export PATH=$PATH:/usr/local/share/openvswitch/scripts
$ ovs-ctl start
/usr/local/etc/openvswitch/conf.db does not exist ... (warning).
Creating empty database /usr/local/etc/openvswitch/conf.db ovsdb-tool: I/O error: /usr/local/etc/openvswitch/conf.db: failed to lock lockfile (Resource temporarily unavailable)
[FAILED]
selinux is disabled, ovs daemons are not already running, and /usr/local/etc/openvswitch is totally empty.
Trying to install OVS 2.17.5 on an EC2 instance using AMI 2. Kernel version 5.15.128-81.144.amzn2.x86_64. Following the installation instructions here. Hitting the following "failed to lock lockfile" error:
selinux is disabled, ovs daemons are not already running, and /usr/local/etc/openvswitch is totally empty.