<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: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 15 (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;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri",sans-serif;}
span.EmailStyle22
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle23
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.EmailStyle24
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.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-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hello again and thanks for the answers!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">My device happens to be SRX100b and version of the Rancid is 3.3.<br>
<br>
I got from <span style="font-family:"Times New Roman",serif">“</span>apt-get install rancid cvs<span style="font-family:"Times New Roman",serif">”</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-CA">Kind regards,<br>
Lauri<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Emille Blanc <emille@abccommunications.com>
<br>
<b>Sent:</b> torstai 22. maaliskuuta 2018 2.13<br>
<b>To:</b> Heasley <heas@shrubbery.net>; Lauri Haveri <lauri.haveri@alsocloudsolutions.fi><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>
<p class="MsoNormal"><span lang="EN-CA" 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 lang="EN-CA" style="color:#1F497D">The SRX is running 12.1X46-D55.3<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA" 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"><span lang="EN-CA"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-CA"><br>
Am 21.03.2018 um 20:43 schrieb Lauri Haveri <</span><a href="mailto:lauri.haveri@alsocloudsolutions.fi"><span lang="EN-CA">lauri.haveri@alsocloudsolutions.fi</span></a><span lang="EN-CA">>:<o:p></o:p></span></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">Hello all,<span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal"> <span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-CA">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></span></p>
<p class="MsoPlainText"><span lang="EN-CA">Use of uninitialized value $_ in pattern match (m//) at /usr/share/perl5/rancid/junos.pm line 140<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-CA">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></span></p>
<p class="MsoPlainText"><span lang="EN-CA">00003-test-fw01: End of run not foud<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-CA"># Error: TIMEOUT reached”<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-CA"> <o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-CA">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></span></p>
<p class="MsoPlainText"><span lang="EN-CA"> <o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-CA">“$rval = {$commands{$cmd}}{$INPUT, $OUTPUT, $cmd};<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-CA">delete($commands{$cmd});<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-CA">if {$rval == -1} { // this is the line 135<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-CA"> $clean_run = 0;<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-CA"> last TOP;<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-CA">}<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-CA">if (/>\s*quit/){ // this is line 140<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-CA">$clean_run=1;<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-CA">last;<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-CA">}”<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><br>
The command I am using to run Rancid is:<br>
</span><span lang="EN-CA" style="font-family:"Times New Roman",serif">“</span><span lang="EN-CA">sudo su -c /var/lib/rancid/bin/rancid-run -s /bin/bash -l rancid</span><span lang="EN-CA" style="font-family:"Times New Roman",serif">”</span><span lang="EN-CA"><br>
<br>
Could you please help me? <o:p></o:p></span></p>
</div>
</blockquote>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-CA" 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" style="margin-bottom:12.0pt"><span lang="EN-CA" style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-CA"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">Kind regards,<br>
Lauri<o:p></o:p></span></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:12.0pt;font-family:"Times New Roman",serif">_______________________________________________<br>
Rancid-discuss mailing list<br>
</span><a href="mailto:Rancid-discuss@shrubbery.net"><span lang="EN-CA" style="font-size:12.0pt;font-family:"Times New Roman",serif">Rancid-discuss@shrubbery.net</span></a><span lang="EN-CA" style="font-size:12.0pt;font-family:"Times New Roman",serif"><br>
</span><a href="http://www.shrubbery.net/mailman/listinfo/rancid-discuss"><span lang="EN-CA" style="font-size:12.0pt;font-family:"Times New Roman",serif">http://www.shrubbery.net/mailman/listinfo/rancid-discuss</span></a><span lang="EN-CA" style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p></o:p></span></p>
</div>
</blockquote>
</div>
</div>
</div>
</body>
</html>