2015-03-30 17:47 GMT+02:00 Anderson <[email protected]>:
> Hi,
>
>  the script does not show the error in the file. How to solve?
>
>
> # lsc -s mytask -c mytask
>
> #cat /var/log/lsc/lsc.status
> .
> .
> .
> Mar 30 12:27:51 - ERROR - All entries: 5, to modify entries: 1, successfully
> modified entries: 0, errors: 1
> Mar 30 12:27:51 - INFO  - All entries: 4, to modify entries: 0, successfully
> modified entries: 0, errors: 0
>
>
> #check_lsc_status_file.pl -v -w 1 -c 5 -l /var/log/lsc/lsc.status -f
> OK - LSC is running with 0 errors (W:1 - C:5)|'all'=4 'modify'=0
> 'modified'=0 'errors'=0;1;5
>

Hi,

this is because you launch sync task and clean task in the same process.

To monitor each one, you need to launch sync task, and redirect output
to a dedicated status file that will be used by the monitoring script.
Do the same for the clean task.


Clément.
_______________________________________________________________
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