Page 2 of 2

Re: UNKNOWN: No handler for that command” error with check_a

Posted: Thu Aug 01, 2013 11:31 am
by imran_khan
Hello,

Any solution or advice?

Thanks,
Imran Khan.

Re: UNKNOWN: No handler for that command” error with check_a

Posted: Thu Aug 01, 2013 12:06 pm
by yancy
imran_khan,

i'm not sure about why the plugin is returning an error with fsmo.

try the following instead
http://exchange.nagios.org/directory/Pl ... ck/details

-Yancy

Re: UNKNOWN: No handler for that command” error with check_a

Posted: Thu Aug 01, 2013 1:33 pm
by imran_khan
Hello Yancy,

This plugin also tried but getting same error. I am trying on Windows 2012 (64-Bit).

Thanks,
Imran Khan.

Re: UNKNOWN: No handler for that command” error with check_a

Posted: Thu Aug 01, 2013 3:16 pm
by imran_khan
Hello,

Any help?

Thanks,
Imran Khan.

Re: UNKNOWN: No handler for that command” error with check_a

Posted: Thu Aug 01, 2013 4:54 pm
by abrist
Your dcdiag output seems truncated. Could you repost the output and make sure that none of it is truncated? (post in two separate posts if necessary)

Re: UNKNOWN: No handler for that command” error with check_a

Posted: Fri Aug 02, 2013 1:29 pm
by imran_khan
Hello,

Please find the dcdiag output.

Code: Select all

Directory Server Diagnosis


