[lsc-dev] [Ldap Synchronization Connector - Bug #302] lsc-sample --start-ldap-server gives error while starting sample ldap server

noreply at lsc-project.org noreply at lsc-project.org
Mon Feb 7 18:15:20 CET 2011


Issue #302 has been updated by Sébastien Bahloul.

Category set to Packaging
Target version set to 1.2.1

Thanks, we will look at your fixes to enhance the LSC packaging :)
----------------------------------------
Bug #302: lsc-sample --start-ldap-server gives error while starting sample ldap server
http://tools.lsc-project.org/issues/302

Author: Chintan Murty
Status: New
Priority: Normal
Assigned to: 
Category: Packaging
Target version: 1.2.1
Problem in version: 


I have installed lsc using RPM version (1.2.1).

Name        : lsc                          Relocations: (not relocatable)
Version     : 1.2.1                             Vendor: LTB-project
Release     : 0.el5                         Build Date: Sun 18 Jul 2010 06:45:02 PM EDT
Install Date: Thu 20 Jan 2011 04:56:30 PM EST      Build Host: localhost.localdomain
Group       : Applications/System           Source RPM: lsc-1.2.1-0.el5.src.rpm
Size        : 23379719                         License: BSD
Signature   : (none)
Packager    : Clement OUDOT <clem.oudot at gmail.com>
URL         : http://lsc-project.org
Summary     : LDAP Synchronization Connector
Description :
The Ldap Synchronization Connector project provides tools to synchronize
a LDAP directory from a list of data sources including any database with
a JDBC connector, another LDAP directory, flat files...
---


When I run sample/bin/lsc-sample --start-ldap-server command from /usr/share/doc/lsc/ after importing data. I was geeting error.

[root at wespc94 lsc]# sample/bin/lsc-sample --start-ldap-server
Starting LDAP server on ldap://localhost:33389/ ...
which: no cygpath in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
Exception in thread "main" java.lang.NoClassDefFoundError: ch/qos/logback/core/joran/spi/JoranException
[root at wespc94 lsc]#


to fix this error I created a softlink.
[root at wespc94 lsc]# ln -sf /usr/lib/lsc/ lib


after this I was able to start the sample server.

[root at wespc94 lsc]# ln -sf /usr/lib/lsc/ lib
[root at wespc94 lsc]# sample/bin/lsc-sample --start-ldap-server
Starting LDAP server on ldap://localhost:33389/ ...
which: no cygpath in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
Feb 07 11:52:06 - INFO  - LDIF sample content loaded successfully



-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://tools.lsc-project.org/my/account
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lsc-project.org/pipermail/lsc-dev/attachments/20110207/70a82271/attachment.htm>


More information about the lsc-dev mailing list