제2의 비엔지니어 인생관을 꿈꾸며

Posted
Filed under Study

http://www.cievo.sk/2013/04/13/exchang ··· omain%2F

We had Active Directory domain called DOMAIN.LOCAL. There was Exchange 2010 installed. It was fully functional. After some time I added new sub-domain/child domain SUB.DOMAIN.LOCAL and migrated users with mailboxes from DOMAIN.LOCAL to SUB.DOMAIN.LOCAL.

사용자 삽입 이미지

Error stated: Exception message: Could not find any available Domain Controller in domain DC … so problem is probably in the way Exchange locates domain controllers. When users clicked F5 or refreshed website, he could see his e-mails normally.

 

There was also event 2130 logged on Exchange server saying Exchange Active Directory Provider could not find an available domain controller in the domain.

 

Solution

 

When you want to install Exchange into Active Directory domain, you need to prepare forest and also domain before you install it. You use setup.com (from installation DVD of Exchange) with some switches (for example /PrepareSchema, /PrepareAD,…). So new added domain SUB.DOMAIN.LOCAL to existing AD Forest was not prepared for Exchange implementation. I ran following command setup.com /PrepareDomain:SUB.DOMAIN.LOCAL:

사용자 삽입 이미지

If you have more then one domain to prepare for Exchange, you can use command setup.com /PrepareAllDomains.

 

The best way to run /PrepareDomain or /PrepareAllDomains is:

 

  • to be logged domain controller with role Schema Admin
  • to be member of Enterprise Admins group
  • to be member of Schema Admins group

I hope you will not make same mistake as I did

트리도메인에 익스체인지 설치할때 엄청난 삽질을 하다보다 이글보고 겨우 해결된 케이스였습니다.
2013 다르고 2010 다르다보니 많이 어지럽기도 하고 트리도메인 만들때부터 단번에 설치되는 케이스가 한번도 없었습니다. 자식도메인 별무리가 없었는데 트리도메인은 정말 어지럽더군요.

2017/02/19 03:00 2017/02/19 03:00
Posted
Filed under Study

sudo apt-get update –fix-missing

and

sudo dpkg –configure -a

and

sudo apt-get install -f

the problem of a broken package still exist the solution is to edit the dpkg status file manually.

 

  1. $ sudo nano /var/lib/dpkg/status    (you can use vim or gedit instead of nano)
  2. Locate the corrupt package, and remove the whole block of information about it and save the file.

———–

Unlock the dpkg – (message /var/lib/dpkg/lock)

sudo fuser -vki /var/lib/dpkg/lock

sudo dpkg –configure -a

 

For 12.04 and newer:

You can delete the lock file with the following command:

sudo rm /var/lib/apt/lists/lock

You may also need to delete the lock file in the cache directory

sudo rm /var/cache/apt/archives/lock

2017/02/03 15:42 2017/02/03 15:42
Posted
Filed under Life Story

그의 이야기를 잘들어보면 뭐가 문제인지를 보여주는데 이놈의 기자들은 무슨관점으로 기사를 써데서 사람 헷갈리게 하는지...
그나라 이야기가 왠지 옛날 우리나라의 데쟈뷰 현상을 보는듯한 기분이 들정도입니다.

2017/01/25 01:44 2017/01/25 01:44