infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Thistlethwaite (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (INFRA-14708) root cron on Coeus failing
Date Fri, 04 Aug 2017 19:25:00 GMT

     [ https://issues.apache.org/jira/browse/INFRA-14708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chris Thistlethwaite resolved INFRA-14708.
------------------------------------------
    Resolution: Fixed

cron job was looking for and in the wrong place

/usr/bin/find /x1/mysql/binlog -mindepth 1 -maxdepth 1 -type f -name 'log-bin.[0-9]*' ! -name
`tail -n 1 /x1/mysql/binlog/log-bin.index | sed -e 's_.*/\(.*\)_\1_'` -mtime +60 -exec /bin/rm
-f '{}' ';'

was changed to

/usr/bin/find /x1/mysql/binlog -mindepth 1 -maxdepth 1 -type f -name 'bin-log.[0-9]*' ! -name
`tail -n 1 /x1/mysql/binlog/bin-log.index | sed -e 's_.*/\(.*\)_\1_'` -mtime +60 -exec /bin/rm
-f '{}' ';'

svn was updated but puppet was disabled so change was made manually.

> root cron on Coeus failing
> --------------------------
>
>                 Key: INFRA-14708
>                 URL: https://issues.apache.org/jira/browse/INFRA-14708
>             Project: Infrastructure
>          Issue Type: Sub-task
>          Components: Technical Debt
>            Reporter: Gavin
>            Assignee: Chris Thistlethwaite
>
> tail: cannot open `/x1/mysql/binlog/log-bin.index' for reading: No such file or directory
> /usr/bin/find: paths must precede expression: +60
> Usage: /usr/bin/find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec]
[path...] [expression]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message