<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=5173&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] Pi-Hole and Devuan Chimaera]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=5173</link>
		<description><![CDATA[The most recent posts in [SOLVED] Pi-Hole and Devuan Chimaera.]]></description>
		<lastBuildDate>Sun, 21 Aug 2022 01:38:28 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] Pi-Hole and Devuan Chimaera]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=37118#p37118</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>rbit wrote:</cite><blockquote><div><p>... was hoping another process (the old pihole?) was holding on to that port.<br />... can&#039;t connect, because the service is not running.</p></div></blockquote></div><p>Exactly ...</p><div class="quotebox"><cite>rbit wrote:</cite><blockquote><div><p>Would you mind trying this ...</p></div></blockquote></div><p>Of course:</p><div class="codebox"><pre><code>root@chimaera:~# cat /etc/pihole/setupVars.conf
WEBPASSWORD=688cee6d6cc168f344644ff376482d3cd6894b5d294962dd41a514887f8972b2
BLOCKING_ENABLED=true
DNSSEC=false
REV_SERVER=false
PIHOLE_INTERFACE=eth0
PIHOLE_DNS_1=127.0.0.1#5335
PIHOLE_DNS_2=
IPV6_ADDRESS=
QUERY_LOGGING=true
INSTALL_WEB_SERVER=true
INSTALL_WEB_INTERFACE=true
LIGHTTPD_ENABLED=true
CACHE_SIZE=10000
DNS_FQDN_REQUIRED=true
DNS_BOGUS_PRIV=true
DNSMASQ_LISTENING=local
root@chimaera:~# </code></pre></div><div class="codebox"><pre><code>root@chimaera:~# service pihole-FTL start
Not running

FTL started!
root@chimaera:~#</code></pre></div><div class="codebox"><pre><code>root@chimaera:~# service pihole-FTL status
[    ] pihole-FTL is not running

root@chimaera:~# </code></pre></div><p>It was doing this before.</p><div class="quotebox"><cite>rbit wrote:</cite><blockquote><div><p>... check <span class="bbc">/var/log/pihole/FTL.log</span> for other clues.</p></div></blockquote></div><p>These are the last six lines in the log:</p><div class="codebox"><pre><code>[2022-08-20 22:04:12.618 1362M] Successfully accessed setupVars.conf
[2022-08-20 22:04:12.620 1362M] listening on 0.0.0.0 port 53
[2022-08-20 22:04:12.641 1362M] listening on :: port 53
[2022-08-20 22:04:12.655 1366M] PID of FTL process: 1366
[2022-08-20 22:04:12.657 1366M] Listening on port 4711 for incoming IPv4 telnet connections
[2022-08-20 22:04:12.668 1366M] Error opening IPv6 telnet socket: Address family not supported by protocol (97)   &lt;------ the only error</code></pre></div><div class="quotebox"><cite>rbit wrote:</cite><blockquote><div><p>... a section &quot;Pi-hole diagnosis&quot; ...</p></div></blockquote></div><p>It has always read *No issues found*.</p><div class="quotebox"><cite>rbit wrote:</cite><blockquote><div><p>... nuke it (including configs) and re-install.</p></div></blockquote></div><p>Yes.<br />Not too fond of that but as I was in a hurry, I did it.<br />Brings bad memories of Win95/98 ...&#160; &#160;8^°</p><p>So ...<br />Been there, done that.<br />Full nuke, clean install.<br />No dice, same story.</p><p>I am&#160; convinced that the problem lies with port 4711 not being accessible to Pi-Hole.</p><p>&#160; &#160; &#160;---&gt; BREAKING NEWS &lt;----</p><p>Check this:</p><p><a href="https://discourse.pi-hole.net/t/ftl-v5-16-2-fails-if-no-ipv6-is-available/57181/17" rel="nofollow">https://discourse.pi-hole.net/t/ftl-v5- … e/57181/17</a></p><p>Caveat:<br />The web site does not work with Pale Moon, to them it is an <em>unsupported</em> browser. 8^|</p><div class="quotebox"><cite>Moderator wrote:</cite><blockquote><div><p>We found the reason why it&#039;s failing when no IPv6 is available. We&#039;ll prepare a fix for this.</p></div></blockquote></div><div class="codebox"><pre><code>root@chimaera:~# pihole checkout ftl fix/no_telnet_is_okay
  Please note that changing branches severely alters your Pi-hole subsystems
  Features that work on the master branch, may not on a development branch
  This feature is NOT supported unless a Pi-hole developer explicitly asks!
  Have you read and understood this? [y/N] y

  [✓] Branch fix/no_telnet_is_okay exists
  [i] Switching to branch: &quot;fix/no_telnet_is_okay&quot; from &quot;master&quot;
  [✓] Downloading and Installing FTL
  [✓] Restarting pihole-FTL service...
  [✓] Enabling pihole-FTL service to start on reboot...
