Jan-Frode Myklebust
2008-Sep-19 14:32 UTC
[Fedora-directory-users] add sudorole cause idm-console to crash/hang
I''ve added the ldif from the sudo source, created an ou=SUDOers, and
when I
try to add a "sudorole" using the idm-console it causes the console to
just
hang or crash.
fedora-idm-console-1.1.1-1.fc6 just gives me a spinning cursor that never
finish,
while centos-idm-console-1.0.0-17.el5.centos.4 gives the following traceback.
Adding
sudorole''s using ldapadd works fine. Any ideas what''s up with
the consoles ? I have
no problem adding other kinds of objects.
[janfrode@sim2 ~]$ centos-idm-console
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at
com.netscape.admin.dirserv.propedit.DSEntryPanel.createActionPanel(Unknown
Source)
at com.netscape.admin.dirserv.propedit.DSEntryPanel.<init>(Unknown
Source)
at com.netscape.admin.dirserv.EntryEditor.doGenericDialog(Unknown
Source)
at com.netscape.admin.dirserv.EntryEditor.addGeneric(Unknown Source)
at com.netscape.admin.dirserv.EntryEditor.createObject(Unknown Source)
at com.netscape.admin.dirserv.DSContentPage.actionNewObject(Unknown
Source)
at com.netscape.admin.dirserv.DSContentPage.actionPerformed(Unknown
Source)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:374)
at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1688)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1732)
at java.awt.Component.processMouseEvent(Component.java:6101)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3276)
at java.awt.Component.processEvent(Component.java:5866)
at java.awt.Container.processEvent(Container.java:2105)
at java.awt.Component.dispatchEventImpl(Component.java:4462)
at java.awt.Container.dispatchEventImpl(Container.java:2163)
at java.awt.Component.dispatchEvent(Component.java:4288)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
at java.awt.Container.dispatchEventImpl(Container.java:2149)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4288)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
-jf
Rich Megginson
2008-Sep-19 14:37 UTC
Re: [Fedora-directory-users] add sudorole cause idm-console to crash/hang
Jan-Frode Myklebust wrote:> I''ve added the ldif from the sudo source, created an ou=SUDOers, and when I > try to add a "sudorole" using the idm-console it causes the console to just > hang or crash. > > fedora-idm-console-1.1.1-1.fc6 just gives me a spinning cursor that never finish, > while centos-idm-console-1.0.0-17.el5.centos.4 gives the following traceback. Adding > sudorole''s using ldapadd works fine. Any ideas what''s up with the consoles ? I have > no problem adding other kinds of objects. >Not sure. You can get more detail by using fedora-idm-console -D 9 -f console.log Please file a bug and attach the console.log with reproducible test case. Thanks!> [janfrode@sim2 ~]$ centos-idm-console > Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException > at com.netscape.admin.dirserv.propedit.DSEntryPanel.createActionPanel(Unknown Source) > at com.netscape.admin.dirserv.propedit.DSEntryPanel.<init>(Unknown Source) > at com.netscape.admin.dirserv.EntryEditor.doGenericDialog(Unknown Source) > at com.netscape.admin.dirserv.EntryEditor.addGeneric(Unknown Source) > at com.netscape.admin.dirserv.EntryEditor.createObject(Unknown Source) > at com.netscape.admin.dirserv.DSContentPage.actionNewObject(Unknown Source) > at com.netscape.admin.dirserv.DSContentPage.actionPerformed(Unknown Source) > at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012) > at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335) > at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404) > at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) > at javax.swing.AbstractButton.doClick(AbstractButton.java:374) > at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1688) > at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1732) > at java.awt.Component.processMouseEvent(Component.java:6101) > at javax.swing.JComponent.processMouseEvent(JComponent.java:3276) > at java.awt.Component.processEvent(Component.java:5866) > at java.awt.Container.processEvent(Container.java:2105) > at java.awt.Component.dispatchEventImpl(Component.java:4462) > at java.awt.Container.dispatchEventImpl(Container.java:2163) > at java.awt.Component.dispatchEvent(Component.java:4288) > at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461) > at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125) > at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055) > at java.awt.Container.dispatchEventImpl(Container.java:2149) > at java.awt.Window.dispatchEventImpl(Window.java:2478) > at java.awt.Component.dispatchEvent(Component.java:4288) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:604) > at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275) > at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:138) > > > > > -jf > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users >
Jan-Frode Myklebust
2008-Sep-19 14:53 UTC
[Fedora-directory-users] Re: add sudorole cause idm-console to crash/hang
On 2008-09-19, Rich Megginson <rmeggins@redhat.com> wrote:>> > Not sure. You can get more detail by using fedora-idm-console -D 9 -f > console.log > Please file a bug and attach the console.log with reproducible test > case. Thanks!Ooops, fedora-idm-console (without -D 9 -f) was already giving tracebacks too. And "-D 9 -f" will need some anonymization before I can upload it. Where do you want the bug reported ? [janfrode@lc4eb5760521341 tmp]$ fedora-idm-console Java Accessibility Bridge for GNOME loaded. Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at com.netscape.admin.dirserv.propedit.DSEntryPanel.createActionPanel(Unknown Source) at com.netscape.admin.dirserv.propedit.DSEntryPanel.<init>(Unknown Source) at com.netscape.admin.dirserv.EntryEditor.doGenericDialog(Unknown Source) at com.netscape.admin.dirserv.EntryEditor.addGeneric(Unknown Source) at com.netscape.admin.dirserv.EntryEditor.createObject(Unknown Source) at com.netscape.admin.dirserv.DSContentPage.actionNewObject(Unknown Source) at com.netscape.admin.dirserv.DSContentPage.actionPerformed(Unknown Source) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2008) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2331) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:400) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:255) at javax.swing.AbstractButton.doClick(AbstractButton.java:370) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1233) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1274) at java.awt.Component.processMouseEvent(Component.java:6054) at javax.swing.JComponent.processMouseEvent(JComponent.java:3278) at java.awt.Component.processEvent(Component.java:5819) at java.awt.Container.processEvent(Container.java:2071) at java.awt.Component.dispatchEventImpl(Component.java:4426) at java.awt.Container.dispatchEventImpl(Container.java:2129) at java.awt.Component.dispatchEvent(Component.java:4256) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4335) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3999) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3929) at java.awt.Container.dispatchEventImpl(Container.java:2115) at java.awt.Window.dispatchEventImpl(Window.java:2453) at java.awt.Component.dispatchEvent(Component.java:4256) at java.awt.EventQueue.dispatchEvent(EventQueue.java:612) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:286) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:186) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:181) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:173) at java.awt.EventDispatchThread.run(EventDispatchThread.java:134) While the cursor was spinning here.. with "-D 9" it was writing to stderr: AbstractServerObject.StatusThread: waiting for change listeners to register DSUtil.checkServerStatus: begin DSUtil.checkServerStatus: ldc={host=ldap1.mydomain.net} {port=389} {authdn=uid=myadmin, ou=Administrators, ou=TopologyManagement, o=NetscapeRoot} state=true DSUtil.checkServerStatus: end state = true DSAdmin.getServerStatus(): end state = true AbstractServerObject.StatusThread: Check Status CGI = 1 exe time: 0.0010 AbstractServerObject.StatusThread: change listener count=1 AbstractServerObject.StatusThread: waiting for change listeners to register AbstractServerObject.StatusThread: waiting for change listeners to register AbstractServerObject.StatusThread: waiting for change listeners to register AbstractServerObject.StatusThread: waiting for change listeners to register AbstractServerObject.StatusThread: waiting for change listeners to register AbstractServerObject.StatusThread: waiting for change listeners to register AbstractServerObject.StatusThread: waiting for change listeners to register AbstractServerObject.StatusThread: waiting for change listeners to register AbstractServerObject.StatusThread: waiting for change listeners to register AbstractServerObject.StatusThread: waiting for change listeners to register AbstractServerObject.StatusThread: waiting for change listeners to register AbstractServerObject.StatusThread: waiting for change listeners to register AbstractServerObject.StatusThread: waiting for change listeners to register AbstractServerObject.StatusThread: waiting for change listeners to register AbstractServerObject.StatusThread: waiting for change listeners to register DSUtil.checkServerStatus: begin DSUtil.checkServerStatus: ldc={host=ldap1.mydomain.net} {port=389} {authdn=uid=myadmin, ou=Administrators, ou=TopologyManagement, o=NetscapeRoot} state=true DSUtil.checkServerStatus: end state = true DSAdmin.getServerStatus(): end state = true AbstractServerObject.StatusThread: Check Status CGI = 1 exe time: 0.0 AbstractServerObject.StatusThread: change listener count=1 AbstractServerObject.StatusThread: waiting for change listeners to register AbstractServerObject.StatusThread: waiting for change listeners to register AbstractServerObject.StatusThread: waiting for change listeners to register AbstractServerObject.StatusThread: waiting for change listeners to register AbstractServerObject.StatusThread: waiting for change listeners to register AbstractServerObject.StatusThread: waiting for change listeners to register AbstractServerObject.StatusThread: waiting for change listeners to register AbstractServerObject.StatusThread: waiting for change listeners to register AbstractServerObject.StatusThread: waiting for change listeners to register AbstractServerObject.StatusThread: waiting for change listeners to register -jf
Rich Megginson
2008-Sep-19 15:06 UTC
Re: [Fedora-directory-users] Re: add sudorole cause idm-console to crash/hang
Jan-Frode Myklebust wrote:> On 2008-09-19, Rich Megginson <rmeggins@redhat.com> wrote: > >> Not sure. You can get more detail by using fedora-idm-console -D 9 -f >> console.log >> Please file a bug and attach the console.log with reproducible test >> case. Thanks! >> > > > Ooops, fedora-idm-console (without -D 9 -f) was already giving tracebacks > too. And "-D 9 -f" will need some anonymization before I can upload it. Where > do you want the bug reported ? >Please file a bug at bugzilla.redhat.com - product Fedora Directory Server> [janfrode@lc4eb5760521341 tmp]$ fedora-idm-console > Java Accessibility Bridge for GNOME loaded. > > Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException > at com.netscape.admin.dirserv.propedit.DSEntryPanel.createActionPanel(Unknown Source) > at com.netscape.admin.dirserv.propedit.DSEntryPanel.<init>(Unknown Source) > at com.netscape.admin.dirserv.EntryEditor.doGenericDialog(Unknown Source) > at com.netscape.admin.dirserv.EntryEditor.addGeneric(Unknown Source) > at com.netscape.admin.dirserv.EntryEditor.createObject(Unknown Source) > at com.netscape.admin.dirserv.DSContentPage.actionNewObject(Unknown Source) > at com.netscape.admin.dirserv.DSContentPage.actionPerformed(Unknown Source) > at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2008) > at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2331) > at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:400) > at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:255) > at javax.swing.AbstractButton.doClick(AbstractButton.java:370) > at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1233) > at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1274) > at java.awt.Component.processMouseEvent(Component.java:6054) > at javax.swing.JComponent.processMouseEvent(JComponent.java:3278) > at java.awt.Component.processEvent(Component.java:5819) > at java.awt.Container.processEvent(Container.java:2071) > at java.awt.Component.dispatchEventImpl(Component.java:4426) > at java.awt.Container.dispatchEventImpl(Container.java:2129) > at java.awt.Component.dispatchEvent(Component.java:4256) > at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4335) > at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3999) > at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3929) > at java.awt.Container.dispatchEventImpl(Container.java:2115) > at java.awt.Window.dispatchEventImpl(Window.java:2453) > at java.awt.Component.dispatchEvent(Component.java:4256) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:612) > at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:286) > at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:196) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:186) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:181) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:173) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:134) > > > While the cursor was spinning here.. with "-D 9" it was writing to stderr: > > AbstractServerObject.StatusThread: waiting for change listeners to register > DSUtil.checkServerStatus: begin > DSUtil.checkServerStatus: ldc={host=ldap1.mydomain.net} {port=389} {authdn=uid=myadmin, ou=Administrators, ou=TopologyManagement, o=NetscapeRoot} state=true > DSUtil.checkServerStatus: end state = true > DSAdmin.getServerStatus(): end state = true > AbstractServerObject.StatusThread: Check Status CGI = 1 exe time: 0.0010 > AbstractServerObject.StatusThread: change listener count=1 > AbstractServerObject.StatusThread: waiting for change listeners to register > AbstractServerObject.StatusThread: waiting for change listeners to register > AbstractServerObject.StatusThread: waiting for change listeners to register > AbstractServerObject.StatusThread: waiting for change listeners to register > AbstractServerObject.StatusThread: waiting for change listeners to register > AbstractServerObject.StatusThread: waiting for change listeners to register > AbstractServerObject.StatusThread: waiting for change listeners to register > AbstractServerObject.StatusThread: waiting for change listeners to register > AbstractServerObject.StatusThread: waiting for change listeners to register > AbstractServerObject.StatusThread: waiting for change listeners to register > AbstractServerObject.StatusThread: waiting for change listeners to register > AbstractServerObject.StatusThread: waiting for change listeners to register > AbstractServerObject.StatusThread: waiting for change listeners to register > AbstractServerObject.StatusThread: waiting for change listeners to register > AbstractServerObject.StatusThread: waiting for change listeners to register > DSUtil.checkServerStatus: begin > DSUtil.checkServerStatus: ldc={host=ldap1.mydomain.net} {port=389} {authdn=uid=myadmin, ou=Administrators, ou=TopologyManagement, o=NetscapeRoot} state=true > DSUtil.checkServerStatus: end state = true > DSAdmin.getServerStatus(): end state = true > AbstractServerObject.StatusThread: Check Status CGI = 1 exe time: 0.0 > AbstractServerObject.StatusThread: change listener count=1 > AbstractServerObject.StatusThread: waiting for change listeners to register > AbstractServerObject.StatusThread: waiting for change listeners to register > AbstractServerObject.StatusThread: waiting for change listeners to register > AbstractServerObject.StatusThread: waiting for change listeners to register > AbstractServerObject.StatusThread: waiting for change listeners to register > AbstractServerObject.StatusThread: waiting for change listeners to register > AbstractServerObject.StatusThread: waiting for change listeners to register > AbstractServerObject.StatusThread: waiting for change listeners to register > AbstractServerObject.StatusThread: waiting for change listeners to register > AbstractServerObject.StatusThread: waiting for change listeners to register > > > -jf > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users >
Jan-Frode Myklebust
2008-Sep-19 22:16 UTC
[Fedora-directory-users] Re: add sudorole cause idm-console to crash/hang
On 2008-09-19, Rich Megginson <rmeggins@redhat.com> wrote:> Please file a bug at bugzilla.redhat.com - product Fedora Directory ServerDone: https://bugzilla.redhat.com/show_bug.cgi?id=462970 -jf
Mallory, Doug \(TPUSA\)
2008-Sep-22 15:52 UTC
[Fedora-directory-users] Fedora-ds unable to connect to ldap server
Hear lately I am getting : password information update failed: Can''t contact LDAP server Service fedora-ds restart does not help. Doug Mallory, CISM, CISSP
Rich Megginson
2008-Sep-22 16:20 UTC
Re: [Fedora-directory-users] Fedora-ds unable to connect to ldap server
Mallory, Doug (TPUSA) wrote:> Hear lately I am getting : > password information update failed: Can''t contact LDAP server > > > Service fedora-ds restart does not help. >What fedora ds version? What platform? Note with fedora ds 1.1 the service name was changed to "dirsrv" What app are you using to change the password? What is the full command line? If you are using "passwd" are your /etc/nsswitch.conf and /etc/ldap.conf settings correct? If you are using /usr/bin/ldappasswd are your /etc/openldap/ldap.conf settings correct? Any clues in your directory server access log file?> > Doug Mallory, CISM, CISSP > > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users >
Mallory, Doug \(TPUSA\)
2008-Sep-22 17:16 UTC
RE: [Fedora-directory-users] Fedora-ds unable to connect to ldapserver
It is Fedora-ds 1.0 on ES 4 I found it was a false error. The reason it would not change was the password was in my history file. Doug Mallory, -----Original Message----- From: fedora-directory-users-bounces@redhat.com [mailto:fedora-directory-users-bounces@redhat.com] On Behalf Of Rich Megginson Sent: Monday, September 22, 2008 12:20 PM To: General discussion list for the Fedora Directory server project. Subject: Re: [Fedora-directory-users] Fedora-ds unable to connect to ldapserver Mallory, Doug (TPUSA) wrote:> Hear lately I am getting : > password information update failed: Can''t contact LDAP server > > > Service fedora-ds restart does not help. >What fedora ds version? What platform? Note with fedora ds 1.1 the service name was changed to "dirsrv" What app are you using to change the password? What is the full command line? If you are using "passwd" are your /etc/nsswitch.conf and /etc/ldap.conf settings correct? If you are using /usr/bin/ldappasswd are your /etc/openldap/ldap.conf settings correct? Any clues in your directory server access log file?> > Doug Mallory, CISM, CISSP > > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users >