Page MenuHomePhabricator

nginx xmldumps duplicate logrotate config
Closed, DuplicatePublic

Description

Coming from ms1001 and dumps1001:

/etc/cron.daily/logrotate:
error: xmldumps-nginx:5 duplicate log entry for /var/log/nginx/access.log

This is probably due to the duplicate config:

elukey@dataset1001:~$ grep -rni nginx /etc/logrotate.d/
/etc/logrotate.d/xmldumps-nginx:5:/var/log/nginx/*.log
/etc/logrotate.d/xmldumps-nginx:16:		[ ! -f /var/run/nginx.pid ] || kill -USR1 `cat /var/run/nginx.pid`
/etc/logrotate.d/nginx:4:/var/log/nginx/*.log
/etc/logrotate.d/nginx:15:		[ ! -f /var/run/nginx.pid ] || kill -USR1 `cat /var/run/nginx.pid`

Related Objects

StatusSubtypeAssignedTask
OpenNone
DuplicateNone

Event Timeline

elukey created this task.Sep 27 2017, 8:43 AM
Restricted Application removed a project: Patch-For-Review. · View Herald TranscriptSep 27 2017, 8:43 AM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript