<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="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
I’m sorry, I totally misunderstood that the first time you said it.  I thought you were talking about the directory listing.</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
I wished that fixed the issue, but that didn’t help.  But I did find the problem.</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
By looking at the process list and running the command manually:</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 18.1818180084229px; widows: 1; background-color: rgb(255, 255, 255);">/usr/bin/expect -- /home/rancid/bin/panlogin -t 90 -c "set cli scripting-mode on;set cli pager off;show system
 info;show config running" sjc-fw01-sec.endor.lan</span></div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 18.1818180084229px; widows: 1; background-color: rgb(255, 255, 255);"><br>
</span></div>
<div><span style="widows: 1; background-color: rgb(255, 254, 254);"><font color="#333333" face="Arial,sans-serif"><span style="line-height: 18.1818180084229px;">The </span><span style="line-height: 18px;">“</span><span style="line-height: 18.1818180084229px;">set
 cli xxx</span><span style="line-height: 18px;">”</span><span style="line-height: 18.1818180084229px;"> command was failing.  Seems the rancid user in the PAN was set to </span><span style="line-height: 18px;">“Admin </span><span style="line-height: 18.1818180084229px;">read-only</span><span style="line-height: 18px;">”</span><span style="line-height: 18.1818180084229px;"> and
 the </span><span style="line-height: 18px;">“</span><span style="line-height: 18.1818180084229px;">set</span><span style="line-height: 18px;">”</span><span style="line-height: 18.1818180084229px;"> commands were failing, causing the config dump to wait for
 page break. </span></font></span><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; widows: 1; line-height: 18.1818180084229px;">Once </span><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; widows: 1; line-height: 18px;">I</span><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; widows: 1; line-height: 18.1818180084229px;"> changed
 the account type to Device Admin, it works great now!!   Now </span>I think I need to tweak TAC+ to limit what that rancid user can do in the CLI.</div>
<div><br>
</div>
<div>I’m sure having the other fixes in there helped as well, but the above was probably the biggest reason why the config wasn’t getting saved.</div>
<div><br>
</div>
<div>Thanks for all your help!!   Adding the list back in here in case others have similar issues. </div>
<div><br>
</div>
<div> — Matt</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<span id="OLK_SRC_BODY_SECTION" style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Pavel Korovin <<a href="mailto:p@tristero.se">p@tristero.se</a>><br>
<span style="font-weight:bold">Date: </span>Thursday, July 30, 2015 at 9:23 AM<br>
<span style="font-weight:bold">To: </span>Matt Almgren <<a href="mailto:matta@surveymonkey.com">matta@surveymonkey.com</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [<a href="mailto:p@tristero.se">p@tristero.se</a>: Re: [rancid] 3.2 rancid-run not working with PAN devices]<br>
</div>
<div><br>
</div>
<div>
<div 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;">
Matt, please replace the string "package ios;" with "package panos;" and it will be fixed.<br>
<br>
<div class="gmail_quote">On July 30, 2015 7:00:58 PM GMT+03:00, Matt Almgren <<a href="mailto:matta@surveymonkey.com">matta@surveymonkey.com</a>> wrote:
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>
<div>
<div>
<div>rancid@sjc-nettools02:~/lib/rancid$ head -n 20 panos.pm</div>
<div>package ios;</div>
<div>##</div>
<div>## $Id: panos.pm.in 3019 2015-01-11 05:54:59Z heas $</div>
<div>##</div>
<div>## rancid 3.2</div>
<div>## Copyright (c) 1997-2015 by Terrapin Communications, Inc.</div>
<div>## All rights reserved.</div>
<div>##</div>
<div>## This code is derived from software contributed to and maintained by</div>
<div>## Terrapin Communications, Inc. by Henry Kilmer, John Heasley, Andrew Partan,</div>
<div>## Pete Whiting, Austin Schutz, and Andrew Fort.</div>
<div>##</div>
<div>## Redistribution and use in source and binary forms, with or without</div>
<div>## modification, are permitted provided that the following conditions</div>
<div>## are met:</div>
<div>## 1. Redistributions of source code must retain the above copyright</div>
<div>##    notice, this list of conditions and the following disclaimer.</div>
<div>## 2. Redistributions in binary form must reproduce the above copyright</div>
<div>##    notice, this list of conditions and the following disclaimer in the</div>
<div>##    documentation and/or other materials provided with the distribution.</div>
<div>rancid@sjc-nettools02:~/lib/rancid$</div>
</div>
<div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Pavel Korovin <<a href="mailto:p@tristero.se">p@tristero.se</a>><br>
<span style="font-weight:bold">Date: </span>Thursday, July 30, 2015 at 8:59 AM<br>
<span style="font-weight:bold">To: </span>Matt Almgren <<a href="mailto:matta@surveymonkey.com">matta@surveymonkey.com</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [<a href="mailto:p@tristero.se">p@tristero.se</a>: Re: [rancid] 3.2 rancid-run not working with PAN devices]<br>
</div>
<div><br>
</div>
<span style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;">head
 -n 20<span class="Apple-converted-space"> </span></span><a href="http://panos.pm" style="font-family: Calibri, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">panos.pm</a></span></blockquote>
</div>
<br>
-- <br>
With best regards,<br>
Pavel Korovin </div>
</div>
</span>
</body>
</html>