[ovs-discuss] Issue with ovsdb-server

Keqiang He hekeqiang at gmail.com
Wed Nov 12 19:08:07 UTC 2014


Hi -

I want to start the ovsdb-server. But the strange thing I met is that the
ovsdb-server gives me the following error message:

2014-11-12T19:07:31Z|00001|fatal_signal|WARN|could not unlink
"/usr/local/var/run/openvswitch/ovsdb-server.18318.ctl" (No such file or
directory)
2014-11-12T19:07:31Z|00002|stream_unix|ERR|/usr/local/var/run/openvswitch/ovsdb-server.18318.ctl:
binding failed: No such file or directory
ovsdb-server: could not initialize control socket
punix:/usr/local/var/run/openvswitch/ovsdb-server.18318.ctl (No such file
or directory)


My script is like this:
rm -rf /var/run/openvswitch
mkdir /var/run/openvswitch
rm -rf /etc/openvswitch
mkdir -p /etc/openvswitch

ovsdb-tool create /etc/openvswitch/conf.db vswitchd/vswitch.ovsschema

ovsdb-server --remote=punix:/var/run/openvswitch/db.sock \
                     --remote=db:Open_vSwitch,Open_vSwitch,manager_options \
--pidfile=/var/run/openvswitch/ovsdb-server.pid --detach
ovs-vsctl --db=unix:/var/run/openvswitch/db.sock --no-wait init
ovs-vswitchd --pidfile=/var/run/openvswitch/ovs-vswitchd.pid --detach
unix:/var/run/openvswitch/db.sock


The question that puzzled me is that i told ovsdb-server to check files in
folder /var/run/
not /usr/loca/var/run/. However, it is still trying to read files from
there.

It seems that ovsdb-server keeps some history of the configurations.


Hope that someone can give me some guidance on this configuration issue -
the behaviors are so strange and I have found a solution to handle it..


Thanks,
keqiang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20141112/a4594471/attachment-0002.html>


More information about the discuss mailing list