简体   繁体   中英

Opendaylight Nitrogen: Unable to Install features

I am getting an error while installing the features.

 error executing command: error restarting bundles

Initially, it worked fine for some of the features but then it suddenly started throwing this error.

Any suggestion on this would be appreciated.

如果您清洁karaf,则可以解决此问题,通过运行以下命令,可以清洁karaf。

./karaf clean

When OpenDaylight moved to karaf 4 there were problems identified with installing features in the karaf shell one after the other. I think you are hitting that problem.

you can try listing out all the features you want in the featuresBoot variable of the etc/org.apache.karaf.features.cfg file.

You may also have some success trying to install on the karaf shell with the following flag --no-auto-refresh, like this:

feature:install --no-auto-refresh odl-l2switch-switch

Also, as sridhar reddy noted, if you use "karaf clean" to start karaf it will wipe the data/ folder (and more) so that old loaded features will not come back in on startup and you will start "clean".

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM