PIM policyfetcher.log failed to connect to host "localhost"; error code: 10071

book

Article ID: 106116

calendar_today

Updated On:

Products

CA Virtual Privilege Manager CA Privileged Identity Management Endpoint (PIM) CA Privileged Access Manager (PAM)

Issue/Introduction

Get the following in policyfetcher.log when starting the endpoint:

10時04分51秒@ 7月 12 2018 - trying to connect to host "localhost" 
10時04分51秒@ 7月 12 2018 - failed to connect to host "localhost"; error code: 10071 
10時04分51秒@ 7月 12 2018 - can not connect to localhost, will not resolve DEPLOYMENT and POLICY conflicts... 

Cause

This is because the +policyfetcher user is not authorized for terminal.

Environment

Release:
Component: SEOSWG

Resolution

Look for an entry like the following in seaudit (e.g. seaudit -a -sd today | grep policyfetcher)

12 Jul 2018 17:07:03 D LOGIN +policyfetcher 69 10 <HOST-OR-IP> policyfetcher 

This shows that the +policyfetcher user is being denied login (D LOGIN) to the terminal.

To fix this authorize the terminal, in selang:

authorize TERMINAL ('<HOST-OR-IP>') access(WRITE) uid('+policyfetcher')