Hi everybody,

I looked for a LDAP/Active Directory integration solution and I found
LSC plugin.

Since I known this tool, I adjusted the xml configuration file to work
with my test environment and I don't get a functional proof of concept.

When I launch "/usr/bin/lsc -f /etc/lsc/ldap2ad/ -s all -c all -n", some
errors are displayed in the command line:

-------------------------------------------------------------------------
feb 04 16:37:15 - ERROR - Defined configuration location
(/etc/lsc/ldap2ad) points to a non existing LSC configured instance. LSC
configuration loading will fail !
Error: java.lang.RuntimeException: Defined configuration location
(/etc/lsc/ldap2ad) points to a non existing LSC configured instance. LSC
configuration loading will fail !
java.lang.RuntimeException: Defined configuration location
(/etc/lsc/ldap2ad) points to a non existing LSC configured instance. LSC
configuration loading will fail !
        at org.lsc.Configuration.setUp(Configuration.java:474)
        at org.lsc.Configuration.setUp(Configuration.java:456)
        at org.lsc.Launcher.run(Launcher.java:205)
        at org.lsc.Launcher.launch(Launcher.java:158)
        at org.lsc.Launcher.main(Launcher.java:141)
-------------------------------------------------------------------------

and previusly to it:

-------------------------------------------------------------------------
16:37:15,108 |-INFO in ch.qos.logback.classic.LoggerContext[default] -
Could NOT find resource [logback-test.xml]
16:37:15,108 |-INFO in ch.qos.logback.classic.LoggerContext[default] -
Found resource [logback.xml] at [file:/etc/lsc/logback.xml]
16:37:15,109 |-WARN in ch.qos.logback.classic.LoggerContext[default] -
Resource [logback.xml] occurs multiple times on the classpath.
16:37:15,109 |-WARN in ch.qos.logback.classic.LoggerContext[default] -
Resource [logback.xml] occurs at [file:/etc/lsc/logback.xml]
16:37:15,109 |-WARN in ch.qos.logback.classic.LoggerContext[default] -
Resource [logback.xml] occurs at
[jar:file:/usr/lib/lsc/lsc-core-2.1.3.jar!/logback.xml]
16:37:15,241 |-INFO in
ch.qos.logback.classic.joran.action.ConfigurationAction - debug
attribute not set
16:37:15,292 |-INFO in ch.qos.logback.core.joran.action.AppenderAction -
About to instantiate appender of type
[ch.qos.logback.core.ConsoleAppender]
16:37:15,297 |-INFO in ch.qos.logback.core.joran.action.AppenderAction -
Naming appender as [CONSOLE]
16:37:15,355 |-INFO in
ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing
component [encoder] on top of the object stack.
16:37:15,410 |-INFO in
ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing
component [layout] on top of the object stack.
16:37:15,516 |-INFO in ch.qos.logback.core.joran.action.AppenderAction -
About to instantiate appender of type
[ch.qos.logback.core.rolling.RollingFileAppender]
16:37:15,519 |-INFO in ch.qos.logback.core.joran.action.AppenderAction -
Naming appender as [LSC]
16:37:15,534 |-INFO in
ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing
component [layout] on top of the object stack.
16:37:15,534 |-WARN in
ch.qos.logback.core.rolling.RollingFileAppender[LSC] - This appender no
longer admits a layout as a sub-component, set an encoder instead.
16:37:15,534 |-WARN in
ch.qos.logback.core.rolling.RollingFileAppender[LSC] - To ensure
compatibility, wrapping your layout in LayoutWrappingEncoder.
16:37:15,534 |-WARN in
ch.qos.logback.core.rolling.RollingFileAppender[LSC] - See also
http://logback.qos.ch/codes.html#layoutInsteadOfEncoder for details
16:37:15,536 |-INFO in
ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing
component [filter] on top of the object stack.
16:37:15,542 |-INFO in
ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing
component [rollingPolicy] on top of the object stack.
16:37:15,564 |-INFO in
ch.qos.logback.core.rolling.FixedWindowRollingPolicy@64c64813 - Will use
gz compression
16:37:15,567 |-INFO in
ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing
component [triggeringPolicy] on top of the object stack.
16:37:15,601 |-INFO in
ch.qos.logback.core.rolling.RollingFileAppender[LSC] - Active log file
name: /var/log/lsc/lsc.log
16:37:15,601 |-INFO in
ch.qos.logback.core.rolling.RollingFileAppender[LSC] - File property is
set to [/var/log/lsc/lsc.log]
16:37:15,602 |-INFO in ch.qos.logback.core.joran.action.AppenderAction -
About to instantiate appender of type [ch.qos.logback.core.FileAppender]
16:37:15,602 |-INFO in ch.qos.logback.core.joran.action.AppenderAction -
Naming appender as [LSC_STATUS]
16:37:15,603 |-INFO in
ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing
component [layout] on top of the object stack.
16:37:15,603 |-WARN in ch.qos.logback.core.FileAppender[LSC_STATUS] -
This appender no longer admits a layout as a sub-component, set an
encoder instead.
16:37:15,603 |-WARN in ch.qos.logback.core.FileAppender[LSC_STATUS] - To
ensure compatibility, wrapping your layout in LayoutWrappingEncoder.
16:37:15,603 |-WARN in ch.qos.logback.core.FileAppender[LSC_STATUS] -
See also http://logback.qos.ch/codes.html#layoutInsteadOfEncoder for
details
16:37:15,604 |-INFO in
ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing
component [filter] on top of the object stack.
16:37:15,604 |-INFO in ch.qos.logback.core.FileAppender[LSC_STATUS] -
File property is set to [/var/log/lsc/lsc.status]
16:37:15,604 |-INFO in ch.qos.logback.core.joran.action.AppenderAction -
About to instantiate appender of type
[ch.qos.logback.core.rolling.RollingFileAppender]
16:37:15,604 |-INFO in ch.qos.logback.core.joran.action.AppenderAction -
Naming appender as [LDIF]
16:37:15,604 |-INFO in
ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing
component [layout] on top of the object stack.
16:37:15,605 |-WARN in
ch.qos.logback.core.rolling.RollingFileAppender[LDIF] - This appender no
longer admits a layout as a sub-component, set an encoder instead.
16:37:15,605 |-WARN in
ch.qos.logback.core.rolling.RollingFileAppender[LDIF] - To ensure
compatibility, wrapping your layout in LayoutWrappingEncoder.
16:37:15,605 |-WARN in
ch.qos.logback.core.rolling.RollingFileAppender[LDIF] - See also
http://logback.qos.ch/codes.html#layoutInsteadOfEncoder for details
16:37:15,605 |-INFO in
ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing
component [filter] on top of the object stack.
16:37:15,606 |-INFO in
ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing
component [rollingPolicy] on top of the object stack.
16:37:15,606 |-INFO in
ch.qos.logback.core.rolling.FixedWindowRollingPolicy@3ecf72fd - Will use
gz compression
16:37:15,607 |-INFO in
ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing
component [triggeringPolicy] on top of the object stack.
16:37:15,607 |-INFO in
ch.qos.logback.core.rolling.RollingFileAppender[LDIF] - Active log file
name: /var/log/lsc/lsc.ldif
16:37:15,607 |-INFO in
ch.qos.logback.core.rolling.RollingFileAppender[LDIF] - File property is
set to [/var/log/lsc/lsc.ldif]
16:37:15,607 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction
- Setting level of logger [org.lsc] to INFO
16:37:15,607 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction
- Setting additivity of logger [org.lsc] to true
16:37:15,607 |-INFO in
ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender
named [LSC] to Logger[org.lsc]
16:37:15,621 |-INFO in
ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender
named [LSC_STATUS] to Logger[org.lsc]
16:37:15,621 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction
- Setting level of logger [lsc] to INFO
16:37:15,621 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction
- Setting additivity of logger [lsc] to true
16:37:15,621 |-INFO in
ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender
named [LDIF] to Logger[lsc]
16:37:15,621 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction
- Setting level of logger [communicationLogger] to WARN
16:37:15,621 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction
- Setting additivity of logger [communicationLogger] to true
16:37:15,621 |-INFO in
ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender
named [CONSOLE] to Logger[communicationLogger]
16:37:15,621 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction
- Setting level of logger [org.apache] to WARN
16:37:15,621 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction
- Setting additivity of logger [org.apache] to true
16:37:15,621 |-INFO in
ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender
named [CONSOLE] to Logger[org.apache]
16:37:15,621 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction
- Setting level of logger [poolLogger] to WARN
16:37:15,621 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction
- Setting additivity of logger [poolLogger] to true
16:37:15,621 |-INFO in
ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender
named [CONSOLE] to Logger[poolLogger]
16:37:15,621 |-INFO in
ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of
ROOT logger to INFO
16:37:15,621 |-INFO in
ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender
named [CONSOLE] to Logger[ROOT]
-------------------------------------------------------------------------

at this point, I followed the installation guide and "Populating Active
Directory from OpenLDAP" tutorial

Can some one help me to resolve the issue with my LSC configuration
file?



Thanks,

Ivan


_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users

Reply via email to