<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div style="font-family: Calibri, sans-serif;">Very strange behavior here that I can’t pinpoint. </div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-family: Calibri, sans-serif;">When the cron job runs once per day, it doesn’t scan our f5s in multiple locations. But when I run “rancid-run” manually (with no args) it picks them up – no problem.</div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-family: Calibri, sans-serif;">Cron: 59 9 * * * /usr/lib/rancid/bin/rancid-run</div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-family: Calibri, sans-serif;">router.db:</div>
<div><font face="Courier"><snip></font></div>
<div><font face="Courier">mt-lr01.endor.lan:juniper:up</font></div>
<div><font face="Courier">mt-lb03.endor.lan:f5:up</font></div>
<div><font face="Courier">mt-lb04.endor.lan:f5:up</font></div>
<div><font face="Courier"><snip></font></div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-family: Calibri, sans-serif;">Files:</div>
<div><font face="Courier">-rw-r----- 1 rancid rancid 1072279 Jul 8 11:36 mt-lb04.endor.lan</font></div>
<div><font face="Courier">-rw-r----- 1 rancid rancid 1072475 Jul 8 11:36 mt-lb03.endor.lan</font></div>
<div><font face="Courier">-rw-r----- 1 rancid rancid 22647 Jul 10 10:01 mt-er01.endor.lan</font></div>
<div><font face="Courier">-rw-r----- 1 rancid rancid 22211 Jul 10 10:01 mt-er02.endor.lan</font></div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-family: Calibri, sans-serif;">Again, running manually, it works just fine.</div>
</div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-family: Calibri, sans-serif;">The logs from the cron job show me what I already know:</div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<div>
<div><font face="Courier">Trying to get all of the configs.</font></div>
<div><font face="Courier">mt-lb03.corp.surveymonkey.com: missed cmd(s): ls --full-time --color=never /config/ssl/ssl.crt,ls --full-time --color=never /config/ssl/ssl.key</font></div>
<div><font face="Courier">mt-lb04.corp.surveymonkey.com: missed cmd(s): ls --full-time --color=never /config/ssl/ssl.crt,ls --full-time --color=never /config/ssl/ssl.key</font></div>
<div><font face="Courier">=====================================</font></div>
<div><font face="Courier">Getting missed routers: round 1.</font></div>
<div><font face="Courier">mt-lb03.corp.surveymonkey.com: missed cmd(s): ls --full-time --color=never /config/ssl/ssl.crt,ls --full-time --color=never /config/ssl/ssl.key</font></div>
<div><font face="Courier">mt-lb04.corp.surveymonkey.com: missed cmd(s): ls --full-time --color=never /config/ssl/ssl.key,ls --full-time --color=never /config/ssl/ssl.crt</font></div>
<div><font face="Courier">=====================================</font></div>
<div><font face="Courier">Getting missed routers: round 2.</font></div>
<div><font face="Courier">mt-lb04.corp.surveymonkey.com: missed cmd(s): ls --full-time --color=never /config/ssl/ssl.crt,ls --full-time --color=never /config/ssl/ssl.key</font></div>
<div><font face="Courier">mt-lb03.corp.surveymonkey.com: missed cmd(s): ls --full-time --color=never /config/ssl/ssl.crt,ls --full-time --color=never /config/ssl/ssl.key</font></div>
<div><font face="Courier">=====================================</font></div>
<div><font face="Courier">Getting missed routers: round 3.</font></div>
<div><font face="Courier">mt-lb04.corp.surveymonkey.com: missed cmd(s): ls --full-time --color=never /config/ssl/ssl.key,ls --full-time --color=never /config/ssl/ssl.crt</font></div>
<div><font face="Courier">mt-lb03.corp.surveymonkey.com: missed cmd(s): ls --full-time --color=never /config/ssl/ssl.key,ls --full-time --color=never /config/ssl/ssl.crt</font></div>
<div><font face="Courier">=====================================</font></div>
<div><font face="Courier">Getting missed routers: round 4.</font></div>
<div><font face="Courier">mt-lb03.corp.surveymonkey.com: missed cmd(s): ls --full-time --color=never /config/ssl/ssl.key,ls --full-time --color=never /config/ssl/ssl.crt</font></div>
<div><font face="Courier">mt-lb04.corp.surveymonkey.com: missed cmd(s): ls --full-time --color=never /config/ssl/ssl.crt,ls --full-time --color=never /config/ssl/ssl.key</font></div>
</div>
</div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-family: Calibri, sans-serif;">But when I run it manually:</div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<div><font face="Courier">Trying to get all of the configs.</font></div>
<div><font face="Courier">All routers sucessfully completed.</font></div>
</div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-family: Calibri, sans-serif;">Anyone have any clues/ideas?</div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-family: Calibri, sans-serif;">Thanks, Matt</div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
</body>
</html>