Performing initial setup:

   Trying to find home server...

   * Verifying that the local machine xyz, is a Directory Server. 
   Home Server = xyz

   * Connecting to directory service on server xyz.

   * Identified AD Forest. 
   Collecting AD specific global data 
   * Collecting site info.

   Calling ldap_search_init_page(hld,CN=Sites,CN=Configuration,DC=example,DC=net,LDAP_SCOPE_SUBTREE,(objectCategory=ntDSSiteSettings),.......
   The previous call succeeded 
   Iterating through the sites 
   Looking at base site object: CN=NTDS Site Settings,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=example,DC=net
   Getting ISTG and options for the site
   * Identifying all servers.

   Calling ldap_search_init_page(hld,CN=Sites,CN=Configuration,DC=example,DC=net,LDAP_SCOPE_SUBTREE,(objectClass=ntDSDsa),.......
   The previous call succeeded....
   The previous call succeeded
   Iterating through the list of servers 
   Getting information for the server CN=NTDS Settings,CN=xyz,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=example,DC=net 
   objectGuid obtained
   InvocationID obtained
   dnsHostname obtained
   site info obtained
   All the info for the server collected
   * Identifying all NC cross-refs.

   * Found 1 DC(s). Testing 1 of them.

   Done gathering initial info.


Doing initial required tests

   
   Testing server: Default-First-Site-Name\xyz

      Starting test: Connectivity

         * Active Directory LDAP Services Check
         Determining IP4 connectivity 
         * Active Directory RPC Services Check
         ......................... xyz passed test Connectivity



Doing primary tests

   
   Testing server: Default-First-Site-Name\xyz

      Starting test: Advertising

         The DC xyz is advertising itself as a DC and having a DS.
         The DC xyz is advertising as an LDAP server
         The DC xyz is advertising as having a writeable directory
         The DC xyz is advertising as a Key Distribution Center
         The DC xyz is advertising as a time server
         The DS xyz is advertising as a GC.
         ......................... xyz passed test Advertising

      Test omitted by user request: CheckSecurityError

      Test omitted by user request: CutoffServers

      Starting test: FrsEvent

         * The File Replication Service Event log test 
         Skip the test because the server is running DFSR.

         ......................... xyz passed test FrsEvent

      Starting test: DFSREvent

         The DFS Replication Event Log. 
         ......................... xyz passed test DFSREvent

      Starting test: SysVolCheck

         * The File Replication Service SYSVOL ready test 
         File Replication Service's SYSVOL is ready 
         ......................... xyz passed test SysVolCheck

      Starting test: KccEvent

         * The KCC Event log test
         Found no KCC errors in "Directory Service" Event log in the last 15 minutes.
         ......................... xyz passed test KccEvent

      Starting test: KnowsOfRoleHolders

         Role Schema Owner = CN=NTDS Settings,CN=xyz,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=example,DC=net
         Role Domain Owner = CN=NTDS Settings,CN=xyz,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=example,DC=net
         Role PDC Owner = CN=NTDS Settings,CN=xyz,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=example,DC=net
         Role Rid Owner = CN=NTDS Settings,CN=xyz,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=example,DC=net
         Role Infrastructure Update Owner = CN=NTDS Settings,CN=xyz,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=example,DC=net
         ......................... xyz passed test KnowsOfRoleHolders

      Starting test: MachineAccount

         Checking machine account for DC xyz on DC xyz.
         * SPN found :LDAP/xyz.example.net/example.net
         * SPN found :LDAP/xyz.example.net
         * SPN found :LDAP/xyz
         * SPN found :LDAP/xyz.example.net/pqr
         * SPN found :LDAP/8198b45d-94f2-4fd9-915f-25c4489eb0c3._msdcs.example.net
         * SPN found :E3514235-4B06-11D1-AB04-00C04FC2DCD2/8198b45d-94f2-4fd9-915f-25c4489eb0c3/example.net
         * SPN found :HOST/xyz.example.net/example.net
         * SPN found :HOST/xyz.example.net
         * SPN found :HOST/xyz
         * SPN found :HOST/xyz.example.net/pqr
         * SPN found :GC/xyz.example.net/example.net
         ......................... xyz passed test MachineAccount

      Starting test: NCSecDesc

         * Security Permissions check for all NC's on DC xyz.
         * Security Permissions Check for

           DC=ForestDnsZones,DC=example,DC=net
            (NDNC,Version 3)
         * Security Permissions Check for

           DC=DomainDnsZones,DC=example,DC=net
            (NDNC,Version 3)
         * Security Permissions Check for

           CN=Schema,CN=Configuration,DC=example,DC=net
            (Schema,Version 3)
         * Security Permissions Check for

           CN=Configuration,DC=example,DC=net
            (Configuration,Version 3)
         * Security Permissions Check for

           DC=example,DC=net
            (Domain,Version 3)
         ......................... xyz passed test NCSecDesc

      Starting test: NetLogons

         * Network Logons Privileges Check
         Verified share \\xyz\netlogon
         Verified share \\xyz\sysvol
         ......................... xyz passed test NetLogons

      Starting test: ObjectsReplicated

         xyz is in domain DC=example,DC=net
         Checking for CN=xyz,OU=Domain Controllers,DC=example,DC=net in domain DC=example,DC=net on 1 servers
            Object is up-to-date on all servers.
         Checking for CN=NTDS Settings,CN=xyz,CN=Servers,CN=Default-First-Site-

Re: UNKNOWN: No handler for that command” error with check_a

Posted: Fri Aug 02, 2013 1:30 pm
by imran_khan

Code: Select all

Name,CN=Sites,CN=Configuration,DC=example,DC=net in domain CN=Configuration,DC=example,DC=net on 1 servers
            Object is up-to-date on all servers.
         ......................... xyz passed test ObjectsReplicated

      Test omitted by user request: OutboundSecureChannels

      Starting test: Replications

         * Replications Check
         * Replication Latency Check
         ......................... xyz passed test Replications

      Starting test: RidManager

         * Available RID Pool for the Domain is 1601 to 1073741823
         * xyz.example.net is the RID Master
         * DsBind with RID Master was successful
         * rIDAllocationPool is 1101 to 1600
         * rIDPreviousAllocationPool is 1101 to 1600
         * rIDNextRID: 1108
         ......................... xyz passed test RidManager

      Starting test: Services

         * Checking Service: EventSystem
         * Checking Service: RpcSs
         * Checking Service: NTDS
         * Checking Service: DnsCache
         * Checking Service: DFSR
         * Checking Service: IsmServ
         * Checking Service: kdc
         * Checking Service: SamSs
         * Checking Service: LanmanServer
         * Checking Service: LanmanWorkstation
         * Checking Service: w32time
         * Checking Service: NETLOGON
         ......................... xyz passed test Services

      Starting test: SystemLog

         * The System Event log test
         Found no errors in "System" Event log in the last 60 minutes.
         ......................... xyz passed test SystemLog

      Test omitted by user request: Topology

      Test omitted by user request: VerifyEnterpriseReferences

      Starting test: VerifyReferences

         The system object reference (serverReference)

         CN=xyz,OU=Domain Controllers,DC=example,DC=net and

         backlink on

         CN=xyz,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=example,DC=net

         are correct. 
         The system object reference (serverReferenceBL)

         CN=xyz,CN=Topology,CN=Domain System Volume,CN=DFSR-GlobalSettings,CN=System,DC=example,DC=net

         and backlink on

         CN=NTDS Settings,CN=xyz,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=example,DC=net

         are correct. 
         The system object reference (msDFSR-ComputerReferenceBL)

         CN=xyz,CN=Topology,CN=Domain System Volume,CN=DFSR-GlobalSettings,CN=System,DC=example,DC=net

         and backlink on

         CN=xyz,OU=Domain Controllers,DC=example,DC=net are

         correct. 
         ......................... xyz passed test VerifyReferences

      Test omitted by user request: VerifyReplicas

   
      Test omitted by user request: DNS

      Test omitted by user request: DNS

   
   Running partition tests on : ForestDnsZones

      Starting test: CheckSDRefDom

         ......................... ForestDnsZones passed test CheckSDRefDom

      Starting test: CrossRefValidation

         ......................... ForestDnsZones passed test

         CrossRefValidation

   
   Running partition tests on : DomainDnsZones

      Starting test: CheckSDRefDom

         ......................... DomainDnsZones passed test CheckSDRefDom

      Starting test: CrossRefValidation

         ......................... DomainDnsZones passed test

         CrossRefValidation

   
   Running partition tests on : Schema

      Starting test: CheckSDRefDom

         ......................... Schema passed test CheckSDRefDom

      Starting test: CrossRefValidation

         ......................... Schema passed test CrossRefValidation

   
   Running partition tests on : Configuration

      Starting test: CheckSDRefDom

         ......................... Configuration passed test CheckSDRefDom

      Starting test: CrossRefValidation

         ......................... Configuration passed test CrossRefValidation

   
   Running partition tests on : example

      Starting test: CheckSDRefDom

         ......................... example passed test

         CheckSDRefDom

      Starting test: CrossRefValidation

         ......................... example passed test

         CrossRefValidation

   
   Running enterprise tests on : example.net

      Test omitted by user request: DNS

      Test omitted by user request: DNS

      Starting test: LocatorCheck

         GC Name: \\xyz.example.net

         Locator Flags: 0xe00071fd
         PDC Name: \\xyz.example.net
         Locator Flags: 0xe00071fd
         Time Server Name: \\xyz.example.net
         Locator Flags: 0xe00071fd
         Preferred Time Server Name: \\xyz.example.net
         Locator Flags: 0xe00071fd
         KDC Name: \\xyz.example.net
         Locator Flags: 0xe00071fd
         ......................... example.net passed test

         LocatorCheck

      Starting test: Intersite

         Skipping site Default-First-Site-Name, this site is outside the scope

         provided by the command line arguments provided. 
         ......................... example.net passed test

         Intersite

Re: UNKNOWN: No handler for that command” error with check_a

Posted: Mon Aug 05, 2013 11:24 am
by imran_khan
Hello,

Any solution or advice?

Thanks,
Imran Khan.

Re: UNKNOWN: No handler for that command” error with check_a

Posted: Mon Aug 05, 2013 4:03 pm
by abrist
What is the output of:

Code: Select all

DCdiag /test:Knowsofroleholders /v
On the AD server?