Sun_one Directory Server安装问题总结

0
已邀请:
1

曾力 - 深处互联网四大坑当中~ 2013-07-09 回答

1.安装的操作系统
尽量使用XP Windows Server2003等环境,避免使用win7 因为高版本的操作系统在5.0/5.2的版本下无法支持安装。
SODS5.2支持的平台有:
Sun Solaris 8 for UltraSPARC(32 和 64 位)
Sun Solaris 9 for SPARC(32 和 64 位)
Sun Solaris 9 for x86 (IA-32)
Microsoft Windows 2000 Server 和 Advanced Server SP 3 (IA-32)
RedHat Linux 7.2 (IA-32)
Sun Linux 5.0 (Sun LX50)
Hewlett-Packard HP-UX 11.i PA-RISC 1.1 或 2.0(32 位和 64 位)
IBM AIX 5.1(Power PC)(32 位)

2.安装无法读取本机名称
以下路径下(C:\Windows\system32\drivers\etc\hosts)添加以下信息:localhost ldap.domain.com)

3.安装路径
5.0的版本使用的jdk1.4 所以不能有空格,不然会导致安装失败,jdk1.4不能区分空格
5.2的版本没有尝试过类似Progam files之类的路径。
另外,所有版本的安装路径中最好不要有中文,会产生严重异常。SUN ONE的安装文件,一定要装在英文目录下。否则JAVA安装的时候,会到中文路径下去寻找安装文件,而JAVA本身并不支持在中文下搜索程序的能力,因此会一直在搜索,所以安装的时候会提示整个界面一直卡住,而JAVA又报java.lang错误,提示超出最大长度。实际上,不是由于超出长度,而是由于中文不被识别。

4.残留文件问题
重复安装安装sunone,需要把原有文档中剩余的内容删除干净,重启后完成,

5.缺少dll问题:Error messages: serverConfigure [Ljava.lang.String;@1e193f2" returned status : 128Configuration of the Directory Server failed.Error Directory Server configuration failureChecking connection to the Directory Server... failed.The Administration Server cannot be configured.Error Administration Server configuration failureError Configuration of the server(s) failed.Other possible errors :"The application has failed to start because nss3.dll was not found"The Sun installer may also complain about "libplc4.dll" or "libnspr4.dll" or "libadminutil52.dll" not found.---ds_create.exe ---"The procedure entry point PR_GetLibraryFilePathname could not be located in the dynamic link library libnspr4.dll."

Resolving the problem
1) Download Sun One Directory Server 5.2 Patch 4, or later, from the Sun website.
2) If it cannot be downloaded or if this does not solve the problem, here is a workaround :
    []Uninstall SunOne DS 5.2- From the installation files, open folder \directory_server\setup_data\base, you will find a file called nsbasesys.zip- Open nsbasesys.zip, extract all the .dll files to %WINDIR%\system32- Double check that you have these files in %WINDIR%\system32 :===C:\WINDOWS\SYSTEM32> dir /b icu[i].dll lib.dll nsldap.dll nss3.dll sasl.dll smime3.dll ssl3.dllicudt2.dllicuin2.dllicuio2.dllicule2.dllicuuc2.dlllibadminutil52.dlllibadmsslutil52.dlllibnspr4.dlllibplc4.dlllibplds4.dllnsldap32v50.dllnsldappr32v50.dllnsldapssl32v50.dllnss3.dllsasl32.dllsmime3.dllssl3.dll===- From the installation files, run "setup", or if you wish to see debugging messages, run "setup -debug"- The installation should now terminate successfully. [/[/i]]

要回复问题请先登录注册