directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "leo hu (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DIRSERVER-1682) Could not start apacheds-default on Solaris 8 64bits——Cannot register the SchemaOject
Date Fri, 30 Dec 2011 05:43:33 GMT
Could not start apacheds-default on Solaris 8 64bits——Cannot register the SchemaOject
-------------------------------------------------------------------------------------

                 Key: DIRSERVER-1682
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1682
             Project: Directory ApacheDS
          Issue Type: Bug
          Components: ldap
    Affects Versions: 1.5.7
         Environment: Solaris 8 64bits
            Reporter: leo hu
            Priority: Blocker
             Fix For: 1.5.7


Dear folks,
I run the  apacheds-1.5.7-solaris-x86.pkg in my solaris 10 VM, it works fine.
But the client user the very old very solaris 8. I install the apacheds-1.5.7-solaris-sparc.pkg
successfully, but when I want to start it,  the error happened:

root@moeuxws02 DEV # /etc/init.d/apacheds-default console
Running Apache Directory Server - default...
wrapper  | --> Wrapper Started as Console
wrapper  | Using tick timer.
wrapperp | server listening on port 32000.
wrapper  | Command[0] : java
wrapper  | Command[1] : -Dlog4j.configuration=file:////var/opt/apacheds/default/conf/log4j.properties
wrapper  | Command[2] : -Dapacheds.var.dir=/var/opt/apacheds/default
wrapper  | Command[3] : -Dapacheds.log.dir=/var/opt/apacheds/default/log
wrapper  | Command[4] : -Dapacheds.run.dir=/var/opt/apacheds/default/run
wrapper  | Command[5] : -Dapacheds.instance=default
wrapper  | Command[6] : -Dbootstrap.start.class=org.apache.ldap.server.Service
wrapper  | Command[7] : -Dbootstrap.stop.class=org.apache.ldap.server.Service
wrapper  | Command[8] : -Xms384m
wrapper  | Command[9] : -Xmx384m
wrapper  | Command[10] : -Djava.library.path=../lib
wrapper  | Command[11] : -classpath
wrapper  | Command[12] : ../lib/antlr-2.7.7.jar:../lib/apacheds-avl-partition-1.5.7.jar:../lib/apacheds-core-1.5.7.jar:../lib/apacheds-core-annotations-1.5.7.jar:../lib/apacheds-core-api-1.5.7.jar:../lib/apacheds-core-avl-1.5.7.jar:../lib/apacheds-core-constants-1.5.7.jar:../lib/apacheds-core-entry-1.5.7.jar:../lib/apacheds-core-jndi-1.5.7.jar:../lib/apacheds-core-mock-1.5.7.jar:../lib/apacheds-http-integration-1.5.7.jar:../lib/apacheds-i18n-1.5.7.jar:../lib/apacheds-jdbm-1.5.7.jar:../lib/apacheds-interceptor-kerberos-1.5.7.jar:../lib/apacheds-jdbm-partition-1.5.7.jar:../lib/apacheds-jdbm-store-1.5.7.jar:../lib/apacheds-kerberos-shared-1.5.7.jar:../lib/apacheds-ldif-partition-1.5.7.jar:../lib/apacheds-noarch-installer-1.5.7.jar:../lib/apacheds-protocol-changepw-1.5.7.jar:../lib/apacheds-protocol-dns-1.5.7.jar:../lib/apacheds-protocol-kerberos-1.5.7.jar:../lib/apacheds-protocol-ldap-1.5.7.jar:../lib/apacheds-protocol-ntp-1.5.7.jar:../lib/bootstrapper.jar:../lib/apacheds-protocol-shared-1.5.7.jar:../lib/apacheds-server-jndi-1.5.7.jar:../lib/apacheds-server-xml-1.5.7.jar:../lib/apacheds-utils-1.5.7.jar:../lib/apacheds-xbean-spring-1.5.7.jar:../lib/apacheds-xdbm-base-1.5.7.jar:../lib/apacheds-xdbm-search-1.5.7.jar:../lib/apacheds-xdbm-tools-1.5.7.jar:../lib/bcprov-jdk15-140.jar:../lib/commons-cli-1.2.jar:../lib/commons-collections-3.2.1.jar:../lib/commons-daemon-1.0.1.jar:../lib/commons-io-1.4.jar:../lib/dom4j-1.6.1.jar:../lib/commons-lang-2.5.jar:../lib/jcl-over-slf4j-1.5.10.jar:../lib/jetty-6.1.14.jar:../lib/jetty-util-6.1.14.jar:../lib/log4j-1.2.14.jar:../lib/mina-core-2.0.0-RC1.jar:../lib/servlet-api-2.5-6.1.14.jar:../lib/shared-asn1-0.9.19.jar:../lib/shared-asn1-codec-0.9.19.jar:../lib/shared-cursor-0.9.19.jar:../lib/shared-dsml-parser-0.9.19.jar:../lib/shared-i18n-0.9.19.jar:../lib/shared-ldap-0.9.19.jar:../lib/shared-ldap-jndi-0.9.19.jar:../lib/shared-ldap-constants-0.9.19.jar:../lib/shared-ldap-converter-0.9.19.jar:../lib/shared-ldap-schema-0.9.19.jar:../lib/shared-ldap-schema-dao-0.9.19.jar:../lib/shared-ldap-schema-loader-0.9.19.jar:../lib/shared-ldap-schema-manager-0.9.19.jar:../lib/shared-ldif-0.9.19.jar:../lib/slf4j-api-1.5.10.jar:../lib/slf4j-log4j12-1.5.10.jar:../lib/spring-beans-2.5.6.SEC01.jar:../lib/spring-context-2.5.6.SEC01.jar:../lib/spring-core-2.5.6.SEC01.jar:../lib/wrapper.jar:../lib/xbean-spring-3.5.jar:../lib/xercesImpl-2.9.1.jar:../lib/xpp3-1.1.4c.jar
wrapper  | Command[13] : -Dwrapper.key=ONb8vzZqdlO8MlGC
wrapper  | Command[14] : -Dwrapper.port=32000
wrapper  | Command[15] : -Dwrapper.jvm.port.min=31000
wrapper  | Command[16] : -Dwrapper.jvm.port.max=31999
wrapper  | Command[17] : -Dwrapper.debug=TRUE
wrapper  | Command[18] : -Dwrapper.pid=1674
wrapper  | Command[19] : -Dwrapper.version=3.2.3
wrapper  | Command[20] : -Dwrapper.native_library=wrapper
wrapper  | Command[21] : -Dwrapper.cpu.timeout=10
wrapper  | Command[22] : -Dwrapper.jvmid=1
wrapper  | Command[23] : org.apache.directory.daemon.TanukiBootstrapper
wrapper  | Command[24] : /opt/apacheds
wrapper  | Command[25] : org.apache.directory.server.Service
wrapper  | Command[26] : /var/opt/apacheds/default/conf/server.xml
wrapper  | Launching a JVM...
jvm 1    | WrapperManager class initialized by thread: main  Using classloader: sun.misc.Launcher$AppClassLoader@cac268
jvm 1    | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
jvm 1    |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
jvm 1    |
jvm 1    | Wrapper Manager: JVM #1
jvm 1    | Running a 32-bit JVM.
jvm 1    | Wrapper Manager: Registering shutdown hook
jvm 1    | Wrapper Manager: Using wrapper
jvm 1    | Load native library.  One or more attempts may fail if platform specific libraries
do not exist.
jvm 1    | Loading native library failed: libwrapper-solaris-sparc-32.so  Cause: java.lang.UnsatisfiedLinkError:
no wrapper-solaris-sparc-32 in java.library.path
jvm 1    | Loaded native library: libwrapper.so
jvm 1    | Calling native initialization method.
jvm 1    | Inside native WrapperManager initialization method
jvm 1    | Java Version   : 1.6.0_30-b12 Java HotSpot(TM) Server VM
jvm 1    | Java VM Vendor : Sun Microsystems Inc.
jvm 1    |
jvm 1    | Startup runner thread started.
jvm 1    | Control event monitor thread started.
jvm 1    | WrapperManager.start(org.apache.directory.daemon.TanukiBootstrapper@2a5330, args["/opt/apacheds",
"org.apache.directory.server.Service", "/var/opt/apacheds/default/conf/server.xml"]) called
by thread: main
jvm 1    | Communications runner thread started.
jvm 1    | Open socket to wrapper...Wrapper-Connection
jvm 1    | Opened Socket from 31000 to 32000
wrapperp | accepted a socket from 127.0.0.1 on port 31000
jvm 1    | Send a packet KEY : ONb8vzZqdlO8MlGC
jvm 1    | handleSocket(Socket[addr=/127.0.0.1,port=32000,localport=31000])
wrapperp | read a packet KEY : ONb8vzZqdlO8MlGC
wrapper  | Got key from JVM: ONb8vzZqdlO8MlGC
wrapperp | send a packet LOW_LOG_LEVEL : 1
wrapperp | send a packet PING_TIMEOUT : 30
wrapperp | send a packet PROPERTIES : (Property Values)
wrapper  | Start Application.
wrapperp | send a packet START : start
jvm 1    | Received a packet LOW_LOG_LEVEL : 1
jvm 1    | Wrapper Manager: LowLogLevel from Wrapper is 1
jvm 1    | Received a packet PING_TIMEOUT : 30
jvm 1    | PingTimeout from Wrapper is 30000
jvm 1    | Received a packet PROPERTIES : (Property Values)
jvm 1    | Received a packet START : start
jvm 1    | calling WrapperListener.start()
jvm 1    | Waiting for WrapperListener.start runner thread to complete.
jvm 1    | WrapperListener.start runner thread started.
jvm 1    |            _                     _          ____  ____  
jvm 1    |           / \   _ __    ___  ___| |__   ___|  _ \/ ___|  
jvm 1    |          / _ \ | '_ \ / _` |/ __| '_ \ / _ \ | | \___ \  
jvm 1    |         / ___ \| |_) | (_| | (__| | | |  __/ |_| |___) |
jvm 1    |        /_/   \_\ .__/ \__,_|\___|_| |_|\___|____/|____/  
jvm 1    |                |_|                                      
jvm 1    |
jvm 1    | [10:37:32] ERROR [org.apache.directory.daemon.Bootstrapper] - Failed on null.init(InstallationLayout,
String[])
jvm 1    | java.lang.Exception: ERR_317 Schema load failed : Error : ERR_04292 Cannot build
the references for bitStringMatch, error : ERR_04317 The created MatchingRule must refers
to an existing SYNTAX element
jvm 1    | Error : ERR_04292 Cannot build the references for objectIdentifierMatch, error
: ERR_04317 The created MatchingRule must refers to an existing SYNTAX element
jvm 1    | Error : ERR_04306 Cannot find a Syntax object 1.3.6.1.4.1.1466.115.121.1.37 while
building cross-references for the objectClasses AttributeType.
jvm 1    | Error : ERR_04308 Cannot find an Equality MatchingRule object for objectIdentifierFirstComponentMatch
while building cross-references for the objectClasses AttributeType.
jvm 1    | Error : ERR_04323 Cannot register the SchemaOject 2.5.20.1, the AT we want to add
to MAY does not exist : dITStructureRules
jvm 1    | Error : ERR_04326 Cannot register the SchemaOject 2.16.840.1.113730.3.2.6, the
AT we want to add to MUST does not exist : ref
jvm 1    |
jvm 1    |      at org.apache.directory.server.configuration.ApacheDS.initSchema(ApacheDS.java:503)
jvm 1    |      at org.apache.directory.server.configuration.ApacheDS.startup(ApacheDS.java:124)
jvm 1    |      at org.apache.directory.server.Service.initLdap(Service.java:136)
jvm 1    |      at org.apache.directory.server.Service.init(Service.java:77)
jvm 1    |      at org.apache.directory.daemon.Bootstrapper.callInit(Bootstrapper.java:154)
jvm 1    |      at org.apache.directory.daemon.TanukiBootstrapper.start(TanukiBootstrapper.java:54)
jvm 1    |      at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)
jvm 1    | Wrapper Manager: ShutdownHook started
jvm 1    | WrapperManager.stop(0) called by thread: Wrapper-Shutdown-Hook
jvm 1    | Send a packet STOP : 0
jvm 1    | Startup runner thread stopped.
wrapperp | read a packet STOP : 0
wrapper  | JVM requested a shutdown. (0)
wrapper  | wrapperStopProcess(0) called.
wrapper  | Sending stop signal to JVM
wrapperp | send a packet STOP : NULL
jvm 1    | Thread, Wrapper-Shutdown-Hook, handling the shutdown process.
jvm 1    | shutdownJVM(0) Thread:Wrapper-Shutdown-Hook
jvm 1    | Send a packet STOPPED : 0
wrapperp | read a packet STOPPED : 0
wrapper  | JVM signalled that it was stopped.
jvm 1    | Closing socket.
wrapperp | socket read no code (closed?).
wrapperp | server listening on port 32001.
jvm 1    | Wrapper Manager: ShutdownHook complete
wrapper  | JVM exited normally.
wrapper  | Signal trapped.  Details:
wrapper  |   signal number=18 (SIGCHLD), source="unknown"
wrapper  | Received SIGCHLD, checking JVM process status.
wrapper  | JVM process exited with a code of 4, setting the wrapper exit code to 4.
wrapper  | <-- Wrapper Stopped


Please help me to investigate the issue.

Thanks very much,
Leo

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message