no ldap entries anymore

Post Reply
mozi
Member
Posts: 86
Joined: 10 Oct 2005 11:52
Location: Germany / Bernloch

no ldap entries anymore

Post by mozi »

Hi,
having a Problem with an ICS 6.6. No user can login anymore.
WebAdmin Login is possible.
When a I try to connect via the LDAP Admin Tool I get an Error Message like this:
LDAP error: no existing Object!

A restore of a Backup doesn't help.
Even an upgrade to the latestVersion doesn't help.

I checked the TG63 and found : in this case of Problem I have to launche this script file:
Chapter 20.1


./opt/Alcatel-Lucent/Sybase/bin32/sa_config.sh

[root@srvtkotuc /]# ./opt/Alcatel-Lucent/Sybase/bin32/sa_config.sh
iAnywhere Solutions, Inc. One Sybase Drive, Dublin, CA 94568, USA
Copyright (c) 2001-2007, iAnywhere Solutions, Inc. Portions copyright (c)
1988-2007, Sybase, Inc. All rights preserved. All unpublished rights reserved.


dbisql -c "DBN=DIRECTORIES;UID=DBA;PWD=sql" sp_tables@table_owner = "'DIRECTORIES'"


[root@srvtkotuc bin32]# ./dbisql -c "DBN=DIRECTORIES;UID=DBA;PWD=sql" sp_tables@table_owner = "'DIRECTORIES'"
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.ianywhere.errorreporting.DiagnosticInfo.isInstalled(DiagnosticInfo.java:48)
at com.ianywhere.errorreporting.ErrorReportingServiceClient.getErrorReportDirectoryName(ErrorReportingServiceClient.java:208)
at com.ianywhere.errorreporting.ExceptionHandler.writeExceptionFile(ExceptionHandler.java:838)
at com.ianywhere.errorreporting.ExceptionHandler.handleException(ExceptionHandler.java:195)
at sybase.isql.isql.main(isql.java:581)
Caused by: java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
at java.awt.Window.<init>(Window.java:318)
at java.awt.Frame.<init>(Frame.java:419)
at java.awt.Frame.<init>(Frame.java:384)
at javax.swing.SwingUtilities$SharedOwnerFrame.<init>(SwingUtilities.java:1666)
at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1743)
at javax.swing.JOptionPane.getRootFrame(JOptionPane.java:1624)
at com.sybase.util.SybOptionPane.showOptionDialog(SybOptionPane.java:261)
at com.sybase.util.SybOptionPane.showMessageDialog(SybOptionPane.java:110)
at com.sybase.util.SybOptionPane.showMessageDialog(SybOptionPane.java:104)
at com.sybase.util.DLLLoader.<clinit>(DLLLoader.java:61)
... 5 more




Any idea?

Regards
Mozi
User avatar
cavagnaro
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 7014
Joined: 14 Sep 2005 19:45
Location: Brasil, Porto Alegre
Contact:

Re: no ldap entries anymore

Post by cavagnaro »

Well as logs indicate:

Code: Select all

No X11 DISPLAY variable was set, but this program performed an operation which requires it.
Do it by GUI no just console.
Seems your LDAP db got corrupted. A FULL backup restore should fix it.
Ignorance is not the problem, the problem is the one who doesn't want to learn

OTUC/ICS ACFE/ACSE R3.0/4.0/5.0/6.0
Certified Genesys CIV 8.5
Certified Genesys Troubleshooting 8.5
Certified Genesys BEP 8.x
Genesys Developer
mozi
Member
Posts: 86
Joined: 10 Oct 2005 11:52
Location: Germany / Bernloch

Re: no ldap entries anymore

Post by mozi »

Thanks for the answer.

A full restore doesn't work. Even with the oldest Backup.

When I try to connect to the ldap database with a ldapadmin I get the message
RootDSE content problems.

I tried to delete the database using ldap_db_remove.sh
and created a new one with ldapConf.sh
Is there another possibility to repair the schmatic of the database?

Regards

Mozi
User avatar
cavagnaro
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 7014
Joined: 14 Sep 2005 19:45
Location: Brasil, Porto Alegre
Contact:

Re: no ldap entries anymore

Post by cavagnaro »

Jummm...you backup also includes LDAP basic objetcs? If so should work if not well...I don't know any other option. Maybe somebody else could answer on this days.
Ignorance is not the problem, the problem is the one who doesn't want to learn

OTUC/ICS ACFE/ACSE R3.0/4.0/5.0/6.0
Certified Genesys CIV 8.5
Certified Genesys Troubleshooting 8.5
Certified Genesys BEP 8.x
Genesys Developer
Post Reply

Return to “OTUC”