For more details, please see ourCookie Policy.


Management Software

Reply
Occasional Contributor
Posts: 6
Registered: ‎01-24-2013

Network Advisor Messages - Invalid user ID or Password within smc for user dcmadmin

Installed Network Advisor 14.4.3 on Red Hat Enterprise Linux Server release 7.5 (Maipo). I am unable to apply AAA settings or change database password, but i am able to connect by same credentials to database using pgAdmin III.

 

Did anyone have an idea or even the same experiences?

 

# tailed smc.log

2018-09-18 11:50:28,439 INFO  [dialog.OkCancelDialog] (AWT-EventQueue-0) Failed to add into usage Analysis {0}
java.lang.NullPointerException
        at com.brocade.efcm.framework.xul.dialog.OkCancelDialog.logUsageAnalysisData(OkCancelDialog.java:112)
        at com.brocade.efcm.framework.xul.dialog.OkCancelDialog.<init>(OkCancelDialog.java:80)
        at com.brocade.dcfm.smc.view.AuthenticationDialog.<init>(AuthenticationDialog.java:94)
        at com.brocade.dcfm.smc.core.ServiceController.actionPerformed(ServiceController.java:327)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
        at java.awt.Component.processMouseEvent(Component.java:6539)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
        at java.awt.Component.processEvent(Component.java:6304)
        at java.awt.Container.processEvent(Container.java:2239)
        at java.awt.Component.dispatchEventImpl(Component.java:4889)
        at java.awt.Container.dispatchEventImpl(Container.java:2297)
        at java.awt.Component.dispatchEvent(Component.java:4711)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
        at java.awt.Container.dispatchEventImpl(Container.java:2283)
        at java.awt.Window.dispatchEventImpl(Window.java:2746)
        at java.awt.Component.dispatchEvent(Component.java:4711)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
        at java.awt.EventQueue.access$500(EventQueue.java:97)
        at java.awt.EventQueue$3.run(EventQueue.java:709)
        at java.awt.EventQueue$3.run(EventQueue.java:703)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
        at java.awt.EventQueue$4.run(EventQueue.java:733)
        at java.awt.EventQueue$4.run(EventQueue.java:731)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
        at com.brocade.efcm.framework.xul.WaitCursorEventQueue.dispatchEvent(WaitCursorEventQueue.java:139)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
2018-09-18 11:50:28,453 INFO  [util.ConfigurationUtil] (AWT-EventQueue-0) currentLocale en_US
2018-09-18 11:50:47,994 INFO  [util.AuthenticationUtil] (Thread-10) User Obj null
2018-09-18 11:50:47,994 ERROR [util.AuthenticationUtil] (Thread-10) User dcmadmin not found !
2018-09-18 11:50:47,994 ERROR [util.AuthenticationUtil] (Thread-10) Error in data access : Invalid user ID or Password

 

If i try to change the already right known password by script dbpasswd i get the following error:

 

[root@serverbin]# ./dbpasswd
Usage: ./dbpasswd username old-password new-password confirm-new-password
[root@cdbnap01 bin]# ./dbpasswd 'dcmadmin' xxxxxxxx' 'zzzzzzzz' 'zzzzzzzz'
inside if loop1
isPropertyFileUpdated: true
Exception in thread "main" java.lang.NoClassDefFoundError: com/brocade/dcm/system/certificate/CertificateManagementException
        at com.brocade.configwizard.server.util.ChangeDbPassword.updateDatabase(ChangeDbPassword.java:333)
        at com.brocade.configwizard.server.util.ChangeDbPassword.changeDbPassword(ChangeDbPassword.java:401)
        at com.brocade.configwizard.server.util.ChangeDbPassword.main(ChangeDbPassword.java:241)
Caused by: java.lang.ClassNotFoundException: com.brocade.dcm.system.certificate.CertificateManagementException
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 3 more

 

Occasional Contributor
Posts: 6
Registered: ‎01-24-2013

Re: Network Advisor Messages - Invalid user ID or Password within smc for user dcmadmin

Hi,

 

only to inform you all. The dbpasswd error could be fixed by expanding the classpath ...

 

[root@server~/bin]# grep JAR_PATH dbpasswd
#JAR_PATH="$DCM_HOME/jboss/modules/system/layers/base/org/postgresql/main/postgresql.jar:$DCM_HOME/lib/server/configwizard-server.jar:$DCM_HOME/lib/dcm-boot.jar:$DCM_HOME/lib/server/util.jar"
JAR_PATH="$DCM_HOME/jboss/modules/system/layers/base/org/postgresql/main/postgresql.jar:$DCM_HOME/lib/server/configwizard-server.jar:$DCM_HOME/lib/dcm-boot.jar:$DCM_HOME/lib/server/util.jar:$DCM_HOME/lib/server/system.jar:$DCM_HOME/jboss/modules/system/layers/base/com/ibatis/main/ibatis-dao-2.jar:$DCM_HOME/jboss/modules/system/layers/base/com/brocade/thirdparty/main/sigar.jar"

 

But smc wrapper script already has all these jar's!

 

So, it's not the solution .-(

Occasional Contributor
Posts: 6
Registered: ‎01-24-2013

Re: Network Advisor Messages - Invalid user ID or Password within smc for user dcmadmin

Hi,

first line of stacktrace (java.lang.NullPointerException) gives me OkCancelDialog.class from package com.brocade.efcm.framework.xul.dialog. Attached ist a screenshot of the section icluding line112.

 

Hopefully someone helps this ...

 

 

 

Occasional Contributor
Posts: 6
Registered: ‎01-24-2013

Re: Network Advisor Messages - Invalid user ID or Password within smc for user dcmadmin

I noticed that the java exeption pops up the window for querying user and password.

Occasional Contributor
Posts: 6
Registered: ‎01-24-2013

Re: Network Advisor Messages - Invalid user ID or Password within smc for user dcmadmin

Hello Daniel,

I am sorry of course, but on the other hand, I am no longer alone. What do you mean that it would have solved automatically, etc. I had an installation with version 14.3.1, I think, on a Windows server with the same problem. So it seems to be OS independent. Please keep me informed.

 

Regards, Helge

Join the Broadcom Community

Get quick and easy access to valuable resources across the Broadcom Community Network.