Problem: UCS rejected <NORESYNC=broken file:1502796706.650481.swp>;unknown

Problem:

UCS rejected 
        <NORESYNC=broken file:1502796706.650481.swp>;unknown
 S4 DN: <not found>
         Filename: /var/lib/univention-connector/s4/.1502796706.650481.swp

Solution:

/usr/share/univention-s4-connector/remove_ucs_rejected.py "<NORESYNC=broken file:1502796706.650481.swp>;unknown"

Maybe this entry blocks the processing of following rejects

With UCS5.0-3 this seems temporary not to work anymore. Bug 55774 (Fixed 5.0x608 and 5.0x609) You can try to check the database instead.

sqlite3 /etc/univention/connector/s4internal.sqlite "select key from 'UCS rejected' where value='<NORESYNC=broken file:1502796706.650481.swp>;unknown'
/var/lib/univention-connector/s4/.1502796706.650481.swp

this should show the picklefile
To remove it you have to stop the connector:

systemctl stop univention-s4-connector.service 
sqlite3 /etc/univention/connector/s4internal.sqlite "delete from 'UCS rejected' where value='<NORESYNC=broken file:1502796706.650481.swp>;unknown'
systemctl start univention-s4-connector.service 

Optional

In certain cases, it may be necessary to remove or relocate the rejected files from the path and then re-execute the remove_ucs_rejected.py script to clear the S4 rejections and resolve the issue.

  1. rm -rf /var/lib/univention-connector/s4/.1502796706.650481
  2. /usr/share/univention-s4-connector/remove_ucs_rejected.py "<NORESYNC=broken file:1502796706.650481.swp>;unknown"
univention-s4connector-list-rejected 

UCS rejected


S4 rejected


There may be no rejected DNs if the connector is in progress, to be
sure stop the connector before running this script.
1 Like