directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David R Robison <drrobi...@openroadsconsulting.com>
Subject Re: Problems setting up ApacheDS 1.5.4 as a Kerberos Server
Date Mon, 23 Feb 2009 16:11:06 GMT
I copied the following files to the lib directory of the DS install and 
restarted the server.
bcprov-ext-jdk16-141.jar
bcprov-jdk16-141.jar
Things seem to run OK, but the Kerberos server still does not seem to 
want to start up. Here is the log.

STATUS | wrapper  | 2009/02/23 11:01:56 | --> Wrapper Started as Service
STATUS | wrapper  | 2009/02/23 11:01:56 | Launching a JVM...
INFO   | jvm 1    | 2009/02/23 11:01:57 | Wrapper (Version 3.2.3) 
http://wrapper.tanukisoftware.org
INFO   | jvm 1    | 2009/02/23 11:01:57 |   Copyright 1999-2006 Tanuki 
Software, Inc.  All Rights Reserved.
INFO   | jvm 1    | 2009/02/23 11:01:57 |
INFO   | jvm 1    | 2009/02/23 11:01:57 | Starting the LDAP server
INFO   | jvm 1    | 2009/02/23 11:01:57 | [11:01:57] INFO 
[org.apache.directory.server.Service] - Starting the LDAP server
INFO   | jvm 1    | 2009/02/23 11:01:57 |            
_                     _          ____  ____  
INFO   | jvm 1    | 2009/02/23 11:01:57 |           / \   _ __    ___  
___| |__   ___|  _ \/ ___| 
INFO   | jvm 1    | 2009/02/23 11:01:57 |          / _ \ | '_ \ / _` |/ 
__| '_ \ / _ \ | | \___ \ 
INFO   | jvm 1    | 2009/02/23 11:01:57 |         / ___ \| |_) | (_| | 
(__| | | |  __/ |_| |___) |
INFO   | jvm 1    | 2009/02/23 11:01:57 |        /_/   \_\ .__/ 
\__,_|\___|_| |_|\___|____/|____/ 
INFO   | jvm 1    | 2009/02/23 11:01:57 |                
|_|                                      
INFO   | jvm 1    | 2009/02/23 11:01:57 |
INFO   | jvm 1    | 2009/02/23 11:01:57 | [11:01:57] INFO 
[org.apache.directory.server.Service] - server: loading settings from
INFO   | jvm 1    | 2009/02/23 11:01:57 | [11:01:57] INFO 
[org.apache.xbean.spring.context.FileSystemXmlApplicationContext] - 
Refreshing 
org.apache.xbean.spring.context.FileSystemXmlApplicationContext@194df86: 
display name 
[org.apache.xbean.spring.context.FileSystemXmlApplicationContext@194df86]; 
startup date [Mon Feb 23 11:01:57 EST 2009]; root of context hierarchy
INFO   | jvm 1    | 2009/02/23 11:01:57 | [11:01:57] INFO 
[org.apache.xbean.spring.context.v2.XBeanXmlBeanDefinitionReader] - 
Loading XML bean definitions from URL 
[file:/C:/Program%20Files/Apache%20Directory%20Server/instances/default/conf/server.xml]
INFO   | jvm 1    | 2009/02/23 11:01:58 | [11:01:58] INFO 
[org.apache.xbean.spring.context.FileSystemXmlApplicationContext] - Bean 
factory for application context 
[org.apache.xbean.spring.context.FileSystemXmlApplicationContext@194df86]: 
org.springframework.beans.factory.support.DefaultListableBeanFactory@15663a2
INFO   | jvm 1    | 2009/02/23 11:01:59 | UDP Transport created : 
<localhost:88, 3>
INFO   | jvm 1    | 2009/02/23 11:01:59 | [11:01:59] INFO 
[org.apache.directory.server.configuration.ApacheDS] - Starting the 
Apache Directory Server
INFO   | jvm 1    | 2009/02/23 11:01:59 | [11:01:59] INFO 
[org.apache.directory.server.configuration.ApacheDS] - Set the 
allowAnonymousAccess flag to false
INFO   | jvm 1    | 2009/02/23 11:01:59 | [11:01:59] INFO 
[org.apache.directory.server.configuration.ApacheDS] - Set the 
synchPeriodMillis to 15000
INFO   | jvm 1    | 2009/02/23 11:01:59 | [11:01:59] INFO 
[org.apache.directory.server.configuration.ApacheDS] - The LDIF 
directory file is C:\Program Files\Apache Directory 
Server\bin\..\instances\default\conf\orciRoot.ldif
INFO   | jvm 1    | 2009/02/23 11:01:59 | [11:01:59] INFO 
[org.apache.directory.server.core.DefaultDirectoryService] - ApacheDS 
shutdown hook has been registered with the runtime.
INFO   | jvm 1    | 2009/02/23 11:02:01 | [11:02:01] WARN 
[org.apache.directory.server.schema.registries.DefaultOidRegistry] - OID 
for name 'krb5PrincipalName' was not found within the OID registry
INFO   | jvm 1    | 2009/02/23 11:02:01 | [11:02:01] INFO 
[org.apache.directory.server.core.event.EventInterceptor] - Initializing ...
INFO   | jvm 1    | 2009/02/23 11:02:01 | [11:02:01] INFO 
[org.apache.directory.server.core.event.EventInterceptor] - 
Initialization complete.
INFO   | jvm 1    | 2009/02/23 11:02:01 | [11:02:01] INFO 
[org.apache.directory.server.configuration.ApacheDS] - LDIF load 
directory 'C:\\Program Files\\Apache Directory 
Server\\instances\\default\\conf\\orciRoot.ldif' is a file. Will attempt 
to load as LDIF.
INFO   | jvm 1    | 2009/02/23 11:02:01 | [11:02:01] INFO 
[org.apache.directory.server.configuration.ApacheDS] - Load of LDIF file 
'C:\\Program Files\\Apache Directory 
Server\\instances\\default\\conf\\orciRoot.ldif' skipped.  It has 
already been loaded on 20090223155308Z.
INFO   | jvm 1    | 2009/02/23 11:02:01 | [11:02:01] INFO 
[org.apache.directory.server.ldap.LdapService] - Added Extended Request 
Handler: 1.3.6.1.4.1.1466.20037
INFO   | jvm 1    | 2009/02/23 11:02:02 | [11:02:02] INFO 
[org.apache.directory.server.ldap.LdapService] - Added Extended Request 
Handler: 1.3.6.1.4.1.18060.0.1.3
INFO   | jvm 1    | 2009/02/23 11:02:02 | [11:02:02] INFO 
[org.apache.directory.server.ldap.LdapService] - Added Extended Request 
Handler: 1.3.6.1.4.1.18060.0.1.1
INFO   | jvm 1    | 2009/02/23 11:02:02 | [11:02:02] INFO 
[org.apache.directory.server.ldap.LdapService] - Successful bind of an 
LDAP Service (10389) is complete.
INFO   | jvm 1    | 2009/02/23 11:02:02 | [11:02:02] INFO 
[org.apache.directory.server.ldap.LdapService] - Ldap service started.
INFO   | jvm 1    | 2009/02/23 11:02:02 | Ldap service started.
INFO   | jvm 1    | 2009/02/23 11:02:02 | [11:02:02] INFO 
[org.apache.directory.server.ldap.LdapService] - Successful bind of an 
LDAP Service (10686) is complete.
INFO   | jvm 1    | 2009/02/23 11:02:02 | [11:02:02] INFO 
[org.apache.directory.server.ldap.LdapService] - Ldaps service started.
INFO   | jvm 1    | 2009/02/23 11:02:02 | Ldaps service started.
INFO   | jvm 1    | 2009/02/23 11:02:02 | [11:02:02] INFO 
[org.apache.directory.server.Service] - LDAP server: started in 4594 
milliseconds
INFO   | jvm 1    | 2009/02/23 11:02:02 | LDAP server started
INFO   | jvm 1    | 2009/02/23 11:02:02 | [11:02:02] INFO 
[org.apache.directory.server.Service] - Cannot find any reference to the 
NTP Server in the server.xml file : the server won't be started
INFO   | jvm 1    | 2009/02/23 11:02:02 | [11:02:02] INFO 
[org.apache.directory.server.Service] - Cannot find any reference to the 
Kerberos Server in the server.xml file : the server won't be started

Any thoughts?

David R Robison wrote:
> Thanks, that did the trick for the installer. However, after 
> installing, I get two new errors:
>
> 1) OID for name 'krb5PrincipalName' was not found within the OID registry
> Do I need to manually add this somewhere?
>
> 2) java.lang.ClassNotFoundException: 
> org.bouncycastle.jce.provider.BouncyCastleProvider
> Should I include this in the lib directory?
>
> Thanks, David
>
> Pierre-Arnaud Marcelot wrote:
>> Unfortunately, we have not extracted the makensis path to the user's
>> settings.xml file yet.
>> This is very bad... Moreover, a JIRA should be created for this.
>>
>> So, for now, it's "hardcoded" in the the pom.xml file of the project 
>> (which
>> is very very bad...).
>>
>> You might have to twek the location in the pom.xml to get it working 
>> on your
>> environment.
>>
>> Regards,
>> Pierre-Arnaud
>>
>> On Mon, Feb 23, 2009 at 3:28 PM, David R Robison <
>> drrobison@openroadsconsulting.com> wrote:
>>
>>  
>>> Thanks, can you send me an example of how to configure the
>>> ~/.m2/settings.xml file to point to my makensis install? David
>>>
>>>
>>> Pierre-Arnaud Marcelot wrote:
>>>
>>>    
>>>> Hi David,
>>>>
>>>> You'll need to install the NSIS compiler utility on your machine.
>>>>
>>>> You can find some information on these pages (they're not that 
>>>> complete,
>>>> nor
>>>> up-to-date though).
>>>>
>>>> http://cwiki.apache.org/confluence/display/DIRxSBOX/Draft+-+Apache+DS+Installers+Documentation

