Closed Bug 1008588 Opened 11 years ago Closed 11 years ago

Prod erroring on Cron <socorro@sp-admin01> /data/bin/cron_daily_reports.sh >> /var/log/socorro/cron_daily_reports.log

Categories

(Socorro :: General, task)

x86_64
Linux
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: selenamarie, Unassigned)

References

Details

mkdir: cannot create directory `/mnt/crashanalysis/crash_analysis/20140509/': File exists Does this mean we can turn this guy off?
This one we're still running in prod. I remember working on a crontabber replacement with peterbe but I think it hasn't been enabled. It still does the same thing though, writes a CSV file to the NFS share.
(In reply to Robert Helmer [:rhelmer] from comment #1) > This one we're still running in prod. I remember working on a crontabber > replacement with peterbe but I think it hasn't been enabled. > > It still does the same thing though, writes a CSV file to the NFS share. Ah ok! Maybe we can just fix that mkdir error then. It seems like this might be quitting because of that error before it is entirely done, but I didn't read all the way through the script.
Blocks: 1008589
(In reply to Selena Deckelmann :selenamarie :selena from comment #2) > (In reply to Robert Helmer [:rhelmer] from comment #1) > > This one we're still running in prod. I remember working on a crontabber > > replacement with peterbe but I think it hasn't been enabled. > > > > It still does the same thing though, writes a CSV file to the NFS share. > > Ah ok! Maybe we can just fix that mkdir error then. It seems like this might > be quitting because of that error before it is entirely done, but I didn't > read all the way through the script. If you want to make this message go away then passing "-p" to mkdir would do it, I think (hope!) this script lives in puppet since it's not part of the Socorro repo. This is the script that generates the CSV files like https://crash-analysis.mozilla.com/crash_analysis/20140509/20140509-pub-crashdata.csv.gz - it's just blithely continuing on in the face of non-0 exit codes as bash is wont to do.
selena@wuzetian:trunk #592 14:18 ♥: svn commit modules/socorro/files/prod/data-bin/cron_daily_reports.sh Sending modules/socorro/files/prod/data-bin/cron_daily_reports.sh Transmitting file data . Committed revision 87360.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.