<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.sophos.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>HA stuck in Syncing</title><link>https://community.sophos.com/utm-firewall/f/hardware-installation-up2date-licensing/75493/ha-stuck-in-syncing</link><description>Hi, 
 
 since the last server-crash (our utm is a virtual machine) we got this error messages in ha-log and the state is &amp;quot;Syncing&amp;quot; since three days 
 
 repctl[4062]: [e] db_connect(2058): error while connecting to database(DBI:Pg:dbname=repmgr;host=198</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: HA stuck in Syncing</title><link>https://community.sophos.com/thread/420325?ContentTypeID=1</link><pubDate>Mon, 11 Nov 2019 17:48:32 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:21b2244d-2761-434e-99fb-01017b32ffd4</guid><dc:creator>BAlfson</dc:creator><description>&lt;p&gt;Hi Efren and welcome to the UTM Community!&lt;/p&gt;
&lt;p&gt;There are too many unknowns for me to make any suggestions.&amp;nbsp; I recommend you get a case open with Sophos Support.&amp;nbsp; When you get your issue resolved, please come back here and describe the solution.&lt;/p&gt;
&lt;p&gt;Cheers - Bob&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HA stuck in Syncing</title><link>https://community.sophos.com/thread/419945?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2019 23:22:08 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:b5379fd7-3595-409e-9ecd-4174174be504</guid><dc:creator>Efren Gonzalez</dc:creator><description>&lt;p&gt;Hi Bob,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I know this is old, but maybe you can please clarify. Is the Slave you mention the same as the Swarm instance? Is the HA disabling the ha_aws process? I believe I am not using ha, but somehow have the same issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HA stuck in Syncing</title><link>https://community.sophos.com/thread/403028?ContentTypeID=1</link><pubDate>Thu, 02 May 2019 14:56:59 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:0643b417-1d8b-4a35-bb75-733dbaae6c3c</guid><dc:creator>Adrien Belcourt1</dc:creator><description>&lt;p&gt;Danny,&lt;/p&gt;
&lt;p&gt;Thank you for this post.&amp;nbsp; Just had to use the information in it - again.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Worth adding that&amp;nbsp;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;lt;M&amp;gt; utm:/home/login # tail -f /var/log/system.log&lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;2019:05:02-15:20:12 utm-2 ulogd[7753]: pg1: connect: could not connect to server: No such file or directory&lt;br /&gt;2019:05:02-15:20:17 utm-2 ulogd[7753]: pg1: connect: could not connect to server: No such file or directory&lt;br /&gt;2019:05:02-15:20:22 utm-2 ulogd[7753]: pg1: connect: could not connect to server: No such file or directory&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;^C&lt;br /&gt;&amp;lt;M&amp;gt; utm:/home/login #&amp;nbsp;&lt;/span&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;telnet 127.0.0.1 5432&lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;Trying 127.0.0.1...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;telnet: connect to address 127.0.0.1: Connection refused&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Is a good indication that the database is corrupt.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And to Cheerok&amp;#39;s points I think it would&amp;nbsp;be reasonable to add&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Any customer has the right and frequently the need to access the root shell.&lt;/li&gt;
&lt;li&gt;Any change at root always has the *possibility* of voiding support.&lt;/li&gt;
&lt;li&gt;Nearly all customers have to use root access to effectively administer their UTMs.&lt;/li&gt;
&lt;li&gt;If you administer enough UTMs, that database rebuilds is a common need.&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;So as a customer you have to be careful.&amp;nbsp; Be well informed.&amp;nbsp; &amp;nbsp;Contact support where possible.&amp;nbsp; And when not possible - tread carefully.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So&amp;nbsp;it is not in place to prevent customers from using root, only to dissuade people from doing &amp;quot;stupid stuff&amp;quot; like trying to install device drivers using root access - which actually happened back in ASG V4 days and resulted in the root changes may void support rule.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;All the best,&lt;/p&gt;
&lt;p&gt;Adrien.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HA stuck in Syncing</title><link>https://community.sophos.com/thread/321310?ContentTypeID=1</link><pubDate>Tue, 07 Feb 2017 04:55:05 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:a569feec-57c9-4da9-aa57-461543b5cfd1</guid><dc:creator>Cheerok</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;as a member of the sophos Support i have to address very important points about this &amp;quot;tutorial&amp;quot;:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. Database rebuilds are only to be done by a certain support level and only by Sophos Support Members.&lt;/p&gt;
&lt;p&gt;2. Rebuilding a Database without support recommendation on your own, &amp;quot;voids&amp;quot; your support until you re-image&lt;/p&gt;
&lt;p&gt;the machine.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3. There are several unpredictable problems/errors that could occur after rebuilding a database the wrong way&lt;/p&gt;
&lt;p&gt;or making mistakes that we can&amp;#39;t fix or rather wont fix as per point 2, as this is the central database for&lt;/p&gt;
&lt;p&gt;most UTM services!&lt;/p&gt;
&lt;p&gt;4. This is not the correct way to rebuild a database and many times not even necessary. For analysis if this is even needed,&lt;/p&gt;
&lt;p&gt;you can contact Support or your Partner / Distributor.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Cheerok&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HA stuck in Syncing</title><link>https://community.sophos.com/thread/290192?ContentTypeID=1</link><pubDate>Mon, 14 Mar 2016 10:05:16 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:044db615-06e7-4ea1-a1c4-76b1c2e343af</guid><dc:creator>itsfruity</dc:creator><description>&lt;p&gt;You&amp;#39;ll loose reporting data but:&lt;/p&gt;
&lt;p&gt;Step 1: login to master node, su to root&lt;br /&gt;Step 2: open a new ssh window, login to master again, su to root&lt;br /&gt;Step 3: on 2nd window, enter: ha_utils ssh&lt;br /&gt;Step 4: in the 2nd window, login to slave as loginuser, then su to root&lt;br /&gt;Step 5: on both ssh windows, enter: killall repctl&lt;br /&gt;Step 6: on both ssh windows, enter: /etc/init.d/postgresql92 rebuild&lt;br /&gt;Step 7: after database rebuilds, enter on both ssh windows: repctl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HA stuck in Syncing</title><link>https://community.sophos.com/thread/290142?ContentTypeID=1</link><pubDate>Sun, 13 Mar 2016 15:35:02 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:d5e6725d-4306-4c09-8c14-a8f37e46068d</guid><dc:creator>papa_</dc:creator><description>&lt;p&gt;I had same problem after some power failures.&lt;/p&gt;
&lt;p&gt;- shut down slave&lt;/p&gt;
&lt;p&gt;- reboot master (you will have a downtime)&lt;/p&gt;
&lt;p&gt;- power on slave&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HA stuck in Syncing</title><link>https://community.sophos.com/thread/290140?ContentTypeID=1</link><pubDate>Sun, 13 Mar 2016 15:28:48 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:0ba504cb-fb2c-4bd1-980f-374b1df6e463</guid><dc:creator>BAlfson</dc:creator><description>&lt;p&gt;Rudolf, have you tried rebooting the Slave?&amp;nbsp; If that doesn&amp;#39;t work, try disabling HA, thereby forcing the Slave to do a Factory Reset, and then re-establish Hot-Standby.&amp;nbsp; Any luck with that?&lt;/p&gt;
&lt;p&gt;Cheers - Bob&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HA stuck in Syncing</title><link>https://community.sophos.com/thread/290109?ContentTypeID=1</link><pubDate>Sat, 12 Mar 2016 16:21:02 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:28570500-ae07-4f99-b7a2-e78e823e710f</guid><dc:creator>itsfruity</dc:creator><description>&lt;p&gt;Yeah, there is but i can&amp;#39;t remember the commands off the top of my head.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll have to send them through on Monday. Do you have a Support contract? If so, get a call logged and the engineers will help you out.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>