linux - Mongodb not start because of polkitd -
i've install mongodb mongo official repo. when want start mongo fail. when run journalctl -xe
got this:
jun 02 11:34:21 mongo systemd[1]: mongod.service: unit entered failed state. jun 02 11:34:21 mongo audit[1]: service_start pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=mongod comm="systemd" exe="/usr/lib/systemd/syste jun 02 11:34:21 mongo systemd[1]: mongod.service: failed result 'exit-code'. jun 02 11:34:21 mongo polkitd[736]: unregistered authentication agent unix-process:2218:1110034 (system bus name :1.28, object path /org/freedesktop/policykit1/authenticationage
i using fedora 23 server. how fix unregistered auth error?
after lot of search find link. add rule selinux: semanage port -a -t mongod_port_t -p tcp 27017
no success. after set selinux=permissive
in /etc/selinux/config , reboot, worked.