2016-06-02 2 views
1

mongo 공식 리포에서 mongodb를 설치했습니다. 몽고를 시작하고 싶을 때 실패합니다. journalctl -xe을 실행할 때몽키가 polkitd 때문에 시작하지 않음

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 with result 'exit-code'. 
Jun 02 11:34:21 mongo polkitd[736]: Unregistered Authentication Agent for unix-process:2218:1110034 (system bus name :1.28, object path /org/freedesktop/PolicyKit1/AuthenticationAge 

저는 fedora 23 서버를 사용하고 있습니다. 어떻게 등록되지 않은 인증 오류를 해결할 수 있습니까?

답변

0

많은 수색을 한 후에 나는 이것을 link이라고합니다. 이 규칙을 selinux에 추가합니다 : semanage port -a -t mongod_port_t -p tcp 27017하지만 성공하지 못했습니다./etc/selinux/config에 SELINUX=permissive을 설정하고 재부팅 한 후 작동했습니다.

관련 문제