Description of problem: Customer reporting the following problem from time to time, when log files are being rotated: Apr 15 22:30:03 lh249 ns-slapd: LOGINFO:Unable to remove file:/dirsrv/var/log/slapd-test/errors.20150325-032304 error -5950 (File not found.)#012 # ls -la /dirsrv/var/log/slapd-test/errors* -rw------- 1 ldap ldap 5572 Apr 16 03:17 /dirsrv/var/log/slapd-test/errors -rw------- 1 ldap ldap 40707 Apr 8 22:30 /dirsrv/var/log/slapd-test/errors.20150401-223001 -rw------- 1 ldap ldap 40716 Apr 15 22:30 /dirsrv/var/log/slapd-test/errors.20150408-223002 -rw------- 1 ldap ldap 273 Apr 15 22:30 /dirsrv/var/log/slapd-test/errors.rotationinfo # cat /dirsrv/var/log/slapd-test/errors.rotationinfo LOGINFO:Log file created at: 15/Apr/2015:22:30:03 (1429129803) LOGINFO:Previous Log File:/dirsrv/var/log/slapd-test/errors.20150408-223002 (1428525002) (40716) LOGINFO:Previous Log File:/dirsrv/var/log/slapd-test/errors.20150401-223001 (1427920201) (40707) The error is not reproducible so far and it also does not come on regular base. It's only seen from time to time without any clear hint on the cause. Version-Release number of selected component (if applicable): 389-ds-base-1.2.11.15-34.el6_5.x86_64 Fri Oct 17 09:25:18 2014 389-ds-base-libs-1.2.11.15-34.el6_5.x86_64 Fri Oct 17 09:25:12 2014 How reproducible: Not able so far. Steps to Reproduce: 1. N/A Actual results: Mar 17 22:30:03 lh249 ns-slapd: LOGINFO:Unable to remove file:/dirsrv/var/log/slapd-test/errors.20150303-223001 error -5950 (File not found.)#012 Expected results: No error message to occur as rotation seems to work Configuration also appears to be OK sslapd-errorlog-logging-enabled: on nsslapd-errorlog-mode: 600 nsslapd-errorlog-maxlogsperdir: 3 nsslapd-errorlog-maxlogsize: 100 nsslapd-errorlog-logrotationtime: 1 nsslapd-errorlog-logrotationtimeunit: week nsslapd-errorlog-logrotationsync-enabled: off nsslapd-errorlog-logrotationsynchour: 0 nsslapd-errorlog-logrotationsyncmin: 0 Logs are not stored in default location /dirsrv/var/log/slapd-test/
git patch file (master) 0001-Ticket-48304-ns-slapd-LOGINFO-Unable-to-remove-file.patch
Reviewed by Mark (Thank you!!)
Pushed to master: 21dda61..e2abffc master -> master commit e2abffcc5cf6e63136fc0bcb5b0e12830cca22a5
Pushed to 389-ds-base-1.3.4: f09eb8c..6c71c0d 389-ds-base-1.3.4 -> 389-ds-base-1.3.4 commit 6c71c0d96d2287bcae88942ce6d5a0f7df5bee84
Pushed to 389-ds-base-1.3.3: 264f672..8081a91 389-ds-base-1.3.3 -> 389-ds-base-1.3.3 commit 8081a91a7a1714396a377871d1f676f000d7a4d5
Pushed to 389-ds-base-1.2.11: a1dc207..217ea08 389-ds-base-1.2.11 -> 389-ds-base-1.2.11 commit 217ea08b60eedb2da254517d47991ab0d42e578a
Metadata Update from @nhosoi: - Issue assigned to nhosoi - Issue set to the milestone: 1.2.11.33
389-ds-base is moving from Pagure to Github. This means that new issues and pull requests will be accepted only in 389-ds-base's github repository.
This issue has been cloned to Github and is available here: - https://github.com/389ds/389-ds-base/issues/1635
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.
Metadata Update from @spichugi: - Issue close_status updated to: wontfix (was: Fixed)