
Nutanix에 Linux 서버가 있는데 일반 사용자는 프록시를 통해 호스트 이름을 확인할 수 없지만 루트는 확인할 수 있습니다. 결과는 다음과 같습니다.
백업 사용자:
[backup@~]$ curl --insecure --url "https://outlook.office365.com:993/"
curl: (6) Couldn't resolve host 'outlook.office365.com'
루트 사용자:
[root@ ~]# curl --insecure --url "https://outlook.office365.com:993/"
* OK The Microsoft Exchange IMAP4 service is ready.
내 프록시 설정은 다음과 같습니다(이 파일은 모든 사용자가 읽을 수 있음).
[root@ ~]# env | grep -i proxy
http_proxy=http://10.xxx.xxx.xxx:8080/
백업 사용자가 /etc/resolv.conf
및 /etc/nsswitch.conf
.
무엇을 더 확인해야 하나요?
답변1
영향을 받는 사용자가 있는지 이 명령을 다시 확인하세요 env | grep -i proxy
. 을 추가하는 것을 잊지 마세요 https_proxy, http_proxy, ftp_proxy and sftp_proxy
. 사용자로 로그인하여 수동으로 설정해 보세요. 작동한다면 문제는 에이전트를 로드하는 과정과 관련된 것입니다.