root@chimaera:~# </code></pre></div><p>That fixed it, seems you were on the right track.&#160; 8^)<br />Fortunately they move fast.<br />Once again, thank you very much for your efforts. </p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sun, 21 Aug 2022 01:38:28 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=37118#p37118</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Pi-Hole and Devuan Chimaera]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=37116#p37116</link>
			<description><![CDATA[<div class="quotebox"><cite>Altoid wrote:</cite><blockquote><div><div class="codebox"><pre><code>[root@devuan ~]# ss -tnlp | grep 4711
[root@devuan ~]# </code></pre></div><p>Nothing.</p></div></blockquote></div><p>Phooey.&#160; I was hoping another process (the old pihole?) was holding on to that port.&#160; You can&#039;t connect, because the service is not running.&#160; The service won&#039;t start (or rather, won&#039;t stay running) because of... something yet unknown.<br />Earlier you had posted this from your log: </p><div class="codebox"><pre><code>[2022-08-19 18:05:28.696 1140M] Error opening IPv6 telnet socket: Address family not supported by protocol (97)</code></pre></div><p>Would you mind trying this, add this line into the file <span class="bbc">/etc/pihole/setupVars.conf</span> </p><div class="codebox"><pre><code>IPV6_ADDRESS=</code></pre></div><p>Then run </p><div class="codebox"><pre><code># service pihole-FTL start</code></pre></div><p>If it doesn&#039;t start properly, check <span class="bbc">/var/log/pihole/FTL.log</span> for other clues.</p><p>Also, in the web interface, there is a section &quot;Pi-hole diagnosis&quot; under the &quot;Tools&quot; menu.&#160; I&#039;m not sure whether or not that is useful.</p><p>If all else fails, nuke it (including configs) and re-install.&#160; Sometimes that is quicker (but less satisfying) than finding the actual problem.</p>]]></description>
			<author><![CDATA[dummy@example.com (rbit)]]></author>
			<pubDate>Sat, 20 Aug 2022 23:33:57 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=37116#p37116</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Pi-Hole and Devuan Chimaera]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=37111#p37111</link>
			<description><![CDATA[<p>Hello:</p><p>Sorry for the delay ...</p><div class="quotebox"><cite>rbit wrote:</cite><blockquote><div><p>... can you open the pihole web admin page?</p></div></blockquote></div><p>Yes, no problem with that.</p><p>Up at the top left I have this data:</p><div class="quotebox"><blockquote><div><p>Status<br />&#160; &#160; DNS service not running<br />&#160; &#160; Load:&#160; 0&#160; 0&#160; 0<br />&#160; &#160; Memory usage:&#160; 3.1 %</p></div></blockquote></div><p>Once I log in, the four screens (green, blue, ochre and red) have no information, just &#039;NaN&#039;.<br />If I go to the &#039;Settings&#039; page, I get the error message I mentioned in previously at the top:</p><div class="quotebox"><blockquote><div><p>Error<br />There was a problem applying your settings.<br />Debugging information:<br />PHP error (2): fsockopen(): unable to connect to 127.0.0.1:4711 (Connection refused) in /var/www/html/admin/scripts/pi-hole/php/FTL.php:44</p></div></blockquote></div><p>The system tab reads:</p><div class="quotebox"><blockquote><div><p>FTL Information<br />The FTL service is offline!</p></div></blockquote></div><p>re: <span class="bbc">/etc/pihole/setupVars.conf</span></p><div class="quotebox"><cite>rbit wrote:</cite><blockquote><div><p>... same as mine, except for PIHOLE_DNS_1=127.0.0.1#5335</p><p>This might be valid ...</p></div></blockquote></div><p>It is.<br />I have Pi-Hole runninng as a recursive DNS server in a Chimaera headless VM inside my box.<br />So I use my own DNS server.</p><p>--- note start ---&gt;</p><p>If you want to check on how it is done, check this video: <a href="https://www.youtube.com/watch?v=FnFtWsZ8IP0" rel="nofollow">https://www.youtube.com/watch?v=FnFtWsZ8IP0</a><br />There are also a couple&#160; of&#160; web pages: here: <a href="https://opensourcelibs.com/lib/pihole-unbound" rel="nofollow">https://opensourcelibs.com/lib/pihole-unbound</a> and here: <a href="https://medium.com/nerd-for-tech/recursive-dns-resolver-with-ad-blocking-features-dea766d4f703" rel="nofollow">https://medium.com/nerd-for-tech/recurs … a766d4f703</a></p><p>&lt;--- note end ---</p><div class="quotebox"><cite>rbit wrote:</cite><blockquote><div><p>My pihole goes out to other DNS servers ...</p></div></blockquote></div><p>Mine goes to 192.168.1.3 which is the IP of the Chimaera VM.</p><p>This setup <span class="bbu">was working perfectly well</span> until the last upgrade to Pi-hole v5.11.4 FTL v5.16.2 Web Interface v5.13.&#160; 8^°<br />Maybe it was a combination of that and some Devuan update?<br />Did we have a Devuan update involving access to port 4711? No idea ...</p><div class="quotebox"><cite>rbit wrote:</cite><blockquote><div><p>what happens when you run these ...</p></div></blockquote></div><p>I think I tried this one the other day.</p><div class="codebox"><pre><code>[root@devuan ~]# ss -tnlp | grep 4711
[root@devuan ~]# </code></pre></div><p>Nothing.</p><p>Same as if I try to <span class="bbc">telnet</span> to the VM from my box:</p><div class="codebox"><pre><code>[root@devuan ~]# telnet 192.168.1.3 4711
Trying 192.168.1.3...
telnet: Unable to connect to remote host: Connection refused
[root@devuan ~]# </code></pre></div><div class="quotebox"><cite>rbit wrote:</cite><blockquote><div><p>root@devuan:/etc/pihole# ss -tnlp | grep 4711</p></div></blockquote></div><p>No ...<br />Can&#039;t do that.<br />Pi-hole is not installed up in my box, it is installed in the VM.</p><p>So it would be this:</p><div class="codebox"><pre><code>root@chimaera:/etc/pihole# ss -tnlp | grep 4711
root@chimaera:/etc/pihole# </code></pre></div><p>Again, nothing.</p><div class="codebox"><pre><code>root@chimaera:/etc/pihole# telnet 127.0.0.1 4711
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused     &lt;----- this is it. But why?
root@chimaera:/etc/pihole# </code></pre></div><p>Thank you very much for your efforts.<br />Much appreciated.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sat, 20 Aug 2022 20:50:45 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=37111#p37111</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Pi-Hole and Devuan Chimaera]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=37106#p37106</link>
			<description><![CDATA[<div class="quotebox"><cite>Altoid wrote:</cite><blockquote><div><div class="codebox"><pre><code>root@chimaera:~# cat /etc/pihole/setupVars.conf
PIHOLE_DNS_1=127.0.0.1#5335</code></pre></div></div></blockquote></div><p>I have the same line for <span class="bbc">PIHOLE_DNS_1</span>. There is an <span class="bbc">unbound</span> running on my machine, configured for port 5335 to resolve DNS (setup as described in <a href="https://forum.kuketz-blog.de/viewtopic.php?f=42&amp;t=3067" rel="nofollow">https://forum.kuketz-blog.de/viewtopic.php?f=42&amp;t=3067</a> (german)).</p><p>Did you try&#160; a &quot;common&quot; DNS server, like rbit suggested?<br />Or what is your local DNS resolver on port 5335 and is it working?</p>]]></description>
			<author><![CDATA[dummy@example.com (delgado)]]></author>
			<pubDate>Sat, 20 Aug 2022 07:41:14 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=37106#p37106</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Pi-Hole and Devuan Chimaera]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=37105#p37105</link>
			<description><![CDATA[<div class="quotebox"><cite>Altoid wrote:</cite><blockquote><div><div class="codebox"><pre><code>root@chimaera:~# service lighttpd status
lighttpd is running.</code></pre></div></div></blockquote></div><p>can you open the pihole web admin page? ( try <a href="http://192.168.1.3/admin" rel="nofollow">http://192.168.1.3/admin</a> ... or whatever the machine&#039;s ip address is)</p><div class="quotebox"><cite>Altoid wrote:</cite><blockquote><div><div class="codebox"><pre><code>root@chimaera:~# cat /etc/pihole/setupVars.conf
WEBPASSWORD=xxxx
BLOCKING_ENABLED=true
DNSSEC=false
REV_SERVER=false
PIHOLE_INTERFACE=eth0
PIHOLE_DNS_1=127.0.0.1#5335
PIHOLE_DNS_2=
QUERY_LOGGING=true
INSTALL_WEB_SERVER=true
INSTALL_WEB_INTERFACE=true
LIGHTTPD_ENABLED=true
CACHE_SIZE=10000
DNS_FQDN_REQUIRED=true
DNS_BOGUS_PRIV=true
DNSMASQ_LISTENING=local
root@chimaera:~# </code></pre></div></div></blockquote></div><p>Basically the same as mine, except for PIHOLE_DNS_1=127.0.0.1#5335<br />This might be valid, I&#039;m not sure, but it&#039;s not how mine is set up at all.&#160; My pihole goes out to other DNS servers for its non-piholed queries.&#160; I also don&#039;t see IPV4_ADDRESS or IPV6_ADDRESS in your configuration.&#160; Mine is:</p><div class="codebox"><pre><code>PIHOLE_DNS_1=208.67.222.222
PIHOLE_DNS_2=208.67.220.220
PIHOLE_DNS_3=198.6.100.194
PIHOLE_DNS_4=9.9.9.9
IPV4_ADDRESS=192.168.1.4/24
IPV6_ADDRESS=</code></pre></div><div class="quotebox"><cite>Altoid wrote:</cite><blockquote><div><div class="codebox"><pre><code>[2022-08-19 18:05:28.675 1140M] Listening on port 4711 for incoming IPv4 telnet connections
[2022-08-19 18:05:28.696 1140M] Error opening IPv6 telnet socket: Address family not supported by protocol (97)</code></pre></div><p>As you can see, port 4711&#160; is mentioned.</p><p>If <span class="bbc">fsockopen</span> gets refused trying to connect to 127.0.0.1:4711, then there is a permissions problem with port 4711.</p><p>How do I troubleshoot <em>that</em>, specifically?</p></div></blockquote></div><p>what happens when you run these: </p><div class="codebox"><pre><code>root@devuan:/etc/pihole# ss -tnlp | grep 4711
LISTEN     0      5      127.0.0.1:4711                     *:*                   users:((&quot;pihole-FTL&quot;,pid=2819,fd=10))
LISTEN     0      5          ::1:4711                    :::*                   users:((&quot;pihole-FTL&quot;,pid=2819,fd=13))
root@devuan:/etc/pihole# telnet 127.0.0.1 4711
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is &#039;^]&#039;.
^]
telnet&gt; quit
Connection closed.
root@devuan:/etc/pihole# </code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (rbit)]]></author>
			<pubDate>Sat, 20 Aug 2022 02:33:14 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=37105#p37105</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Pi-Hole and Devuan Chimaera]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=37104#p37104</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>rbit wrote:</cite><blockquote><div><p>What is the output of: </p><div class="codebox"><pre><code>service lighttpd status</code></pre></div></div></blockquote></div><p>Here it is:</p><div class="codebox"><pre><code>root@chimaera:~# service lighttpd status
lighttpd is running.
root@chimaera:~# </code></pre></div><div class="quotebox"><cite>rbit wrote:</cite><blockquote><div><p>FYI, my (very-old) FTL.php contains this:</p><div class="codebox"><pre><code>function connectFTL($address, $port=4711)
{
	if($address == &quot;127.0.0.1&quot;)
	{
		// Read port
		$portfile = file_get_contents(&quot;/var/run/pihole-FTL.port&quot;);
		if(is_numeric($portfile))
			$port = intval($portfile);
	}

	// Open Internet socket connection
	$socket = @fsockopen($address, $port, $errno, $errstr, 1.0);

	return $socket;
}</code></pre></div></div></blockquote></div><p>I think that whatever is going on has been caused by some change in the Pi-Hole configuration.</p><div class="quotebox"><cite>rbit wrote:</cite><blockquote><div><p>... next place to look would be <span class="bbc">/etc/pihole/setupVars.conf</span>... check if anything looks off in there.</p></div></blockquote></div><p>Here it is:</p><div class="codebox"><pre><code>root@chimaera:~# cat /etc/pihole/setupVars.conf
WEBPASSWORD=688cee6d6cc168f344644ff376482d3cd6894b5d294962dd41a514887f8972b2
BLOCKING_ENABLED=true
DNSSEC=false
REV_SERVER=false
PIHOLE_INTERFACE=eth0
PIHOLE_DNS_1=127.0.0.1#5335
PIHOLE_DNS_2=
QUERY_LOGGING=true
INSTALL_WEB_SERVER=true
INSTALL_WEB_INTERFACE=true
LIGHTTPD_ENABLED=true
CACHE_SIZE=10000
DNS_FQDN_REQUIRED=true
DNS_BOGUS_PRIV=true
DNSMASQ_LISTENING=local
root@chimaera:~# </code></pre></div><p>At first sight it &#039;looks&#039; OK.<br />Not that I&#039;d have much idea ...&#160; &#160;8^/</p><div class="quotebox"><cite>rbit wrote:</cite><blockquote><div><p>... don&#039;t forget the log files: <span class="bbc">/var/log/pihole/FTL.log</span> and <span class="bbc">/var/log/pihole/pihole.log</span></p></div></blockquote></div><p>These are the last two&#160; lines in <span class="bbc">/var/log/pihole/FTL.log</span>:</p><div class="codebox"><pre><code>[2022-08-19 18:05:28.675 1140M] Listening on port 4711 for incoming IPv4 telnet connections
[2022-08-19 18:05:28.696 1140M] Error opening IPv6 telnet socket: Address family not supported by protocol (97)</code></pre></div><p>As you can see, port 4711&#160; is mentioned.</p><p>Surely related to this line in the debugging info:</p><p><span class="bbc">PHP error (2): fsockopen(): unable to connect to 127.0.0.1:4711 (Connection refused) in /var/www/html/admin/scripts/pi-hole/php/FTL.php:44</span></p><p><span class="bbc">/var/log/pihole/pihole.log</span> is empty.</p><p>If <span class="bbc">fsockopen</span> gets refused trying to connect to 127.0.0.1:4711, then there is a permissions problem with port 4711.</p><p>How do I troubleshoot <em>that</em>, specifically?</p><p>eg:<br />I cannot reach port 4711 on the VM from my box:</p><div class="codebox"><pre><code>user@devuan:~$ telnet 192.168.1.3 4711
Trying 192.168.1.3...
telnet: Unable to connect to remote host: Connection refused
user@devuan:~$ </code></pre></div><div class="codebox"><pre><code>[root@devuan ~]# telnet 192.168.1.3 4711
Trying 192.168.1.3...
telnet: Unable to connect to remote host: Connection refused
[root@devuan ~]# </code></pre></div><p>^^^ This ^^^ means that it is closed to outside access.</p><p>pihole-FTL&#160; &#160; &#160; uses port 67 ( DHCP )&#160; &#160; &#160; &#160;IPv4 UDP<br />pihole-FTL&#160; &#160; &#160; uses port 547 ( DHCPv6 )&#160; IPv6 UDP<br />lighttpd&#160; &#160; &#160; &#160; &#160; &#160;uses port 80 ( HTTP )&#160; &#160; &#160; &#160;TCP<br />pihole-FTL&#160; &#160; &#160; 4711&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; TCP</p><p>But if pi-hole needs to use it for whatever, it <em>should</em> be able to.<br />ie: part of the installation (?) to make that happen.</p><div class="quotebox"><blockquote><div><p>FTL is our API engine and uses port 4711 on the localhost interface. This port should not be accessible from any other interface.</p></div></blockquote></div><p>See <a href="https://docs.pi-hole.net/main/prerequisites/" rel="nofollow">https://docs.pi-hole.net/main/prerequisites/</a></p><p>Thanks for your input.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sat, 20 Aug 2022 01:44:03 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=37104#p37104</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Pi-Hole and Devuan Chimaera]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=37101#p37101</link>
			<description><![CDATA[<div class="quotebox"><cite>Altoid wrote:</cite><blockquote><div><div class="codebox"><pre><code>root@chimaera:~#  service pihole-FTL status
[    ] pihole-FTL is not running
root@chimaera:~# </code></pre></div></div></blockquote></div><p>What is the output of: </p><div class="codebox"><pre><code>service lighttpd status</code></pre></div><p>FYI, my (very-old) FTL.php contains this:</p><div class="codebox"><pre><code>function connectFTL($address, $port=4711)
{
	if($address == &quot;127.0.0.1&quot;)
	{
		// Read port
		$portfile = file_get_contents(&quot;/var/run/pihole-FTL.port&quot;);
		if(is_numeric($portfile))
			$port = intval($portfile);
	}

	// Open Internet socket connection
	$socket = @fsockopen($address, $port, $errno, $errstr, 1.0);

	return $socket;
}</code></pre></div><p>The next place to look would be <span class="bbc">/etc/pihole/setupVars.conf</span>... check if anything looks off in there.</p><p>Oh, and don&#039;t forget the log files: <span class="bbc">/var/log/pihole/FTL.log</span> and <span class="bbc">/var/log/pihole/pihole.log</span></p>]]></description>
			<author><![CDATA[dummy@example.com (rbit)]]></author>
			<pubDate>Fri, 19 Aug 2022 22:24:11 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=37101#p37101</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Pi-Hole and Devuan Chimaera]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=37096#p37096</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>Has anyone here at Dev1 installed/run Pi-Hole?</p></div></blockquote></div><p>I&#039;m running a pi-hole on chimaera, installed before migration.<br />(beside the adaption of the changed network device name) no further issues so far, but I&#039;m not frequently updating.</p>]]></description>
			<author><![CDATA[dummy@example.com (delgado)]]></author>
			<pubDate>Fri, 19 Aug 2022 19:57:14 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=37096#p37096</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Pi-Hole and Devuan Chimaera]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=37091#p37091</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>Altoid wrote:</cite><blockquote><div><p>Hello:<br />It would seem like I am the only one ...&#160; &#160;8^°</p></div></blockquote></div><p>Said I because a search for &#039;pi-hole&#039; or &#039;pihole&#039; got me where it is mentioned but they were all mine.&#160; 8^°</p><p>Devuan is not a <em>supported</em> OS for Pi-Hole (but Debian <em>is</em>) so it&#039;s hard to figure things out when something goes wrong.</p><p>In any case, I have narrowed down the cause of a problem I am having.</p><p>After the last update, the DNS server is not starting and it <em>looks</em> like a permissions issue:</p><div class="quotebox"><blockquote><div><p>There was a problem applying your settings.<br />Debugging information:</p><p>PHP error (2): fsockopen(): unable to connect to 127.0.0.1:4711 (Connection refused) in /var/www/html/admin/scripts/pi-hole/php/FTL.php:44</p></div></blockquote></div><p>Here is what is happens after I get this:</p><p>I opne a terminal on the VM where Pi-Hole is running and start <span class="bbc">pihole-FTL</span>.<br />As it was stopped, it says so and then starts it:</p><div class="codebox"><pre><code>root@chimaera:~# service pihole-FTL restart
Not running

FTL started!
root@chimaera:~#</code></pre></div><p>I then immediately query the <span class="bbc">pihole-FTL</span> status to check if this is so ...</p><div class="codebox"><pre><code>root@chimaera:~#  service pihole-FTL status
[    ] pihole-FTL is not running
root@chimaera:~# </code></pre></div><p>... but no.<br />As you can see it reports as &#039;not running&#039;.</p><p>Here are lines <span class="bbc">28</span> to <span class="bbc">47</span> from the <span class="bbc">FTL.php</span> script mentioned in the debug output:</p><div class="codebox"><pre><code>...
 28 }
 29 
 30 function connectFTL($address, $port) {
 31     if ($address == DEFAULT_FTL_IP) {
 32         $config = piholeFTLConfig();
 33         // Read port
 34         $portfileName = isset($config[&#039;PORTFILE&#039;]) ? $config[&#039;PORTFILE&#039;] : DEFAULT_FTL_PORTFILE;
 35         if ($portfileName != &#039;&#039;) {
 36             $portfileContents = file_get_contents($portfileName);
 37             if (is_numeric($portfileContents)) {
 38                 $port = intval($portfileContents);
 39             }
 40         }
 41     }
 42 
 43     // Open Internet socket connection                                       &lt;-------             
 44     $socket = @fsockopen($address, $port, $errno, $errstr, 1.0);  &lt;------
 45 
 46     return $socket;
 47 }
...</code></pre></div><p>How can I troubleshoot / find the cause of this problem?<br />ie: unable to connect to 127.0.0.1:4711 (Connection refused)</p><p>Thanks in advance.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Fri, 19 Aug 2022 16:15:59 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=37091#p37091</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] Pi-Hole and Devuan Chimaera]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=37087#p37087</link>
			<description><![CDATA[<p>Hello:</p><p>Has anyone here at Dev1 installed/run Pi-Hole?<br />It would seem like I am the only one ...&#160; &#160;8^°</p><p>Thanks in advance.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Fri, 19 Aug 2022 12:23:02 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=37087#p37087</guid>
		</item>
	</channel>
</rss>
