[ovs-discuss] Error while adding db to a running ovsdb-server

Rutuja Umesh Madhure rutujaumesh.madhure at nutanix.com
Mon Aug 9 04:15:49 UTC 2021


Hi,
There was a problem while adding a db to a running ovsdb-server. Can you please let me know if I'm missing something?

ovsdb-server was started using the below command:


ovsdb-server /etc/openvswitch/conf.db -vconsole:emer -vsyslog:err -vfile:info --remote=punix:/var/run/openvswitch/db.sock --private-key=db:Open_vSwitch,SSL,private_key --certificate=db:Open_vSwitch,SSL,certificate --bootstrap-ca-cert=db:Open_vSwitch,SSL,ca_cert --no-chdir --log-file=/var/log/openvswitch/ovsdb-server.log --pidfile=/var/run/openvswitch/ovsdb-server.pid --detach

On trying to add a db to the running ovsdb-server, it gave the below error:
>> ovs-appctl -t ovsdb-server ovsdb-server/add-db /root/test.db


I/O error: /root/test.db: failed to lock lockfile (Resource temporarily unavailable)

ovs-appctl: ovsdb-server: server returned an error

server logs:

2021-08-09T04:02:40.688Z|00023|lockfile|WARN|/root/.test.db.~lock~: failed to stat lock file: Permission denied

2021-08-09T04:02:40.688Z|00024|lockfile|WARN|/root/.test.db.~lock~: failed to lock file: Resource temporarily unavailable

Also, can we have two ovsdb-server instances running on the same machine?



Thanks and regards,
Rutuja Madhure
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20210809/f2b7bbd3/attachment.html>


More information about the discuss mailing list