Discussion:
[ovs-discuss] Problem with step"ovsdb-server"
rahim entezari
2012-08-28 09:32:15 UTC
Permalink
With special thanks to Chris...
Every thing is OK with commands"make""make install""insmod
datapath/linux/openvswitch.ko""mkdir -p
/usr/local/etc/openvswitch".But when using this cmd : "ovsdb-tool
create /usr/local/etc/openvswitch/conf.db vswitchd/vswitch.ovsschema"
this error accured : ovsdb-tool: I/O error: create:
/usr/local/etc/openvswitch/conf.db failed (File exists)

also if we ignore it and continue to the next steo which is :
"[root at localhost openvswitch]# ovsdb-server
/usr/local/etc/openvswitch/conf.db
?remote=punix:/usr/local/var/run/openvswitch/db.sock
" this error accures : "bash: ovsdb-serverovsdb-server: command not found"

What should i do? Please help me

Thank you
--
Kind regards,
Rahim Entezari
Amirkabir Cloud Computing Research Center
Computer Engineering & Information Technology Department
Amirkabir University of Technology (Tehran Polytechnic)
Justin Pettit
2012-08-28 18:09:53 UTC
Permalink
Post by rahim entezari
With special thanks to Chris...
Every thing is OK with commands"make""make install""insmod
datapath/linux/openvswitch.ko""mkdir -p
/usr/local/etc/openvswitch".But when using this cmd : "ovsdb-tool
create /usr/local/etc/openvswitch/conf.db vswitchd/vswitch.ovsschema"
/usr/local/etc/openvswitch/conf.db failed (File exists)
Well, it looks like that file already exists. You can either use that one or, if you think it's okay, erase it and create a new one.
Post by rahim entezari
"[root at localhost openvswitch]# ovsdb-server
/usr/local/etc/openvswitch/conf.db
?remote=punix:/usr/local/var/run/openvswitch/db.sock
" this error accures : "bash: ovsdb-serverovsdb-server: command not found"
You see "ovsdb-server" twice like that? Is it possible that your PATH environment variable is wrong?

--Justin
rahim entezari
2012-08-29 13:38:51 UTC
Permalink
no I made a mistake.the error is bash: ovsdb-server: command not found
--
Kind regards,
Rahim Entezari
Amirkabir Cloud Computing Research Center
Computer Engineering & Information Technology Department
Amirkabir University of Technology (Tehran Polytechnic)
Loading...