<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:Consolas;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri","sans-serif";}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle22
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 2.0cm 70.85pt 2.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-CA link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>I've had no problems with our lonely SRX100b, in any versions of RANCID 3.x, up to and including 3.7.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>The SRX is running 12.1X46-D55.3<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Rancid-discuss [mailto:rancid-discuss-bounces@shrubbery.net] <b>On Behalf Of </b>Heasley<br><b>Sent:</b> March-21-18 2:15 PM<br><b>To:</b> Lauri Haveri<br><b>Cc:</b> Rancid-discuss@shrubbery.net<br><b>Subject:</b> Re: [rancid] Error when trying to back up a JunOS device, SRX100<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><br>Am 21.03.2018 um 20:43 schrieb Lauri Haveri <<a href="mailto:lauri.haveri@alsocloudsolutions.fi">lauri.haveri@alsocloudsolutions.fi</a>>:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal><span lang=FI>Hello all,</span><o:p></o:p></p><p class=MsoNormal><span lang=FI> </span><o:p></o:p></p><p class=MsoPlainText>I am setting up a test enviroment on Ubuntu 16.04 before Rancid will go to a production enviroment. <br><br>Everytime I run Rancid I get the following error:<br><br>“Use of uninitialized value $_ in pattern match (m//) at /usr/share/perl5/rancid/junos.pm line 135<o:p></o:p></p><p class=MsoPlainText>Use of uninitialized value $_ in pattern match (m//) at /usr/share/perl5/rancid/junos.pm line 140<o:p></o:p></p><p class=MsoPlainText>00003-test-fw01: missed cmd(s): show configuration, show version invoke-on other-routing-engine, show system core-dumps, show version detail<o:p></o:p></p><p class=MsoPlainText>00003-test-fw01: End of run not foud<o:p></o:p></p><p class=MsoPlainText># Error: TIMEOUT reached”<o:p></o:p></p><p class=MsoPlainText> <o:p></o:p></p><p class=MsoPlainText>When I go the the part that the log (/usr/share/perl5/rancid/junos.pm) tells me, the part is following:<o:p></o:p></p><p class=MsoPlainText> <o:p></o:p></p><p class=MsoPlainText>“$rval = {$commands{$cmd}}{$INPUT, $OUTPUT, $cmd};<o:p></o:p></p><p class=MsoPlainText>delete($commands{$cmd});<o:p></o:p></p><p class=MsoPlainText>if {$rval == -1} { // this is the line 135<o:p></o:p></p><p class=MsoPlainText> $clean_run = 0;<o:p></o:p></p><p class=MsoPlainText> last TOP;<o:p></o:p></p><p class=MsoPlainText>}<o:p></o:p></p><p class=MsoPlainText>if (/>\s*quit/){ // this is line 140<o:p></o:p></p><p class=MsoPlainText>$clean_run=1;<o:p></o:p></p><p class=MsoPlainText>last;<o:p></o:p></p><p class=MsoPlainText>}”<o:p></o:p></p><p class=MsoNormal><br>The command I am using to run Rancid is:<br><span style='font-family:"Times New Roman","serif"'>“</span>sudo su -c /var/lib/rancid/bin/rancid-run -s /bin/bash -l rancid<span style='font-family:"Times New Roman","serif"'>”</span><br><br>Could you please help me? <o:p></o:p></p></div></blockquote><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p> </o:p></span></p></div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>You havent told us what version of rancid nor from where you retrieved it. If its not 3.7, please start there. If it already is, but it is a ubuntu package, please try an install from source. <o:p></o:p></span></p><div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br><br><o:p></o:p></span></p><div><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>Kind regards,<br>Lauri<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>_______________________________________________<br>Rancid-discuss mailing list<br><a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br><a href="http://www.shrubbery.net/mailman/listinfo/rancid-discuss">http://www.shrubbery.net/mailman/listinfo/rancid-discuss</a><o:p></o:p></span></p></div></blockquote></div></div></div></body></html>