[ovs-dev] ovsdb-tool: error while loading shared libraries: librte_eal.so.6.1

Mingming Chen mingmingminne at 126.com
Thu May 10 00:15:21 UTC 2018


Hi Ben,
I have solved that problem(set up all in the same terminal, and http://dpdk.org/ml/archives/dev/2016-June/042113.html). Now I did 
$ovs-vswitchd --version

ovs-vswitchd (Open vSwitch) 2.9.0
DPDK 17.11.1


and I also did
 $ sudo ovs-vsctl list open-vswitch
_uuid               : 048bdd81-a839-4232-b34d-93d85c3c5453
bridges             : [488018e3-f7dd-4646-ba1f-88277804ccf6, 88ecba3d-dab9-4437-8800-77e35af4cbb7, a62f9392-b5fa-44f2-a841-3af6c932a359]
cur_cfg             : 6
datapath_types      : [netdev, system]
db_version          : "7.12.1"
external_ids        : {hostname=ubuntu, rundir="/usr/local/var/run/openvswitch", system-id="562cba16-381c-45d0-b39b-9add642a1a86"}
iface_types         : [geneve, gre, internal, lisp, patch, stt, system, tap, vxlan]
manager_options     : []
next_cfg            : 18
other_config        : {dpdk-init="true", dpdk-socket-mem="1024"}
ovs_version         : "2.9.0"
ssl                 : []
statistics          : {}
system_type         : Ubuntu
system_version      : "16.04-xenial"


I just want a simple ovs which could support meter, the recent problem is that when I start mininet, it gets stuck like below:
*** Creating network
*** Adding controller
*** Adding hosts:
h1 h2 h3 
*** Adding switches:
s1 s2 s3 
*** Adding links:
(h1, s1) (h2, s2) (h3, s3) (s2, s1) (s3, s2) 
*** Configuring hosts
h1 h2 h3 
*** Starting controller
c0 
*** Starting 3 switches
s1 s2 s3 ...

(no mininuet console)


And I checked the controller, the connection isn't successful.  It will be really complex, right? Should I switch to CPqD? Actually I have tried, but some of the components source was removed online. Could you give me a suggestion? Thank you!


Best regards,
Mingming
At 2018-05-10 04:58:59, "Ben Pfaff" <blp at ovn.org> wrote:
>No.
>
>On Thu, May 10, 2018 at 04:53:59AM +0800, Mingming Chen wrote:
>> BTW, I really didn’t find 
>> /usr/local/etc/openvswitch/conf.db. 
>> Is this the problem? Thanks a lot!
>> 
>> 
>> Best regards,
>> Mingming
>> 
>> 
>> | |
>> Mingming Chen
>> 邮箱:mingmingminne at 126.com
>> |
>> 
>> 签名由 网易邮箱大师 定制
>> 
>> On 05/09/2018 13:17, Mingming Chen wrote:
>> Hi Ben,
>> I have done below:
>> 
>> 
>> $echo "/usr/src/dpdk-stable-17.11.1/x86_64-native-linuxapp-gcc/lib" >> /etc/ld.so.conf
>> $cat /etc/ld.so.conf
>> include /etc/ld.so.conf.d/*.conf
>> 
>> 
>> /usr/local/share
>> /usr/src/dpdk-stable-17.11.1/x86_64-native-linuxapp-gcc/lib
>> 
>> 
>> Then, do make, make install, ovs-ctl start, it is still doesn't work. What's the problem?
>> Thank you!
>> 
>> 
>> Best regards,
>> Mingming
>> 
>> 
>> 
>> 
>> 
>> At 2018-05-10 03:37:03, "Ben Pfaff" <blp at ovn.org> wrote:
>> >You didn't install DPDK in a place where the system can find it.  One
>> >way to fix the problem is to set LD_LIBRARY_PATH appropriate (see
>> >ld.so(8)).
>> >
>> >On Thu, May 10, 2018 at 03:33:48AM +0800, Mingming Chen wrote:
>> >> Hi Ben,
>> >> 
>> >> 
>> >> Thanks for your hint about ovs dpdk!. I have done something according to: https://docs.openvswitch.org/en/latest/intro/install/dpdk/ and https://docs.openvswitch.org/en/latest/intro/install/general/#general-building. But now I met a problem. (I think I have done with dpdk part because no errors showed)
>> >> About the ovs part, I did
>> >> $ ./configure --with-dpdk=/usr/src/dpdk-stable-17.11.1/x86_64-native-linuxapp-gcc
>> >> $ make
>> >> $ make install
>> >> $ export PATH=$PATH:/usr/local/share/openvswitch/scripts
>> >> $ ovs-ctl start 
>> >> (Here I met a problem) like:
>> >> ovsdb-tool: error while loading shared libraries: librte_eal.so.6.1: cannot open shared object file: No such file or directory
>> >>  * /usr/local/etc/openvswitch/conf.db does not exist
>> >> ovsdb-tool: error while loading shared libraries: librte_eal.so.6.1: cannot open shared object file: No such file or directory
>> >>  * Creating empty database /usr/local/etc/openvswitch/conf.db
>> >> 
>> >> 
>> >> I have searched but didn't find a good one. Could you help me to figure out where I am wrong? I am using Ubuntu 16.04.4, ovs 2.9.0, dpdk 17.11.1. Thank you!
>> >> 
>> >> 
>> >> 
>> >> 
>> >> Best regards,
>> >> Mingming
>> >> 
>> >> At 2018-05-09 03:51:02, "Ben Pfaff" <blp at ovn.org> wrote:
>> >> >OVS has two main datapaths: kernel-based and userspace-based.  If you
>> >> >use the default setup, you're using the kernel-based datapath.  The
>> >> >documentation explains how to use the userspace datapath instead.
>> >> >
>> >> >On Tue, May 08, 2018 at 11:59:15PM +0800, Mingming Chen wrote:
>> >> >> Thank you so much! I have updated ovs 2.5.4 to ovs 2.9.0. Unfortunately, a new problem just like this link(OFPMMFC_INVALID_METER): https://mail.openvswitch.org/pipermail/ovs-discuss/2017-October/045513.html
>> >> >> I also searched and found this: https://groups.google.com/a/onosproject.org/forum/#!topic/onos-discuss/OaA66m3dYds . But I still don't know exactly how to do so I can push a meter in ovs. Could you guide me more? What does it mean by "support meters in the userspace(DPDK) datapath only"? Thanks again!
>> >> >> 
>> >> >> 
>> >> >> Best regards,
>> >> >> Mingming
>> >> >> 
>> >> >> 
>> >> >> At 2018-05-08 23:09:15, "Ben Pfaff" <blp at ovn.org> wrote:
>> >> >> >On Tue, May 08, 2018 at 07:27:41AM +0800, Mingming Chen wrote:
>> >> >> >> According to my prior experience, ovs 2.5.0 doesn't support meter
>> >> >> >> table. Now I am using ovs 2.5.4, and I want to test meter table. So,
>> >> >> >> does ovs 2.5.4 supports openflow 1.3 meter table? If not, is there any
>> >> >> >> version of ovs could support meter table? Thanks a lot!
>> >> >> >
>> >> >> >OVS 2.7 and later support meters in the userspace (DPDK) datapath only.
>> 
>> 
>> 
>> 
>> 
>>  


More information about the dev mailing list