<?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=5439&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] php-fpm line missing from /var/run/php/]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=5439</link>
		<description><![CDATA[The most recent posts in [SOLVED] php-fpm line missing from /var/run/php/.]]></description>
		<lastBuildDate>Mon, 23 Jan 2023 03:21:45 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] php-fpm line missing from /var/run/php/]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=40501#p40501</link>
			<description><![CDATA[<p>In the process of some new troubleshooting I revisited this part of your previous reply.</p><p>Devuan, or something, doesn&#039;t seem to like surf ...</p><div class="quotebox"><cite>ralph.ronnquist wrote:</cite><blockquote><div><p>More recently browser developers have introduced new and interesting ways of resolving domain names, so it&#039;s possible that this won&#039;t work for you. In that case, you should install <span class="bbc">surf</span> and trial this via the command line start:</p><div class="codebox"><pre><code>$ surf http://realupnow.com/info.php</code></pre></div><p>Unless of course, you rather enjoy some browser wrestling <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Note that it&#039;s <span class="bbc">http</span> without a trailing <span class="bbc">s</span>.</p></div></blockquote></div><div class="codebox"><pre><code>root@devuan1:~# surf http://realupnow.com/info.php

** (surf:5562): WARNING **: 22:11:30.126: Could not open /sys/class/dmi/id/chassis_type: Failed to open file “/sys/class/dmi/id/chassis_type”: Permission denied

** (surf:5562): WARNING **: 22:11:30.126: Could not open /sys/firmware/acpi/pm_profile: Failed to open file “/sys/firmware/acpi/pm_profile”: Permission denied

** (surf:5562): WARNING **: 22:11:30.149: webkit_web_context_set_additional_plugins_directory is deprecated and does nothing. Netscape plugins are no longer supported.

** (surf:5562): WARNING **: 22:11:30.149: webkit_web_context_set_additional_plugins_directory is deprecated and does nothing. Netscape plugins are no longer supported.

(WebKitWebProcess:5576): Gtk-WARNING **: 22:11:30.291: Theme parsing error: gtk-widgets.css:1345:25: The style property GtkRange:slider-width is deprecated and shouldn&#039;t be used anymore. It will be removed in a future version

(WebKitWebProcess:5576): Gtk-WARNING **: 22:11:30.291: Theme parsing error: gtk-widgets.css:1346:25: The style property GtkRange:stepper-size is deprecated and shouldn&#039;t be used anymore. It will be removed in a future version

(WebKitWebProcess:5576): Gtk-WARNING **: 22:11:30.291: Theme parsing error: gtk-widgets.css:1347:34: The style property GtkScrollbar:min-slider-length is deprecated and shouldn&#039;t be used anymore. It will be removed in a future version

(WebKitWebProcess:5576): Gtk-WARNING **: 22:11:30.291: Theme parsing error: gtk-widgets.css:1348:28: The style property GtkRange:stepper-spacing is deprecated and shouldn&#039;t be used anymore. It will be removed in a future version

(WebKitWebProcess:5576): Gtk-WARNING **: 22:11:30.291: Theme parsing error: gtk-widgets.css:1349:34: The style property GtkRange:trough-under-steppers is deprecated and shouldn&#039;t be used anymore. It will be removed in a future version

** (WebKitWebProcess:5576): WARNING **: 22:11:30.538: Could not open /sys/class/dmi/id/chassis_type: Failed to open file “/sys/class/dmi/id/chassis_type”: Permission denied

** (WebKitWebProcess:5576): WARNING **: 22:11:30.538: Could not open /sys/firmware/acpi/pm_profile: Failed to open file “/sys/firmware/acpi/pm_profile”: Permission denied
Could not read style file: /root/.surf/styles/default.css
root@devuan1:~# </code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (dcolburn)]]></author>
			<pubDate>Mon, 23 Jan 2023 03:21:45 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=40501#p40501</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] php-fpm line missing from /var/run/php/]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=39747#p39747</link>
			<description><![CDATA[<p>You&#039;ve given me some good things to study and resolve.</p><p>I guess I first need to set up SSL.</p><p>Then proceed from there.</p><p>(BTW: http://realupnow.com does resolve from the default Devuan browser on the server. It doesn&#039;t resolve from my laptop. I have https-only turned off in the Ghostery Dawn browser - on my laptop.)</p><p>Thanks!</p>]]></description>
			<author><![CDATA[dummy@example.com (dcolburn)]]></author>
			<pubDate>Sat, 31 Dec 2022 02:28:18 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=39747#p39747</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] php-fpm line missing from /var/run/php/]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=39746#p39746</link>
			<description><![CDATA[<p>Firstly, the configuration does not include SSL setup so the service is <span class="bbc">http</span> and not <span class="bbc">https</span>.</p><p>Next, you will need to convince your browser that the FQDN (fully qualified domain name) <span class="bbc">realupnow.com</span> resolves to the IP address <span class="bbc">127.0.0.1</span> (or the other one if you prefer, since <span class="bbc">nginx</span> listens on all interfaces, i.e. both <span class="bbc">lo</span> and <span class="bbc">eth0</span>).</p><p>Traditionally a browser would end up using the standard <span class="bbc">libc</span> function <span class="bbc">gethostbyname</span> to determine the IP adddress to use, and this is technically configured via <span class="bbc">/etc/nsswitch.conf</span> and <span class="bbc">/etc/hosts</span>. If all is per traditionally normal, then it is enough to add a line to <span class="bbc">/etc/hosts</span>:</p><div class="codebox"><pre><code>127.0.0.1 realupnow.com</code></pre></div><p> (with a terminating newline). That would declare the DNS resolution for <span class="bbc">realupnow.com</span> to be <span class="bbc">127.0.0.1</span>.</p><p>More recently browser developers have introduced new and interesting ways of resolving domain names, so it&#039;s possible that this won&#039;t work for you. In that case, you should install <span class="bbc">surf</span> and trial this via the command line start:</p><div class="codebox"><pre><code>$ surf http://realupnow.com/info.php</code></pre></div><p>Unless of course, you rather enjoy some browser wrestling <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Note that it&#039;s <span class="bbc">http</span> without a trailing <span class="bbc">s</span>.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Fri, 30 Dec 2022 23:52:13 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=39746#p39746</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] php-fpm line missing from /var/run/php/]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=39744#p39744</link>
			<description><![CDATA[<p>/etc/nginx/sites-enabled/ only now contains realupnow.com</p><p>127.0.0.1 and 192.168.50.4 both take me to nginx.</p><p>https://www.realupnow.com is not found.</p><p>How do I test for the server path to realupnow.com, please?</p>]]></description>
			<author><![CDATA[dummy@example.com (dcolburn)]]></author>
			<pubDate>Fri, 30 Dec 2022 23:29:14 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=39744#p39744</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] php-fpm line missing from /var/run/php/]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=39743#p39743</link>
			<description><![CDATA[<p>Right; remove all links from <span class="bbc">/etc/nginx/sites-enabled/</span> except the one for your service configuration.</p><p>And: <span class="bbc">nginx</span> needs to be restarted after any changes to its configuration files. (Sometimes &quot;reload&quot; is enough, but that&#039;s really only a consideration for a busy live site).</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Fri, 30 Dec 2022 23:14:14 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=39743#p39743</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] php-fpm line missing from /var/run/php/]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=39741#p39741</link>
			<description><![CDATA[<div class="codebox"><pre><code>2022/12/30 17:25:34 [emerg] 4042#4042: open() &quot;/etc/nginx/sites-enabled/website1.com&quot; failed (2: No such file or directory) in /etc/nginx/nginx.conf:64</code></pre></div><p>I think the problem is here:</p><div class="codebox"><pre><code>include /etc/nginx/modules-enabled/*.conf</code></pre></div><p>I deleted the symlinks to default.com, website1.com, and website2.com from /etc/nginx/sites-enabled</p><p>Also, realupnow.com is now a folder in /var/www/ and index.html is in that folder. Both are now also set to www-data:www-data</p><div class="codebox"><pre><code>root@devuan1:~# sudo nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
root@devuan1:~# sudo service nginx restart
Restarting nginx: nginx.
root@devuan1:~# </code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (dcolburn)]]></author>
			<pubDate>Fri, 30 Dec 2022 23:02:11 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=39741#p39741</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] php-fpm line missing from /var/run/php/]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=39740#p39740</link>
			<description><![CDATA[<p>Look at end of <span class="bbc">/var/log/nginx/error.log</span>.</p><p>Directory <span class="bbc">/var/www/realupnow.com</span> exists and is readable by <span class="bbc">www-data</span> ?</p><p><span class="bbc">php7.4-fpm</span> is started?</p><p>btw, code things (like configuration files) are best displayed with <span class="bbc">code</span> tagging rather than <span class="bbc">quote</span> tagging since that will avoid word-wrap linebreaks that otherwise might cause confusion.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Fri, 30 Dec 2022 22:48:51 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=39740#p39740</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] php-fpm line missing from /var/run/php/]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=39738#p39738</link>
			<description><![CDATA[<p>Should realupnow.com permissions be root?</p><p>&quot;sudo service nginx restart&quot; failed.</p><p>I&#039;ve not seen that before ...</p>]]></description>
			<author><![CDATA[dummy@example.com (dcolburn)]]></author>
			<pubDate>Fri, 30 Dec 2022 22:26:57 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=39738#p39738</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] php-fpm line missing from /var/run/php/]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=39737#p39737</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>##<br /># Virtual Host configuration for realupnow.com<br />#<br /># Be sure to symlink that to sites-enabled/ to enable it.<br /># sudo ln -s /etc/nginx/sites-available/realupnow.com /etc/nginx/sites-enabled/realupnow.com<br />#<br />server {<br />&#160; &#160; listen 80;<br />&#160; &#160; root /var/www/realupnow.com;<br />&#160; &#160; index index.php index.html index.htm;<br />&#160; &#160; server_name realupnow.com;</p><p>&#160; &#160; location / {<br />&#160; &#160; &#160; &#160; try_files $uri $uri/ =404;<br />&#160; &#160; }</p><p>&#160; &#160; location ~ \.php$ {<br />&#160; &#160; &#160; &#160; include snippets/fastcgi-php.conf;<br />&#160; &#160; &#160; &#160; fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;<br />&#160; &#160; }<br />}</p></div></blockquote></div>]]></description>
			<author><![CDATA[dummy@example.com (dcolburn)]]></author>
			<pubDate>Fri, 30 Dec 2022 22:23:55 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=39737#p39737</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] php-fpm line missing from /var/run/php/]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=39736#p39736</link>
			<description><![CDATA[<p>Ah, with &quot;configuration file&quot; I meant the service configuration, which presumably is <span class="bbc">/etc/nginx/sites-available/realupnow.com</span>.</p><p>And to make it easier for you to debug, you should remove the other links in <span class="bbc">/etc/nginx/sites-enabled</span> (and restore them later). ... and restart <span class="bbc">nginx</span></p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Fri, 30 Dec 2022 22:18:09 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=39736#p39736</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] php-fpm line missing from /var/run/php/]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=39735#p39735</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>root@devuan1:/etc/nginx/sites-enabled# ls -l<br />total 0<br />lrwxrwxrwx 1 root root 40 Dec 29 21:53 realupnow.com -&gt; /etc/nginx/sites-available/realupnow.com<br />lrwxrwxrwx 1 root root 39 Dec 29 21:17 website1.com -&gt; /etc/nginx/sites-available/website1.com<br />lrwxrwxrwx 1 root root 39 Dec 29 21:17 website2.com -&gt; /etc/nginx/sites-available/website2.com<br />lrwxrwxrwx 1 root root 34 Dec 24 21:35 xdefault -&gt; /etc/nginx/sites-available/default<br />root@devuan1:/etc/nginx/sites-enabled#</p></div></blockquote></div><div class="quotebox"><blockquote><div><p>user www-data;<br />error_log logs/error.log notice;<br />worker_processes auto;<br />pid /run/nginx.pid;<br />include /etc/nginx/modules-enabled/*.conf;<br />include conf.d/http;<br />include conf.d/stream;<br />include conf.d/exchange-enhanced;</p><p>events {<br />&#160; &#160; &#160; &#160; worker_connections 768;<br />&#160; &#160; &#160; &#160; # multi_accept on;<br />}</p><p>http {</p><p>&#160; &#160; &#160; &#160; ##<br />&#160; &#160; &#160; &#160; # Basic Settings<br />&#160; &#160; &#160; &#160; ##</p><p>&#160; &#160; &#160; &#160; sendfile on;<br />&#160; &#160; &#160; &#160; tcp_nopush on;<br />&#160; &#160; &#160; &#160; types_hash_max_size 2048;<br />&#160; &#160; &#160; &#160; # server_tokens off;</p><p>&#160; &#160; &#160; &#160; # server_names_hash_bucket_size 64;<br />&#160; &#160; &#160; &#160; # server_name_in_redirect off;</p><p>&#160; &#160; &#160; &#160; include /etc/nginx/mime.types;<br />&#160; &#160; &#160; &#160; default_type application/octet-stream;</p><p>&#160; &#160; &#160; &#160; ##<br />&#160; &#160; &#160; &#160; # SSL Settings<br />&#160; &#160; &#160; &#160; ##</p><p>&#160; &#160; &#160; &#160; ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # Dropping SSLv3, ref: POODLE<br />&#160; &#160; &#160; &#160; ssl_prefer_server_ciphers on;</p><p>&#160; &#160; &#160; &#160; ##</p></div></blockquote></div>]]></description>
			<author><![CDATA[dummy@example.com (dcolburn)]]></author>
			<pubDate>Fri, 30 Dec 2022 22:09:37 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=39735#p39735</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] php-fpm line missing from /var/run/php/]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=39734#p39734</link>
			<description><![CDATA[<p>No.</p><p>Rather, please show the content (with <span class="bbc">ls -l</span>) of <span class="bbc">/etc/ngiginx/sites-enabled/</span>, and your <span class="bbc">nginx</span> configuration file.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Fri, 30 Dec 2022 21:40:07 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=39734#p39734</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] php-fpm line missing from /var/run/php/]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=39732#p39732</link>
			<description><![CDATA[<p>Do I need to install the &quot;Unit&quot; Control API?</p><p><a href="https://unit.nginx.org/controlapi/" rel="nofollow">https://unit.nginx.org/controlapi/</a></p>]]></description>
			<author><![CDATA[dummy@example.com (dcolburn)]]></author>
			<pubDate>Fri, 30 Dec 2022 21:07:22 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=39732#p39732</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] php-fpm line missing from /var/run/php/]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=39728#p39728</link>
			<description><![CDATA[<p>Nothing stands out in any of those three logs.</p><p>I&#039;d previously corrected code errors in nginx.conf and there were no errors in the php7.4-fpm log.</p>]]></description>
			<author><![CDATA[dummy@example.com (dcolburn)]]></author>
			<pubDate>Fri, 30 Dec 2022 19:31:41 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=39728#p39728</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] php-fpm line missing from /var/run/php/]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=39709#p39709</link>
			<description><![CDATA[<p>As you might know:</p><p><span class="bbc">nginx</span> provides execution logs as <span class="bbc">/var/log/nginx/access.log</span> and/or <span class="bbc">/var/log/nginx/error.log</span></p><p><span class="bbc">php7.4-fpm</span> provides execution logs as <span class="bbc">/var/log/php7.4-fpm.log</span></p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Fri, 30 Dec 2022 06:18:55 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=39709#p39709</guid>
		</item>
	</channel>
</rss>
