OK I actually figured it out. It was indeed SELinux that was preventing jabber 
from connecting to the UNIX socket. 
What's strange, though, is that the syslog never showed me the messages until I 
rebooted into Permissive mode. 

After I did that, I got the SELinux warnings that sm and c2s were being 
prevented from "connectto" access to the unix_steam_socket on 
/run/postgresql/.s.PGSQL.5432

After I ran the suggested fix command:

setsebool -P daemons_enable_cluster_mode 1

And rebooted again back into enforcing mode, jabber was able to start using 
pgsql. 

Thanks for the help all. 

--Matthew Wilkinson


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Avi Miller
Sent: Wednesday, May 31, 2017 15:50
To: [email protected]
Subject: Re: [Spacewalk-list] Error connecting to jabber

[This is an external email. Be cautious with links, attachments and responses.]

**********************************************************************
Hi,

> On 1 Jun 2017, at 6:40 am, Wilkinson, Matthew 
> <[email protected]> wrote:
> 
> No matter what I do to ensure the jabberd2 user has rights/grants and no 
> matter what I do to allow the user to connect via the pg_hba.conf I can't get 
> jabberd to start on OL 7 after configuring it for pgsql. 
> Did you get it working on OL 7?


Yes, the blog post was written on OL7. Can you email me your sm.xml and 
pg_hba.conf files directly so I can take a look at your configuration and 
compare it to mine? Also, if SElinux is enabled, see if disabling it resolves 
the issue.

Cheers,
Avi

P.S. I’m out of the office for the rest of the day, so I’ll probably only get a 
chance to look at any replies tomorrow.

--
Oracle <http://www.oracle.com>
Avi Miller | Product Management Director | +61 (3) 8616 3496 Oracle Linux and 
Virtualization
417 St Kilda Road, Melbourne, Victoria 3004 Australia


_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to