我正在安装(OVS v2.7.0
你可以检查兼容性Ubuntu 14.04
kernel version 4.4.0-142-generic
这里)来自来源。
git clone https://github.com/openvswitch/ovs
cd ovs
git checkout v2.7.0
./boot.sh
./configure --with-linux=/lib/modules/`uname -r`/build --prefix=/home/john14/ovs-build
make
make install
上述命令运行正常,没有错误;然而,当我这样做时,会弹出一个错误
make modules_install
输出如下:
cd datapath/linux && make modules_install
make[1]: Entering directory `/home/john14/Desktop/ovs/datapath/linux'
make -C /lib/modules/4.4.0-142-generic/build M=/home/john14/Desktop/ovs/datapath/linux modules_install
make[2]: Entering directory `/usr/src/linux-headers-4.4.0-142-generic'
INSTALL /home/john14/Desktop/ovs/datapath/linux/openvswitch.ko
At main.c:222:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:169
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:172
sign-file: certs/signing_key.pem: No such file or directory
INSTALL /home/john14/Desktop/ovs/datapath/linux/vport-geneve.ko
At main.c:222:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:169
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:172
sign-file: certs/signing_key.pem: No such file or directory
INSTALL /home/john14/Desktop/ovs/datapath/linux/vport-gre.ko
At main.c:222:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:169
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:172
sign-file: certs/signing_key.pem: No such file or directory
INSTALL /home/john14/Desktop/ovs/datapath/linux/vport-lisp.ko
At main.c:222:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:169
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:172
sign-file: certs/signing_key.pem: No such file or directory
INSTALL /home/john14/Desktop/ovs/datapath/linux/vport-stt.ko
At main.c:222:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:169
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:172
sign-file: certs/signing_key.pem: No such file or directory
INSTALL /home/john14/Desktop/ovs/datapath/linux/vport-vxlan.ko
At main.c:222:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:169
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:172
sign-file: certs/signing_key.pem: No such file or directory
DEPMOD 4.4.0-142-generic
make[2]: Leaving directory `/usr/src/linux-headers-4.4.0-142-generic'
depmod `sed -n 's/#define UTS_RELEASE "\([^"]*\)"/\1/p' /lib/modules/4.4.0-142-generic/build/include/generated/utsrelease.h`
make[1]: Leaving directory `/home/john14/Desktop/ovs/datapath/linux'
我访问了一些有关问题的链接(见这里, 和这里),但这些链接中提到的解决方案要么不适用于我的情况(安装 Open vSwitch),要么根本对我不起作用。
如果您能向我解释一些安装模块的适用方法,我将不胜感激。谢谢。
附言:我在 上运行 Ubuntu 14.04 virtualbox
。我看到一些链接(例如这) 有关dkms
可能导致我的 SSL 错误的问题,但它们也不起作用。