All posts

IT/System

[Hadoop]

While adding new Ambari host using automated Install, the following error occurred on the Ambari Server:

	Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
	SSH command execution finished
	host=MYHOSTNAME.MYDOMAIN, exitcode=255
	Command end time 2020-02-11 17:57:40

	ERROR: Bootstrap of host MYHOSTNAME.MYDOMAIN fails because previous action finished with non-zero exit code (255)
	ERROR MESSAGE: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).

	STDOUT:
	Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). 

 

Resolution process:


To solve the problem, we need the public key of the Ambari server, so we will get the key from the server to the client.

[Ambari Agent]
The following command will run from the root home directory.

# scp root@SERVER_HOSTNAME.MYDOMAIN:~/id_rsa.pub $HOME/
 : Enter the password of Ambari Server's root
# cat $HOME/id_rsa.pub >> $HOME/.ssh/authorized_keys

[Ambari Server]
And then, we can solve the problem using file 'id_rsa' of Ambari server when install options.

[Hadoop]

While adding new Ambari host using automated Install, the following error occurred on the Ambari Server:

	INFO 2020-02-11 13:35:08,456 NetUtil.py:60 - Connecting to https://SERVERHOSTNMAE.MYDOMAIN:8440/ca
	ERROR 2020-02-11 13:35:08,653 NetUtil.py:84 - [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:618)
	ERROR 2020-02-11 13:35:08,653 NetUtil.py:85 - SSLError: Failed to connect. Please check openssl library versions.
	Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details.
	WARNING 2020-02-11 13:35:08,655 NetUtil.py:112 - Server at https://SERVERHOSTNMAE.MYDOMAIN:8440 is not reachable, sleeping for 10 seconds...

	Registration with the server failed. 


I tried to solve the error through several sites, but failed repeatedly.
But finally, I solved the problem through the following site: 


https://stackoverflow.com/questions/51601391/ambari-agent-no-longer-able-to-contact-server-at-http-dom8440

 

Resolution process:

First, make sure that the service that can install the Ambari Agent is running.

[Ambari Server]
# netstat -tapn | grep 8440

tcp6       0      0 :::8440                 :::*                    LISTEN      2159/java 


If the service is running, check or modify the following:

[Ambari Agent]
 /etc/ambari-agent/conf/ambari-agent.ini

     [security]
     ssl_verify_cert = 0 

 

 /etc/python/cert-verification.cfg

     [https]
     #verify=platform_default
     verify=disable 


After that, the agent service restart.

# ambari-agent restart

To Check Mailbox Usage and Mail Count in Exchange 2010
Exchange 2010 사서함 사용량 확인하기, 메일 수 확인하기

 

I needed to check Mailbox Usage while examining the transition from an Exchange 2010 on-premises server to an online mail server. 
I was googling to find how to check the Mailbox Usage, and finally I found that how to check the Mailbox Usage, Mail Counts and etc. And  I wrote this content that shows how to you get Mailbox Usage and Mail Counts on an Exchange 2010 server include how to sort the collected information.

 

Command in the Exchange Management Shell
> Get-Mailbox | Get-MailboxStatistics | Select DisplayName, ItemCount, TotalItemSize

# Sort by Mailbox Usage
> Get-Mailbox | Get-MailboxStatistics | Select DisplayName, ItemCount, TotalItemSize | Sort-Object TotalItemSize -Descending
# Sort by Mail Count
> Get-Mailbox | Get-MailboxStatistics | Select DisplayName, ItemCount, TotalItemSize | Sort-Object ItemCount -Descending

 

 

 

 

Step 2: Restore a Deleted Active Directory Object

Step 2: Restore a Deleted Active Directory Object 06/27/2012 8 minutes to read In this article --> Applies To: Windows Server 2008 R2 This step provides instructions for completing the following tasks with Active Directory Recycle Bin: Displaying the Delet

docs.microsoft.com

복원 순서

1. 삭제된 개체 컨테이너 표시

2. 개체 복원

 

 

1. 삭제된 개체 컨테이너 표시

  • 'ldp.exe' 실행 - [옵션] - [미리 정의된 컨트롤] - 'Return deleted objects' 선택 후 '체크 인'

     
  • [연결] - [바인딩] - [확인]하여 연결 후,  [보기] - [트리] - '기본 DN' 선택.

  • 트리 확장하여 'CN=Deleted Objects, ~' 확인 가능

 

2. 개체 복원

  • 복원할 개체 우클릭 - [수정] | 특성: isDeleted, 작업: '삭제', '동기' 체크 - 입력

  • 특성: distinguishedName, 값: "개체의 기존 DN 값", 작업: '바꾸기', '확장' 체크 - 입력 - 실행

IIS 사이트 기능 보기에 URL 재작성이 없을 경우, "URL 재작성 모듈"을 설치하면 된다.

 

IIS 7 URL 재작성 / URL Rewrite Module for IIS 7

 

IIS 7용 Microsoft URL 재작성 모듈 2.0(x64)

URL 재작성 모듈 2.0에서는 요청된 URL을 웹 서버에서 처리하기 전에 변경하고 응답 콘텐츠를 HTTP 클라이언트에 제공하기 전에 수정하는 규칙 기반 재작성 메커니즘을 제공합니다.

www.microsoft.com

 

IIS 10 URL 재작성 / URL Rewrite Module for IIS 10 (only EN)

 

URL Rewrite Module 2.0 for IIS (x64)

URL Rewrite Module 2.0 provides a rule-based rewriting mechanism for changing requested URL’s before they get processed by web server and for modifying response content before it gets served to HTTP clients.

www.microsoft.com

 

IIS 10 (Windows Server 2016)

 

IIS 7용 지원 OS 범위

Windows 7, Windows Server 2008, Windows Server 2008 Datacenter, Windows Server 2008 Datacenter without Hyper-V, Windows Server 2008 Enterprise, Windows Server 2008 Enterprise without Hyper-V, Windows Server 2008 R2, Windows Server 2008 R2 Datacenter, Windows Server 2008 R2 Enterprise, Windows Server 2008 R2 SP1, Windows Server 2008 R2 Standard, Windows Server 2008 Service Pack 2, Windows Server 2008 Standard, Windows Server 2008 Standard without Hyper-V, Windows Server 2012, Windows Server 2012 R2, Windows Vista 64-bit Editions Service Pack 1, Windows Web Server 2008, Windows Web Server 2008 R2

 

IIS 10용 지원 OS 범위

Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server 2016