<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Syntax error in &#x2F;etc&#x2F;inc&#x2F;utils.inc causes boot failure]]></title><description><![CDATA[<p dir="auto">Missing trailing semi-colons are causing install boot failures.  Caused by commit 1622230a5ad997... :</p>
<p dir="auto">"Parse error: syntax error, unexpected '$numrecords' (T_VARIABLE) in /etc/inc/util.inc on line 2036"</p>
<p dir="auto">Fix is below:</p>
<pre><code>diff --git a/src/etc/inc/util.inc b/src/etc/inc/util.inc
index a3e3280abe..e0ea49d8d6 100644
--- a/src/etc/inc/util.inc
+++ b/src/etc/inc/util.inc
@@ -2032,8 +2032,8 @@ function mac_format($clientmac) {
 }

function resolve_retry($hostname, $protocol = 'inet') {
-       $retries = 50
-       $numrecords = 1
+       $retries = 50;
+       $numrecords = 1;
        $recresult = array();
        $returnres = array();

</code></pre>
]]></description><link>https://forum.netgate.com/topic/163371/syntax-error-in-etc-inc-utils-inc-causes-boot-failure</link><generator>RSS for Node</generator><lastBuildDate>Tue, 12 May 2026 18:21:26 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/163371.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 29 Apr 2021 04:00:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Syntax error in &#x2F;etc&#x2F;inc&#x2F;utils.inc causes boot failure on Thu, 29 Apr 2021 23:58:30 GMT]]></title><description><![CDATA[<p dir="auto">My previous post seems to have disappeared. Anyway, I was able to recover by editing /etc/inc/utils.inc per @rschell. So far, everything seems to be working after a reboot.</p>
<p dir="auto">Edit: the missing previous post was for this issue but different thread.</p>
<p dir="auto">Edit: just installed the latest build and everything is still working. I think this crisis is over.</p>
]]></description><link>https://forum.netgate.com/post/980599</link><guid isPermaLink="true">https://forum.netgate.com/post/980599</guid><dc:creator><![CDATA[swampkracker]]></dc:creator><pubDate>Thu, 29 Apr 2021 23:58:30 GMT</pubDate></item><item><title><![CDATA[Reply to Syntax error in &#x2F;etc&#x2F;inc&#x2F;utils.inc causes boot failure on Thu, 29 Apr 2021 22:38:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bimmerdriver">@<bdi>bimmerdriver</bdi></a> said in <a href="/post/980593">Syntax error in /etc/inc/utils.inc causes boot failure</a>:</p>
<blockquote>
<p dir="auto">@rschell said in <a href="/post/980582">Syntax error in /etc/inc/utils.inc causes boot failure</a>:</p>
<blockquote>
<p dir="auto">Version built on Thu Apr 29 12:02:36 EDT 2021 is safe to upgrade</p>
</blockquote>
<p dir="auto">Fortunately, I had a checkpoint from a broken 2.5.0 so I restored it. Now upgrading to the latest version.</p>
</blockquote>
<p dir="auto">Upgrade was successful.</p>
]]></description><link>https://forum.netgate.com/post/980597</link><guid isPermaLink="true">https://forum.netgate.com/post/980597</guid><dc:creator><![CDATA[bimmerdriver]]></dc:creator><pubDate>Thu, 29 Apr 2021 22:38:01 GMT</pubDate></item><item><title><![CDATA[Reply to Syntax error in &#x2F;etc&#x2F;inc&#x2F;utils.inc causes boot failure on Thu, 29 Apr 2021 21:42:42 GMT]]></title><description><![CDATA[<p dir="auto">@rschell said in <a href="/post/980582">Syntax error in /etc/inc/utils.inc causes boot failure</a>:</p>
<blockquote>
<p dir="auto">Version built on Thu Apr 29 12:02:36 EDT 2021 is safe to upgrade</p>
</blockquote>
<p dir="auto">Fortunately, I had a checkpoint from a broken 2.5.0 so I restored it. Now upgrading to the latest version.</p>
]]></description><link>https://forum.netgate.com/post/980593</link><guid isPermaLink="true">https://forum.netgate.com/post/980593</guid><dc:creator><![CDATA[bimmerdriver]]></dc:creator><pubDate>Thu, 29 Apr 2021 21:42:42 GMT</pubDate></item><item><title><![CDATA[Reply to Syntax error in &#x2F;etc&#x2F;inc&#x2F;utils.inc causes boot failure on Thu, 29 Apr 2021 20:18:15 GMT]]></title><description><![CDATA[<p dir="auto">Version built on Thu Apr 29 12:02:36 EDT 2021 is safe to upgrade</p>
]]></description><link>https://forum.netgate.com/post/980582</link><guid isPermaLink="true">https://forum.netgate.com/post/980582</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Thu, 29 Apr 2021 20:18:15 GMT</pubDate></item><item><title><![CDATA[Reply to Syntax error in &#x2F;etc&#x2F;inc&#x2F;utils.inc causes boot failure on Thu, 29 Apr 2021 17:34:14 GMT]]></title><description><![CDATA[<p dir="auto">@rschell said in <a href="/post/980546">Syntax error in /etc/inc/utils.inc causes boot failure</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bimmerdriver">@<bdi>bimmerdriver</bdi></a> Only way I have found to recover is to go to a previous version prior to today.  My first encounter yesterday did not go well, tried many 2.6 versions to no avail.  The config got really missed up.  Ended up restoring 2.4.5 from scratch, not a good experience (4 or 6 hours down the drain).</p>
</blockquote>
<p dir="auto">%&amp;<em>(</em>#!</p>
]]></description><link>https://forum.netgate.com/post/980550</link><guid isPermaLink="true">https://forum.netgate.com/post/980550</guid><dc:creator><![CDATA[bimmerdriver]]></dc:creator><pubDate>Thu, 29 Apr 2021 17:34:14 GMT</pubDate></item><item><title><![CDATA[Reply to Syntax error in &#x2F;etc&#x2F;inc&#x2F;utils.inc causes boot failure on Thu, 29 Apr 2021 17:29:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bimmerdriver">@<bdi>bimmerdriver</bdi></a> Only way I have found to recover is to go to a previous version prior to today.  My first encounter yesterday did not go well, tried many 2.6 versions to no avail.  The config got really missed up.  Ended up restoring 2.4.5 from scratch, not a good experience (4 or 6 hours down the drain).</p>
]]></description><link>https://forum.netgate.com/post/980546</link><guid isPermaLink="true">https://forum.netgate.com/post/980546</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Thu, 29 Apr 2021 17:29:32 GMT</pubDate></item><item><title><![CDATA[Reply to Syntax error in &#x2F;etc&#x2F;inc&#x2F;utils.inc causes boot failure on Thu, 29 Apr 2021 17:23:11 GMT]]></title><description><![CDATA[<p dir="auto">@rschell I upgraded and have experienced the same problem. Do I have to edit the file to work around the problem or is there a way to upgrade to the next version?</p>
<p dir="auto">Kicking myself for not checkpointing the VM...</p>
]]></description><link>https://forum.netgate.com/post/980539</link><guid isPermaLink="true">https://forum.netgate.com/post/980539</guid><dc:creator><![CDATA[bimmerdriver]]></dc:creator><pubDate>Thu, 29 Apr 2021 17:23:11 GMT</pubDate></item><item><title><![CDATA[Reply to Syntax error in &#x2F;etc&#x2F;inc&#x2F;utils.inc causes boot failure on Thu, 29 Apr 2021 13:41:51 GMT]]></title><description><![CDATA[<p dir="auto">best not upgrade to <strong>Version 2.6.0.a.20210429.0100</strong>, next version should be ok.</p>
]]></description><link>https://forum.netgate.com/post/980491</link><guid isPermaLink="true">https://forum.netgate.com/post/980491</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Thu, 29 Apr 2021 13:41:51 GMT</pubDate></item></channel></rss>