>>>>
>>>>
>>>> http://cwiki.apache.org/confluence/display/DIRxSBOX/Installing+NSIS+-+All+platforms

>>>>
>>>>
>>>> Hope this helps,
>>>> Pierre-Arnaud
>>>>
>>>>
>>>> On Mon, Feb 23, 2009 at 3:02 PM, David R Robison <
>>>> drrobison@openroadsconsulting.com> wrote:
>>>>
>>>>
>>>>
>>>>      
>>>>> Is there a procedure for building the Windows Install EXE from the 
>>>>> SVN
>>>>> sources? Thanks, David
>>>>>
>>>>> Emmanuel Lecharny wrote:
>>>>>
>>>>>
>>>>>
>>>>>        
>>>>>> Is there a release date for 1.5.5 that will include the fix? David
>>>>>>
>>>>>>
>>>>>>          
>>>>>>>             
>>>>>> Not yet. But you can build the server from trunk.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>           
>>>>> -- 
>>>>>
>>>>> David R Robison
>>>>> Open Roads Consulting, Inc.
>>>>> 103 Watson Road, Chesapeake, VA 23320
>>>>> phone: (757) 546-3401
>>>>> e-mail: drrobison@openroadsconsulting.com
>>>>> web: http://openroadsconsulting.com
>>>>> blog: http://therobe.blogspot.com
>>>>> book: http://www.xulonpress.com/book_detail.php?id=2579
>>>>>
>>>>> This e-mail communication (including any attachments) may contain
>>>>> confidential and/or privileged material intended solely for the
>>>>> individual
>>>>> or entity to which it is addressed.  If you are not the intended
>>>>> recipient,
>>>>> you should immediately stop reading this message and delete it 
>>>>> from all
>>>>> computers that it resides on. Any unauthorized reading, distribution,
>>>>> copying or other use of this communication (or its attachments) is
>>>>> strictly
>>>>> prohibited.  If you have received this communication in error, please
>>>>> notify
>>>>> us immediately.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>         
>>>>
>>>>       
>>> -- 
>>>
>>> David R Robison
>>> Open Roads Consulting, Inc.
>>> 103 Watson Road, Chesapeake, VA 23320
>>> phone: (757) 546-3401
>>> e-mail: drrobison@openroadsconsulting.com
>>> web: http://openroadsconsulting.com
>>> blog: http://therobe.blogspot.com
>>> book: http://www.xulonpress.com/book_detail.php?id=2579
>>>
>>> This e-mail communication (including any attachments) may contain
>>> confidential and/or privileged material intended solely for the 
>>> individual
>>> or entity to which it is addressed.  If you are not the intended 
>>> recipient,
>>> you should immediately stop reading this message and delete it from all
>>> computers that it resides on. Any unauthorized reading, distribution,
>>> copying or other use of this communication (or its attachments) is 
>>> strictly
>>> prohibited.  If you have received this communication in error, 
>>> please notify
>>> us immediately.
>>>
>>>
>>>
>>>
>>>
>>>     
>>
>>   
>

-- 

David R Robison
Open Roads Consulting, Inc.
103 Watson Road, Chesapeake, VA 23320
phone: (757) 546-3401
e-mail: drrobison@openroadsconsulting.com
web: http://openroadsconsulting.com
blog: http://therobe.blogspot.com
book: http://www.xulonpress.com/book_detail.php?id=2579

This e-mail communication (including any attachments) may contain confidential and/or privileged
material intended solely for the individual or entity to which it is addressed.  If you are
not the intended recipient, you should immediately stop reading this message and delete it
from all computers that it resides on. Any unauthorized reading, distribution, copying or
other use of this communication (or its attachments) is strictly prohibited.  If you have
received this communication in error, please notify us immediately.  



 




Mime
View raw message