LDAP Directory Server 5.2 Install problem on XP

I recently reinstalled this package for authentication to a Cognos BI 7/8 environment after totally uninstalling a previous installation. I get this error message, which I know has been reported before in this forum.

Your new directory server has been started.

Created new Directory Server

Start Slapd Starting Slapd server configuration.

ERROR: Ldap authentication failed for url ldap://localhost.home.com:390/o=NetscapeRoot user id admin (151:Unknown error.)

Fatal Slapd Did not add Directory Server information to Configuration Server.

I'm trying to set this up for authentication to Cognos 8 on a standalone computer that is not a member of a domain. I have an etc.\ hosts file entry set up as (note trailing period after FQDN)

127.0.0.1localhost.home.com.localhost

My computer name is MIKELAPTOP and the DNS suffix entered is home.com. The FQCN is mikelaptop.home.com. The installation interface accepts either FQCN or FQDN but obviously one or the other is not set up properly to be resolved as the installation fails with either.

In case this information is useful, if I ping localhost.home.com I get a reply from 127.0.0.1. If I ping localhost, mikelaptop, or mikelaptop.home.com I get a reply as mikelaptop.home.com on ::1:. I've tried entering mikelaptop.home.com mikelaptop as a second entry in the hosts file against 127.0.0.1 but these ping results don't change.

Unless I'm doing something else wrong or absolutely need a domain for this software, I suspect the virtual directory mapping is a problem.

Can anyone suggest a resolution? It would be deeply appreciated.

[1658 byte] By [MikeMac] at [2007-11-26 11:56:51]
# 1

Directory Server does absolutely need a FQDN to be properly installed on a machine. The error you're seeing is typical when the installer cannot connect to the Configuration Directory Server (which is usually the newly installed DS).

Directory Server configuration could be changed and DS working, but the Console and Administration Server will not be operational. Remove everything and re-installing is required.

This said usually the /etc/hosts hack works.

May be it's the extra dot in the file that is the source of issue.

Have you tried this:

127.0.0.1 mikelaptop.home.com mikelaptop localhost

And then to re-install Directory Server with the new complete name: mikelaptop.home.com

?

Regards,

Ludovic.

ludovicp at 2007-7-7 12:16:34 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2

Ludovic:

Thanks. This was working fine up to a few weeks ago then the authentication in Cognos 8 just stopped working.

I think I've found the cause of the problem, but am no closer to fixing it.

I've tried the 'hack' you proposed and it doesn't work. The issue is on my laptop that is connected via wireless to another computer on a home network. The home computer is connected directly to the Internet: this one feeds off it. I just installed Sun LDAP on that computer and installed like a breeze.

If I ping this computer by name (mikelaptop) or localhost - with both names in the hosts file next to 127.0.0.1 I get a reply on [::1:]. Pinging localhost.home.com returns on 127.0.0.1.

If I ping the home server on its name, I get the ISP IP of xxx.xxx.xx:11 and localhost returns on 127.0.0.1. I suspect the problem is this laptop does not have the TCP/IP settings correct for 127.0.0.1 so the DS installation cannot connect to settings off localhost.

If you can chew on this, I'd be grateful. I have another problem now to attend to and that is that I did a failed uninstall of the LDAP server and now cannot reinstall - another well recorded problem. Reinstallation fails as the server components are all greyed out and no amount of hunting finds the cause. I'll likely have to reformat the drive and start over.

I appreciate any insight you can lend to this puzzle. When it works, the LDAP package is a real dream.

MikeMac at 2007-7-7 12:16:34 > top of Java-index,Web & Directory Servers,Directory Servers...
# 3

> Ludovic:

>

> Thanks. This was working fine up to a few weeks ago

> then the authentication in Cognos 8 just stopped

> working.

...

I have

> another problem now to attend to and that is that I

> did a failed uninstall of the LDAP server and now

> cannot reinstall - another well recorded problem.

> Reinstallation fails as the server components are all

> greyed out and no amount of hunting finds the cause.

> I'll likely have to reformat the drive and start

> over.

This sounds like the famous Installer registry not properly uninstalled.

I would suggest that you search either on this forum or on docs.sun.com.

There are some descriptions of places to cleanup to be able to run the installer again properly.

Unfortunately I don't remember the URL and especially the one for Windows from the top of my head.

Regards,

Ludovic

>

> I appreciate any insight you can lend to this puzzle.

> When it works, the LDAP package is a real dream.

ludovicp at 2007-7-7 12:16:34 > top of Java-index,Web & Directory Servers,Directory Servers...
# 4
Hi MikeMac,I came across the same problem as you with the failed installation of the LDAP server, and now cannot reinstall. My error messages say that the server already exists when I try to reinstall it. Have you found any solutions or helpful links to fix
DaCoder at 2007-7-7 12:16:34 > top of Java-index,Web & Directory Servers,Directory Servers...
# 5

DaCoder:

I've lost my original login so reregistered from MikeMac, the user name originally used for this post.

I did get it fixed but you won't like the solution.

I completely reformatted my hard drive (3 times in fact) and on the last try the software installed beautifully. This is consistent with other threads I've seen. It seems that when an installation of 5.2 LDAP is done, uninstalling does not remove all files and registry entries (suspect the latter). Search as I did, I could not get this thing to reinstall.

This problem has been commented on dozens of times in different forums. Sun would be doing us all a favour if they would at least publish a list of registry entries and system files that the LDAP version might leave behind so we could clean up a dirty uninstall.

If you decide to go my route, suggest you fully upgrade XP service packs and your system drivers, etc. then install this program as your first application. before any others. That worked for me. The first two failed installs were attempted before I fully upgraded drivers. I remember a post I read that this program is also sensitive to some graphics driver issues, which might be what caused that problem.

MPRMAC at 2007-7-7 12:16:34 > top of Java-index,Web & Directory Servers,Directory Servers...
# 6

Hi,

Thanks for your email. I have since stumbled across a favourable solution that helped me uninstall SunOne Directory server 5.2 on my PC.. and it didn't require a rebuild either.

This response was from Pipline 2112 and is said to remove the files/registry-entries/services. You will need to use regedt32 (not regedit) to remove the registry entries, because some of the entries have security permissions set:

1. Run the regedt utility

2. Do a search for "Sun ONE". Once you find a key, right-click and select "Permissions". Grant yourself enough permissions to delete. Click OK to apply.

3. Delete the key and repeat as necessary.

(4.) It may also be necessary to run uninstall_dirserver.exe which should be in the install-root of your Directory Server.

Hope this helps someone else in the same predicament!!!!

Regards,

DaCoder

DaCoder at 2007-7-7 12:16:34 > top of Java-index,Web & Directory Servers,Directory Servers...