On Wed, Jun 22, 2016 at 04:17:38PM +0000, Rajasekaran, Monica wrote:
> Hi,
>
> I built ovs along with Yocto, have it running inside my target hardware.
>
> When I start ovs by starting ovsdb server, vsctl and vswitchd, it gives me
> the following error messages:
>
> When I start ovsdb server,
>
> 2016-06-22T23:54:25Z|00001|fatal_signal|WARN|could not unlink
> "/usr/local/var/run/openvswitch/db.sock" (No such file or directory)
> 2016-06-22T23:54:25Z|00002|stream_unix|ERR|/usr/local/var/run/openvswitch/db.sock:
> binding failed: No such file or directory
> 2016-06-22T23:54:25Z|00003|ovsdb_jsonrpc_server|ERR|punix:/usr/local/var/run/openvswitch/db.sock:
> listen failed: No such file or directory
>
> When I start vsctl,
>
> 2016-06-22T23:54:50Z|00003|reconnect|WARN|unix:/var/run/openvswitch/db.sock:
> connection attempt failed (No such file or directory)
> ovs-vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (No
> such file or directory)
>
> When I start vswitchd,
>
> 2016-06-22T23:55:14Z|00003|reconnect|WARN|unix:/var/run/openvswitch/db.sock:
> connection attempt failed (No such file or directory)
>
> The problem is that it is looking for db.sock and the pid files at
> "/usr/local/var/run/openvswitch" but actually it should be looking into
> "/var/run/openvswitch" in Yocto. How do I change this ?? Or will creating a
> symlink work?
INSTALL.md says:
By default all files are installed under /usr/local. Open vSwitch also
expects to find its database in /usr/local/etc/openvswitch by default.
If you want to install all files into, e.g., /usr and /var instead of
/usr/local and /usr/local/var and expect to use /etc/openvswitch as the
default
database directory, add options as shown here:
`% ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc`
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss