Nexus Repo 3.18 - User or password not valid for database: 'component' DB name="component"

orientdb

#1

Hi All,

I have deployed the Nexus Repository on the AKS cluster. We are using sonatype/nexus3 docker image. It was running OK at the start but suddenly I started facing this issue related to the OrientDD and after that, the Nexus Repo is not starting. I even tried upgrading the Nexus Repo to the latest version (3.18.0) but still facing the same issue. Please find below the error logs:

2019-08-06 10:58:33,445+0000 INFO  [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - Storage 'plocal:/nexus-data/db/component' is opened under OrientDB distribution : 2.2.36 (build d3beb772c02098ceaea89779a7afd4b7305d3788, branch 2.2.x)
2019-08-06 10:58:33,665+0000 ERROR [FelixStartLevel] *SYSTEM org.sonatype.nexus.orient.restore.RestoreServiceImpl - Failed transition: NEW -> STARTED
com.orientechnologies.orient.core.exception.OSecurityAccessException: User or password not valid for database: 'component'
        DB name="component"
        at com.orientechnologies.orient.core.metadata.security.OSecurityShared.authenticate(OSecurityShared.java:238)
        at com.orientechnologies.orient.core.metadata.security.OSecurityExternal.authenticate(OSecurityExternal.java:62)
        at com.orientechnologies.orient.core.metadata.security.OSecurityProxy.authenticate(OSecurityProxy.java:107)
        at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.open(ODatabaseDocumentTx.java:276)
        at org.sonatype.nexus.orient.DatabaseManagerSupport.connect(DatabaseManagerSupport.java:178)
        at org.sonatype.nexus.orient.DatabaseManagerSupport.createInstance(DatabaseManagerSupport.java:312)
        at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1688)
        at org.sonatype.nexus.orient.DatabaseManagerSupport.instance(DatabaseManagerSupport.java:289)
        at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
        at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
        at java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:290)
        at java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731)
        at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
        at java.util.concurrent.ForkJoinTask.doInvoke(ForkJoinTask.java:401)
        at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:734)
        at java.util.stream.ForEachOps$ForEachOp.evaluateParallel(ForEachOps.java:159)
        at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateParallel(ForEachOps.java:173)
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233)
        at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485)
        at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:650)
        at org.sonatype.nexus.orient.restore.RestoreServiceImpl.doStart(RestoreServiceImpl.java:76)
        at org.sonatype.nexus.common.stateguard.StateGuardLifecycleSupport.start(StateGuardLifecycleSupport.java:67)
        at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39)
        at org.sonatype.nexus.common.stateguard.StateGuard$TransitionImpl.run(StateGuard.java:193)
        at org.sonatype.nexus.common.stateguard.TransitionsInterceptor.invoke(TransitionsInterceptor.java:56)
        at org.sonatype.nexus.extender.NexusLifecycleManager.startComponent(NexusLifecycleManager.java:199)
        at org.sonatype.nexus.extender.NexusLifecycleManager.to(NexusLifecycleManager.java:111)
        at org.sonatype.nexus.extender.NexusContextListener.moveToPhase(NexusContextListener.java:304)
        at org.sonatype.nexus.extender.NexusContextListener.frameworkEvent(NexusContextListener.java:201)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1429)
        at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
        at java.lang.Thread.run(Thread.java:748)
2019-08-06 10:58:33,667+0000 ERROR [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusContextListener - Failed to start nexus
com.orientechnologies.orient.core.exception.OSecurityAccessException: User or password not valid for database: 'component'
        DB name="component"
        at com.orientechnologies.orient.core.metadata.security.OSecurityShared.authenticate(OSecurityShared.java:238)
        at com.orientechnologies.orient.core.metadata.security.OSecurityExternal.authenticate(OSecurityExternal.java:62)
        at com.orientechnologies.orient.core.metadata.security.OSecurityProxy.authenticate(OSecurityProxy.java:107)
        at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.open(ODatabaseDocumentTx.java:276)
        at org.sonatype.nexus.orient.DatabaseManagerSupport.connect(DatabaseManagerSupport.java:178)
        at org.sonatype.nexus.orient.DatabaseManagerSupport.createInstance(DatabaseManagerSupport.java:312)
        at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1688)
        at org.sonatype.nexus.orient.DatabaseManagerSupport.instance(DatabaseManagerSupport.java:289)
        at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
        at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
        at java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:290)
        at java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731)
        at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
        at java.util.concurrent.ForkJoinTask.doInvoke(ForkJoinTask.java:401)
        at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:734)
        at java.util.stream.ForEachOps$ForEachOp.evaluateParallel(ForEachOps.java:159)
        at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateParallel(ForEachOps.java:173)
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233)
        at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485)
        at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:650)
        at org.sonatype.nexus.orient.restore.RestoreServiceImpl.doStart(RestoreServiceImpl.java:76)
        at org.sonatype.nexus.common.stateguard.StateGuardLifecycleSupport.start(StateGuardLifecycleSupport.java:67)
        at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39)
        at org.sonatype.nexus.common.stateguard.StateGuard$TransitionImpl.run(StateGuard.java:193)
        at org.sonatype.nexus.common.stateguard.TransitionsInterceptor.invoke(TransitionsInterceptor.java:56)
        at org.sonatype.nexus.extender.NexusLifecycleManager.startComponent(NexusLifecycleManager.java:199)
        at org.sonatype.nexus.extender.NexusLifecycleManager.to(NexusLifecycleManager.java:111)
        at org.sonatype.nexus.extender.NexusContextListener.moveToPhase(NexusContextListener.java:304)
        at org.sonatype.nexus.extender.NexusContextListener.frameworkEvent(NexusContextListener.java:201)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1429)
        at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
        at java.lang.Thread.run(Thread.java:748)
2019-08-06 10:58:33,669+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable - com.orientechnologies.orient.core.exception.OSecurityAccessException: User or password not valid for database: 'component'
        DB name="component"
