<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=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
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:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1741832849;
        mso-list-type:hybrid;
        mso-list-template-ids:-1664308386 -861506514 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-number-format:alpha-lower;
        mso-level-text:"%1\.\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:.75in;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:1.25in;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:1.75in;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:2.25in;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:2.75in;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:3.25in;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:3.75in;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:4.25in;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:4.75in;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></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-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Hello all:  Letter k. below was the issue.  By bringing the config.yml from the original server and putting it on the recovery server that was the issue.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>In previous duplications this always worked.  <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>So I put back the original config.yml and ran ngcpcfg apply and now the system is running correctly.  (the purpose of using the original config.yml was to retain settings and configuration )<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I hope this info can be helpful in the future to other list users.  We can consider this questions resolved.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Thanks<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Kevin<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 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Kevin Masse <br><b>Sent:</b> Thursday, October 30, 2014 2:32 PM<br><b>To:</b> Kevin Masse; Spce-user@lists.sipwise.com<br><b>Subject:</b> RE: [Spce-user] Recovery Question PKG 2.8<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='color:#1F497D'>It appears that the problem is this:<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Not executing command for kamailio-proxy: invalid configuration file!<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>-e<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>0(3332) : <core> [cfg.y:3549]: parse error in config file /etc/kamailio/proxy/proxy.cfg, line 2068, column 47: syntax error<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>0(3332) : <core> [cfg.y:3549]: parse error in config file /etc/kamailio/proxy/proxy.cfg, line 2068, column 47: bad expression<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>0(3332) : <core> [cfg.y:3546]: parse error in config file /etc/kamailio/proxy/proxy.cfg, line 2079, column 2-3: bad command<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>ERROR: bad config file (3 errors)<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Thanks<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Kevin<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 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Spce-user <a href="mailto:[mailto:spce-user-bounces@lists.sipwise.com]">[mailto:spce-user-bounces@lists.sipwise.com]</a> <b>On Behalf Of </b>Kevin Masse<br><b>Sent:</b> Thursday, October 30, 2014 1:36 PM<br><b>To:</b> <a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br><b>Subject:</b> [Spce-user] Recovery Question PKG 2.8<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Good afternoon Group:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have a question relating to moving services to another server so I will outline the process used which is not working as it did in the past.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>In the past I was able to move to another system using the following steps.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoListParagraph style='margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><span style='mso-list:Ignore'>a.)<span style='font:7.0pt "Times New Roman"'>    </span></span><![endif]>mysqldump -p --databases billing provisioning kamailio accounting carrier ngcp sipstats > /tmp/backup.sql<o:p></o:p></p><p class=MsoListParagraph style='margin-left:.75in'>This was preparing the databases to move to a new server.<o:p></o:p></p><p class=MsoListParagraph style='margin-left:.75in'><o:p> </o:p></p><p class=MsoListParagraph style='margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><span style='mso-list:Ignore'>b.)<span style='font:7.0pt "Times New Roman"'>    </span></span><![endif]>Perform the standard Debian Squeeze installation (basic server) as instructed & Patch system, example: BASH issue<o:p></o:p></p><p class=MsoListParagraph style='margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><span style='mso-list:Ignore'>c.)<span style='font:7.0pt "Times New Roman"'>     </span></span><![endif]>PKG=ngcp-installer-2.8.deb<o:p></o:p></p><p class=MsoListParagraph style='margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><span style='mso-list:Ignore'>d.)<span style='font:7.0pt "Times New Roman"'>    </span></span><![endif]>wget <a href="http://deb.sipwise.com/spce/$%7bPKG%7d">http://deb.sipwise.com/spce/${PKG}</a><o:p></o:p></p><p class=MsoListParagraph style='margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><span style='mso-list:Ignore'>e.)<span style='font:7.0pt "Times New Roman"'>    </span></span><![endif]>dpkg –i ${PKG}<o:p></o:p></p><p class=MsoListParagraph style='margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><span style='mso-list:Ignore'>f.)<span style='font:7.0pt "Times New Roman"'>     </span></span><![endif]>ngcp-installer<o:p></o:p></p><p class=MsoListParagraph style='margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><span style='mso-list:Ignore'>g.)<span style='font:7.0pt "Times New Roman"'>    </span></span><![endif]>ngcp-network --set-interface=eth0 --ip=auto --netmask=auto<o:p></o:p></p><p class=MsoListParagraph style='margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><span style='mso-list:Ignore'>h.)<span style='font:7.0pt "Times New Roman"'>    </span></span><![endif]>ngcp-network --move-from=lo --move-to=eth0 --type=web_ext --type=sip_ext --type=rtp_ext --type=ssh_ext<o:p></o:p></p><p class=MsoListParagraph style='margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><span style='mso-list:Ignore'>i.)<span style='font:7.0pt "Times New Roman"'>      </span></span><![endif]>edit /etc/network/interfaces (setting the IP information required for this server)<o:p></o:p></p><p class=MsoListParagraph style='margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><span style='mso-list:Ignore'>j.)<span style='font:7.0pt "Times New Roman"'>      </span></span><![endif]>move the database over from the backup and process: mysql –p </tmp/backup.sql<o:p></o:p></p><p class=MsoListParagraph style='margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><span style='mso-list:Ignore'>k.)<span style='font:7.0pt "Times New Roman"'>    </span></span><![endif]>move over the config.yml from the previous server<o:p></o:p></p><p class=MsoListParagraph style='margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><span style='mso-list:Ignore'>l.)<span style='font:7.0pt "Times New Roman"'>      </span></span><![endif]>run ngcpcfg apply to verify everything sets up ok<o:p></o:p></p><p class=MsoListParagraph style='mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><span style='mso-list:Ignore'>m.)<span style='font:7.0pt "Times New Roman"'>  </span></span><![endif]>reboot to make sure everything is listening ok<o:p></o:p></p><p class=MsoListParagraph style='margin-left:.75in'>NOTE: The IP address of the duplicated server is also listed in the domain list.<o:p></o:p></p><p class=MsoListParagraph style='margin-left:.75in'><o:p> </o:p></p><p class=MsoListParagraph style='margin-left:.75in'><o:p> </o:p></p><p class=MsoListParagraph style='margin-left:.75in'>Is there any reason to think this process would not work today as it did in the past?<o:p></o:p></p><p class=MsoListParagraph style='margin-left:.75in'><o:p> </o:p></p><p class=MsoListParagraph style='margin-left:.75in'><o:p> </o:p></p><p class=MsoListParagraph style='margin-left:.75in'>If the original install was done according to the steps above on Feb 4<sup>th</sup> 2014 would the distribution be different now in 2.8 that is causing a difference in the system?<o:p></o:p></p><p class=MsoListParagraph style='margin-left:.75in'><o:p> </o:p></p><p class=MsoListParagraph style='margin-left:.75in'>Is there a way to install the version of 2.8 that was being downloaded on Feb 4 2014 compared to the newer 2.8 that is currently available?<o:p></o:p></p><p class=MsoListParagraph style='margin-left:.75in'><o:p> </o:p></p><p class=MsoListParagraph style='margin-left:.75in'>Thank you<o:p></o:p></p><p class=MsoListParagraph style='margin-left:.75in'>Kevin<o:p></o:p></p><p class=MsoListParagraph style='margin-left:.75in'><o:p> </o:p></p><p class=MsoListParagraph style='margin-left:.75in'><o:p> </o:p></p></div></body></html>