登录DSCCC控制台报错提示:安装错误代码: 3

登录DSCCC控制台报错内容:
读取安装配置时出错
检查目录服务控制中心状态时出现意外错误。
显示详细资料
隐藏详细资料
安装错误代码: 3

堆栈:

com.sun.directory.common.slapx.AdmCmdErrorException: /home/ldap/testldap/ds6/bin/dsadm info --all --separator = /home/ldap/testldap/var/dscc6/dcc/ads
com.sun.directory.common.slapx.AdmCmd.run(AdmCmd.java:84)
com.sun.directory.common.slapx.AdmCmd.runInfo(AdmCmd.java:164)
com.sun.directory.common.slapx.SlapxCmd.runInfo(SlapxCmd.java:82)
com.sun.directory.dcc.ads.ADSInstall.getSlapxInfo(ADSInstall.java:447)
com.sun.directory.dcc.ads.ADSInstall.isRunning(ADSInstall.java:382)
com.sun.web.admin.directory.dcc.InitSequenceViewBean.getInstallException(InitSequenceViewBean.java:81)
com.sun.web.admin.directory.dcc.ADSInstallExceptionViewBean.createChild(ADSInstallExceptionViewBean.java:73)
com.iplanet.jato.view.ContainerViewBase.ensureChild(ContainerViewBase.java:187)
com.iplanet.jato.view.ContainerViewBase.getChild(ContainerViewBase.java:541)
com.iplanet.jato.view.ContainerViewBase.beginChildDisplay(ContainerViewBase.java:819)
com.iplanet.jato.taglib.TagBase.fireBeginDisplayEvent(TagBase.java:133)
com.sun.web.ui.taglib.common.CCTagBase.fireBeginDisplayEvent(CCTagBase.java:149)
com.sun.web.ui.taglib.common.CCTagBase.doEndTag(CCTagBase.java:108)
org.apache.jsp.jsp.ADSInstallException_jsp._jspx_meth_cc_005ftext_005f2(ADSInstallException_jsp.java:448)
org.apache.jsp.jsp.ADSInstallException_jsp._jspx_meth_cc_005fpagetitle_005f0(ADSInstallException_jsp.java:265)
org.apache.jsp.jsp.ADSInstallException_jsp._jspx_meth_cc_005fheader_005f0(ADSInstallException_jsp.java:171)
org.apache.jsp.jsp.ADSInstallException_jsp._jspService(ADSInstallException_jsp.java:87)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
com.iplanet.jato.view.ViewBeanBase.forward(ViewBeanBase.java:340)
com.iplanet.jato.view.ViewBeanBase.forwardTo(ViewBeanBase.java:261)
com.sun.web.admin.directory.dcc.DCCViewBean.beginDisplay(DCCViewBean.java:186)
com.iplanet.jato.taglib.UseViewBeanTag.doStartTag(UseViewBeanTag.java:149)
org.apache.jsp.jsp.DCC_jsp._jspService(DCC_jsp.java:71)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
com.iplanet.jato.view.ViewBeanBase.forward(ViewBeanBase.java:340)
com.iplanet.jato.view.ViewBeanBase.forwardTo(ViewBeanBase.java:261)
com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:981)
com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:615)
com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.java:459)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
com.sun.web.admin.directory.dcc.solo.DCCSoloSessionManagerFilter.doFilter(DCCSoloSessionManagerFilter.java:251)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
java.lang.Thread.run(Thread.java:636)

处理方法:

重建dscc的ads:(只需要在安装DSCC控制台的那台机器上进行重建即可)

……./dsccsetup ads-create

重建ads后,重启DSCC的tomcat,登录DSCC控制台,之前注册的已不见了,需要重新注册现有环境中的所有实例。之前的复制关系还在,没有被覆盖。

=====================

做以上操作前必须备份数据(包括数据文件,索引文件,默认实例....var/dscc6/dcc/ads,还有tomcat Webapps下文件)最好停止实例,对整个LDAP目录进行备份。

posted on 2014-12-31 23:44  遠離塵世の方舟  阅读(640)  评论(0编辑  收藏  举报

导航