2019-08-06 10:58:33,670+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable -      at com.orientechnologies.orient.core.metadata.security.OSecurityShared.authenticate(OSecurityShared.java:238)
2019-08-06 10:58:33,670+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable -      at com.orientechnologies.orient.core.metadata.security.OSecurityExternal.authenticate(OSecurityExternal.java:62)
2019-08-06 10:58:33,670+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable -      at com.orientechnologies.orient.core.metadata.security.OSecurityProxy.authenticate(OSecurityProxy.java:107)
2019-08-06 10:58:33,670+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable -      at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.open(ODatabaseDocumentTx.java:276)
2019-08-06 10:58:33,670+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable -      at org.sonatype.nexus.orient.DatabaseManagerSupport.connect(DatabaseManagerSupport.java:178)
2019-08-06 10:58:33,670+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable -      at org.sonatype.nexus.orient.DatabaseManagerSupport.createInstance(DatabaseManagerSupport.java:312)
2019-08-06 10:58:33,670+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable -      at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1688)
2019-08-06 10:58:33,670+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable -      at org.sonatype.nexus.orient.DatabaseManagerSupport.instance(DatabaseManagerSupport.java:289)
2019-08-06 10:58:33,671+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable -      at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
2019-08-06 10:58:33,671+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable -      at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
2019-08-06 10:58:33,671+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable -      at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
2019-08-06 10:58:33,671+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable -      at java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:290)
2019-08-06 10:58:33,671+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable -      at java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731)
2019-08-06 10:58:33,671+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable -      at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
2019-08-06 10:58:33,672+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable -      at java.util.concurrent.ForkJoinTask.doInvoke(ForkJoinTask.java:401)
2019-08-06 10:58:33,672+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable -      at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:734)
2019-08-06 10:58:33,672+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable -      at java.util.stream.ForEachOps$ForEachOp.evaluateParallel(ForEachOps.java:159)
2019-08-06 10:58:33,673+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable -      at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateParallel(ForEachOps.java:173)
2019-08-06 10:58:33,673+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable -      at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233)
2019-08-06 10:58:33,673+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable -      at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485)
2019-08-06 10:58:33,673+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable -      at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:650)
2019-08-06 10:58:33,673+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable -      at org.sonatype.nexus.orient.restore.RestoreServiceImpl.doStart(RestoreServiceImpl.java:76)
2019-08-06 10:58:33,673+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable -      at org.sonatype.nexus.common.stateguard.StateGuardLifecycleSupport.start(StateGuardLifecycleSupport.java:67)
2019-08-06 10:58:33,673+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable -      at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39)
2019-08-06 10:58:33,673+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable -      at org.sonatype.nexus.common.stateguard.StateGuard$TransitionImpl.run(StateGuard.java:193)
2019-08-06 10:58:33,674+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable -      at org.sonatype.nexus.common.stateguard.TransitionsInterceptor.invoke(TransitionsInterceptor.java:56)
2019-08-06 10:58:33,674+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable -      at org.sonatype.nexus.extender.NexusLifecycleManager.startComponent(NexusLifecycleManager.java:199)
2019-08-06 10:58:33,674+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable -      at org.sonatype.nexus.extender.NexusLifecycleManager.to(NexusLifecycleManager.java:111)
2019-08-06 10:58:33,674+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable -      at org.sonatype.nexus.extender.NexusContextListener.moveToPhase(NexusContextListener.java:304)
2019-08-06 10:58:33,674+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable -      at org.sonatype.nexus.extender.NexusContextListener.frameworkEvent(NexusContextListener.java:201)
2019-08-06 10:58:33,675+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable -      at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1429)
2019-08-06 10:58:33,675+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable -      at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
2019-08-06 10:58:33,675+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable -      at java.lang.Thread.run(Thread.java:748)
2019-08-06 10:58:33,704+0000 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusContextListener - Uptime: 4 minutes, 11 seconds and 417 milliseconds (nexus-pro-edition/3.18.0.01)
2019-08-06 10:58:33,704+0000 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusLifecycleManager - Shutting down
2019-08-06 10:58:33,706+0000 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusLifecycleManager - Stop STORAGE
2019-08-06 10:58:34,535+0000 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.internal.orient.DatabaseServerImpl$1 - OrientDB Server is shutting down...
2019-08-06 10:58:34,535+0000 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.internal.orient.DatabaseServerImpl$1 - Shutting down protocols
2019-08-06 10:58:34,536+0000 INFO  [FelixStartLevel] *SYSTEM com.orientechnologies.orient.server.plugin.OServerPluginManager - Shutting down plugins:
2019-08-06 10:58:34,536+0000 INFO  [FelixStartLevel] *SYSTEM com.orientechnologies.orient.server.plugin.OServerPluginManager - - jmx
2019-08-06 10:58:34,537+0000 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.internal.orient.DatabaseServerImpl$1 - OrientDB Server shutdown complete
2019-08-06 10:58:34,537+0000 INFO  [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.Orient - Orient Engine is shutting down...
2019-08-06 10:58:34,537+0000 INFO  [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.Orient - - shutdown storage: security...
2019-08-06 10:58:38,908+0000 INFO  [ForkJoinPool.commonPool-worker-1] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - Storage 'plocal:/nexus-data/db/config' is opened under OrientDB distribution : 2.2.36 (build d3beb772c02098ceaea89779a7afd4b7305d3788, branch 2.2.x)
2019-08-06 10:58:48,093+0000 INFO  [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.Orient - - shutdown storage: component...
2019-08-06 10:58:51,987+0000 INFO  [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.Orient - - shutdown storage: config...

Please help in resolving this issue and let me know if you require more information.


#2

This forum isn’t the right place to debug technical problems.

If you have a support contract with us you can use our support system at https://support.sonatype.com. Please note that the support system is for licensed customers only.

Otherwise, if you think this is a bug, you can try raising an issue at https://issues.sonatype.org in the “Dev - Nexus” issue.

Either way, provide a support zip file if you can get to the Nexus Repo UI. Or provide the complete nexus.log file otherwise.

Regards,

Rich