Issue #707 has been updated by Frédéric POISSON.

Hello Raphaël,
I have updated my configuration (in Lab) in order to have only a single entry 
and with TRACE/DEBUG level and i see nothing only this 3 lines at the end when 
i call the Users tasks with option -s :

<pre>
Jun 19 14:21:05 - INFO  - Starting sync for Users
Jun 19 14:21:05 - DEBUG - Using pagedResults control for 1000 entries at a time
Jun 19 14:21:06 - DEBUG - In object "uid=KorpalI,ou=People,dc=example,dc=tld":  
List of attributes considered for writing in destination: [uid, mail, sn, c, 
cn, mailAlternateAddress, objectClass, givenName, objectGUID, mailHost]
Jun 19 14:21:06 - DEBUG - In object "uid=KorpalI,ou=People,dc=example,dc=tld":  
Attribute "uid" is in FORCE status
Jun 19 14:21:06 - DEBUG - In object "uid=KorpalI,ou=People,dc=example,dc=tld":  
Attribute "mail" is in FORCE status
Jun 19 14:21:06 - DEBUG - In object "uid=KorpalI,ou=People,dc=example,dc=tld":  
Attribute "mail" will not be written to the destination
Jun 19 14:21:06 - DEBUG - In object "uid=KorpalI,ou=People,dc=example,dc=tld":  
Attribute "sn" is in FORCE status
Jun 19 14:21:06 - DEBUG - In object "uid=KorpalI,ou=People,dc=example,dc=tld":  
Replacing attribute "sn": source values are [KORPALI], old values were 
[KORPAL], new values are [KORPALI]
Jun 19 14:21:06 - DEBUG - In object "uid=KorpalI,ou=People,dc=example,dc=tld":  
Attribute "c" is in FORCE status
Jun 19 14:21:06 - DEBUG - In object "uid=KorpalI,ou=People,dc=example,dc=tld":  
Attribute "c" will not be written to the destination
Jun 19 14:21:06 - DEBUG - In object "uid=KorpalI,ou=People,dc=example,dc=tld":  
Attribute "cn" is in FORCE status
Jun 19 14:21:06 - DEBUG - In object "uid=KorpalI,ou=People,dc=example,dc=tld":  
Attribute "cn" will not be written to the destination
Jun 19 14:21:06 - DEBUG - In object "uid=KorpalI,ou=People,dc=example,dc=tld":  
Attribute "mailAlternateAddress" is in FORCE status
Jun 19 14:21:06 - DEBUG - In object "uid=KorpalI,ou=People,dc=example,dc=tld":  
Attribute "mailAlternateAddress" will not be written to the destination
Jun 19 14:21:06 - DEBUG - In object "uid=KorpalI,ou=People,dc=example,dc=tld":  
Attribute "objectClass" is in KEEP status
Jun 19 14:21:06 - DEBUG - In object "uid=KorpalI,ou=People,dc=example,dc=tld":  
Attribute "givenName" is in FORCE status
Jun 19 14:21:06 - DEBUG - In object "uid=KorpalI,ou=People,dc=example,dc=tld":  
Attribute "givenName" will not be written to the destination
Jun 19 14:21:06 - DEBUG - In object "uid=KorpalI,ou=People,dc=example,dc=tld":  
Attribute "objectGUID" is in FORCE status
Jun 19 14:21:06 - DEBUG - In object "uid=KorpalI,ou=People,dc=example,dc=tld":  
Attribute "objectGUID" will not be written to the destination
Jun 19 14:21:06 - DEBUG - In object "uid=KorpalI,ou=People,dc=example,dc=tld":  
Attribute "mailHost" is in FORCE status
Jun 19 14:21:06 - DEBUG - In object "uid=KorpalI,ou=People,dc=example,dc=tld":  
Attribute "mailHost" will not be written to the destination
Jun 19 14:21:06 - DEBUG - Update condition false. Should have modified object 
uid=KorpalI,ou=People,dc=example,dc=tld
# Thu Jun 19 14:21:06 CEST 2014
dn: uid=KorpalI,ou=People,dc=example,dc=tld
changetype: modify
replace: sn
sn: KORPALI
-

Jun 19 14:21:06 - INFO  - All entries: 1, to modify entries: 1, successfully 
modified entries: 0, errors: 0
Jun 19 14:21:06 - ERROR - Error while closing service.
Jun 19 14:21:06 - ERROR - Error while closing service.
</pre>

I agree with you that, these messages could be ignored, but ... :-)

Tell me if you want more info.
----------------------------------------
Bug #707: "Error while closing service" error message when multiple tasks in 
one lsc.xml
http://tools.lsc-project.org/issues/707

Author: Stephan Bovet
Status: Assigned
Priority: Normal
Assigned to: Raphaël Ouazana
Category: Core
Target version: 2.1.1
Problem in version: 2.1.0


Hi!

I've discovered that when I use multiple tasks in one lsc.xml file the process 
always ends with an error message as shown below.

Jun 18 18:54:47 - ERROR - Error while closing service.

When I remove the 2nd task it works o.k.

I couldn't find any problem in my config, if so I apologize.

I attached my lsc.xml

Stephan


-- 
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
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

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

Reply via email to