Do you have selinux enabled? I would guess that is part of the problem. The solution is to either set the right sebool (setsebool, I think) on the directory for pgsql, or to disable selinux entirely (which is what I do).
To disable, simply edit /etc/sysconfig/selinux and set SELINUX=disabled, and then reboot :) On Fri, Oct 28, 2016 at 9:37 AM Joe Barnes <[email protected]> wrote: > I am running into issues after installation (following > https://www.theforeman.org/manuals/1.13/index.html#2.Quickstart for RHEL > 7) > > In a nutshell, I can run through the installation and everything appears > to be working. I can access the web interface, import puppet modules, etc. > However, as soon as I reboot it no longer works. I can see that the problem > is that postgresql is unable to create the socket file > /var/run/postgresql/.s.PGSQL.5432 > during startup. > > My question is, because I am new to foreman and postgresql (and how they > are intertwined), what do I need to do to enable postgres to create the > socket file? Did I miss some (obvious?) step? Do I need to point postgres > to another location for the socket file (/tmp or /var/lib/pgsql/ ?) > > Many thanks! > > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout. > -- KAYAK Neil Hanlon Devops Engineer +1 978 902 8171 -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
