RabbitMQ Failing to start with a "BACKOFF" during the SELinux port rule check
cb-rabbitmq Exited too quickly (process log may have details) BACKOFF
cb-enterprise[88717]: Error creating SELinux port rule for rabbitmq_port_t on port 5004: Traceback (most recent call last):
cb-enterprise[88717]: File "/sbin/semanage", line 1000, in <module>
cb-enterprise[88717]: do_parser()
cb-enterprise[88717]: File "/sbin/semanage", line 970, in do_parser
cb-enterprise[88717]: commandParser = createCommandParser()
cb-enterprise[88717]: File "/sbin/semanage", line 900, in createCommandParser
cb-enterprise[88717]: import seobject
cb-enterprise[88717]: File "/usr/lib/python3.6/site-packages/seobject.py", line 33, in <module>
cb-enterprise[88717]: import sepolicy
cb-enterprise[88717]: File "/usr/lib/python3.6/site-packages/sepolicy/__init__.py", line 7, in <module>
cb-enterprise[88717]: import setools
cb-enterprise[88717]: File "/usr/lib64/python3.6/site-packages/setools/__init__.py", line 24, in <module>
cb-enterprise[88717]: __version__ = pkg_resources.get_distribution("setools").version
cb-enterprise[88717]: AttributeError: module 'pkg_resources' has no attribute 'get_distribution'
cb-enterprise[88717]: Error creating SELinux port rule for rabbitmq_port_t on port 5005: Traceback (most recent call last):
cb-enterprise[88717]: File "/sbin/semanage", line 1000, in <module>
cb-enterprise[88717]: do_parser()
cb-enterprise[88717]: File "/sbin/semanage", line 970, in do_parser
cb-enterprise[88717]: commandParser = createCommandParser()
cb-enterprise[88717]: File "/sbin/semanage", line 900, in createCommandParser
cb-enterprise[88717]: import seobject
cb-enterprise[88717]: File "/usr/lib/python3.6/site-packages/seobject.py", line 33, in <module>
cb-enterprise[88717]: import sepolicy
cb-enterprise[88717]: File "/usr/lib/python3.6/site-packages/sepolicy/__init__.py", line 7, in <module>
cb-enterprise[88717]: import setools
cb-enterprise[88717]: File "/usr/lib64/python3.6/site-packages/setools/__init__.py", line 24, in <module>
cb-enterprise[88717]: __version__ = pkg_resources.get_distribution("setools").version
cb-enterprise[88717]: AttributeError: module 'pkg_resources' has no attribute 'get_distribution'
Server is missing python3 files
dnf reinstall platform-python-setuptools