Ask Your Question
0

Running opedaylight as a service.

asked 2016-04-05 07:39:39 -0700

abdullahteke gravatar image

Hi; I just installed Opendaylight latest version on Ubuntu server. Then installed feature:wrapper and when i reboot the server i recognized that some features didnt work properly. If i run "sudo ./bin/karaf" command everythin was ok. But wrapper cant start all feature succeed. When i looked at karaf.log i found some log like below. Also i tried " ./bin/karaf server" option but at this time even all services started successfuly i cant login to dlux. Is there any way run the opendaylight as service. Thank you.

2016-04-05 06:48:56,410 | ERROR | config-pusher | ConfigPusherImpl | 140 - org.opendaylight.controller.config-persister-impl - 0.4.0.Beryllium | Failed to apply configuration snapshot: 00-netty.xml(odl-openflowplugin-nsf-services,odl-openflowplugin-nsf-services) java.lang.SecurityException: Insufficient roles/credentials for operation at org.apache.karaf.management.KarafMBeanServerGuard.handleInvoke(KarafMBeanServerGuard.java:289)[56:org.apache.karaf.management.server:3.0.3] at org.apache.karaf.management.KarafMBeanServerGuard.invoke(KarafMBeanServerGuard.java:85)[56:org.apache.karaf.management.server:3.0.3] at org.apache.karaf.management.boot.KarafMBeanServerBuilder$MBeanInvocationHandler.invoke(KarafMBeanServerBuilder.java:63)[karaf-jmx-boot.jar:] at com.sun.proxy.$Proxy0.invoke(Unknown Source)[:] at com.sun.jmx.mbeanserver.MXBeanProxy$InvokeHandler.invoke(MXBeanProxy.java:150)[:1.7.095] at com.sun.jmx.mbeanserver.MXBeanProxy.invoke(MXBeanProxy.java:167)[:1.7.095] at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:258)[:1.7.095] at com.sun.proxy.$Proxy18.beginConfig(Unknown Source)[128:org.opendaylight.controller.config-api:0.4.0.Beryllium] at org.opendaylight.controller.config.util.ConfigRegistryJMXClient.beginConfig(ConfigRegistryJMXClient.java:104)[132:org.opendaylight.controller.config-util:0.4.0.Beryllium] at org.opendaylight.controller.config.facade.xml.transactions.TransactionProvider.getTestTransaction(TransactionProvider.java:117)[138:org.opendaylight.controller.config-manager-facade-xml:0.4.0.Beryllium] at org.opendaylight.controller.config.facade.xml.ConfigSubsystemFacade.test(ConfigSubsystemFacade.java:154)[138:org.opendaylight.controller.config-manager-facade-xml:0.4.0.Beryllium] at org.opendaylight.controller.config.facade.xml.ConfigSubsystemFacade.executeTests(ConfigSubsystemFacade.java:149)[138:org.opendaylight.controller.config-manager-facade-xml:0.4.0.Beryllium] at org.opendaylight.controller.config.facade.xml.ConfigSubsystemFacade.executeConfigExecution(ConfigSubsystemFacade.java:123)[138:org.opendaylight.controller.config-manager-facade-xml:0.4.0.Beryllium] at org.opendaylight.controller.config.persist.impl.ConfigPusherImpl.executeWithMissingModuleFactoryRetries(ConfigPusherImpl.java:329)[140:org.opendaylight.controller.config-persister-impl:0.4.0.Beryllium] at org.opendaylight.controller.config.persist.impl.ConfigPusherImpl.pushConfig(ConfigPusherImpl.java:305)[140:org.opendaylight.controller.config-persister-impl:0.4.0.Beryllium] at org.opendaylight.controller.config.persist.impl.ConfigPusherImpl.pushConfigWithConflictingVersionRetries(ConfigPusherImpl.java:164)[140:org.opendaylight.controller.config-persister-impl:0.4.0.Beryllium] at org.opendaylight.controller.config.persist.impl.ConfigPusherImpl.internalPushConfigs(ConfigPusherImpl.java:129)[140:org.opendaylight.controller.config-persister-impl:0.4.0.Beryllium] at org.opendaylight.controller.config.persist.impl.ConfigPusherImpl.processSingle(ConfigPusherImpl.java:83)[140:org.opendaylight.controller.config-persister-impl:0.4.0.Beryllium] at org.opendaylight.controller.config.persist.impl.ConfigPusherImpl.process(ConfigPusherImpl.java:74)[140:org.opendaylight.controller.config-persister-impl:0.4.0.Beryllium] at org.opendaylight.controller.config.persist.impl.osgi.ConfigPersisterActivator$2.run(ConfigPersisterActivator.java:131)[140:org.opendaylight.controller.config-persister-impl:0.4.0.Beryllium] at java.lang.Thread.run ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-04-06 03:56:40 -0700

abdullahteke gravatar image

Hi Again; I found a solution but it is not clean. If i add su -c "sudo home/mininet/opendaylight/bin/karaf -server" -s /bin/sh <user> one of my startup script. Karaf server started successfully. But there should be better solution.

edit flag offensive delete publish link more
Login/Signup to Answer

Stats

Asked: 2016-04-05 07:39:39 -0700

Seen: 99 times

Last updated: Apr 06 '16