<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Port 5432 is for the postgres database server. Did you dis/enable
postgres sometime?<br>
<br>
Bob G<br>
<br>
<div class="moz-cite-prefix">On 11/15/2015 03:20 PM, Shintaro
Fujiwara wrote:<br>
</div>
<blockquote
cite="mid:CAPhFHN-n5VyfBJft3N3_eyVBv5AeWEPoqh349WnXTME0+dRxFw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>Hi, happy SELinux.<br>
<br>
</div>
I have a AWS fedora server SELinux enabled.<br>
<br>
</div>
I could system-upgrade from 22 to 23 allright except one
boolean option had been reset to (off,off).<br>
</div>
<br>
Why did not boolean value survive after system-upgrade reboot?<br>
<br>
Here's what I did.<br>
<div>------------------------------------------------------------------------------<br>
<div>
<div># dnf update --refresh<br>
# dnf install dnf-plugin-system-upgrade<br>
# dnf system-upgrade download --releasever=23<br>
# dnf system-upgrade reboot<br>
<br>
I checked by web page and I got,<br>
<br>
ERROR: SQLSTATE[08006] [7] could not connect to server:
Permission denied Is the server running on host
"localhost" (::1) and accepting TCP/IP connections on port
5432? could not connect to server: Permission denied Is
the server running on host "localhost" (127.0.0.1) and
accepting TCP/IP connections on port 5432? <br>
<br>
I knew I set some boolean --off to --on, so I grepped the
boolean list.<br>
<br>
# semanage boolean --list | grep httpd<br>
<br>
I found this despite my difinition.<br>
<br>
httpd_can_network_connect_db (off , off) Allow httpd
to can network connect db<br>
<br>
So, I set the value again.<br>
<br>
# semanage boolean --modify httpd_can_network_connect_db
--on<br clear="all">
<div>------------------------------------------------------------------------------------<br>
</div>
<div>No problem otherwise, thanks.<br>
</div>
<div><br>
-- <br>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>Linux Distribution Project<br>
</div>
<div><a moz-do-not-send="true"
href="http://sourceforge.net/projects/pinkrabbitlinux/"
target="_blank">http://sourceforge.net/projects/pinkrabbitlinux/</a><br>
<br>
日本にヘヴィメタル・ハードロックを根付かせるページ<br>
</div>
<div><a moz-do-not-send="true"
href="http://heavymetalhardrock.no-ip.info/"
target="_blank">http://heavymetalhardrock.no-ip.info/</a><br>
</div>
<div><br>
世界中でセキュアOSのSELinuxを使いやすくするフリーソフト<br>
<a moz-do-not-send="true"
href="http://sourceforge.net/projects/segatex/"
target="_blank">http://sourceforge.net/projects/segatex/</a><br>
</div>
<div><br>
CMS(PHPとPostgreSQLを使ったフリーソフト)<br>
</div>
<a moz-do-not-send="true"
href="http://sourceforge.net/projects/webon/"
target="_blank">http://sourceforge.net/projects/webon/</a><br>
<a moz-do-not-send="true"
href="https://github.com/intrajp/irforum_jp"
target="_blank">https://github.com/intrajp/irforum_jp</a><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--
selinux mailing list
<a class="moz-txt-link-abbreviated" href="mailto:selinux@lists.fedoraproject.org">selinux@lists.fedoraproject.org</a>
<a class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/selinux">https://admin.fedoraproject.org/mailman/listinfo/selinux</a></pre>
</blockquote>
<br>
</body>
</html>