<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;color:#666666">Hi Team,</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;color:#666666"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;color:#666666">For the past week, I am trying to configure  PA-850 firewalls in rancid, since I am new to rancid, I was not the aware complete and right procedure for how to do it, and later I came across several articles on the internet. Now, I found a very old panrancid script which ends up with the error as below</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;color:#666666">I am running PAN-OS Version 10.1.7</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;color:#666666"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;color:#666666">





<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) at /usr/lib/rancid/bin/panrancid line 53.</span></p></div><div><br></div><div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif;color:rgb(102,102,102)">My Configuration files look like as below </div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif;color:rgb(102,102,102)">





<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">cat /var/lib/rancid/firewalls/router.db<span class="gmail-Apple-converted-space"> </span></span></p></div>





<div class="gmail_default" style="font-family:"trebuchet ms",sans-serif;color:rgb(102,102,102)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);font-family:Menlo;font-size:17px">firewall1.<domain-name>.<a href="http://com.com">com.com</a>;paloalto;up;</span></div><br></div><div>





<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">cat /etc/rancid/rancid.types.conf</span></p></div><div>





<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">paloalto;script;panrancid</span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><br></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail_default" style="font-family:"trebuchet ms",sans-serif;color:rgb(102,102,102)">Where i have panrancid file under /var/lib/rancid/bin directory</span></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail_default" style="font-family:"trebuchet ms",sans-serif;color:rgb(102,102,102)">(I am running ubuntu 22.02)</span></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail_default" style="font-family:"trebuchet ms",sans-serif;color:rgb(102,102,102)"><br></span></span></p>





<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail_default" style="font-family:"trebuchet ms",sans-serif;color:rgb(102,102,102)">





</span></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">cat /var/lib/rancid/firewalls/routers.up<span class="gmail-Apple-converted-space"> </span></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail_default" style="font-family:"trebuchet ms",sans-serif;color:rgb(102,102,102)"><span style="color:rgb(0,0,0);font-family:Menlo"><br></span></span></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail_default" style="font-family:"trebuchet ms",sans-serif;color:rgb(102,102,102)"><span style="color:rgb(0,0,0);font-family:Menlo">firewall1;paloalto</span></span><br></span></p></div><div><br></div><div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif;color:rgb(102,102,102)">Where i am wrong?</div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Thanks & regards,<br>Anwar M. Durrani<div>+91-9923205011<br><a href="http://in.linkedin.com/pub/anwar-durrani/20/b55/60b" title="View public profile" name="SignatureSanitizer_SafeHtmlFilter_UNIQUE_ID_SafeHtmlFilter_SafeHtmlFilter_webProfileURL" target="_blank"></a><dl><dd><p>
          
        
      </p>
      </dd></dl><br></div></div></div></div></div></div>