Check if a Client Machine can Connect to the Open iT Server

Issue #

  • Manually check the connection to the _server

Environment #

  • 6409
  • Linux

Resolution #

  1. Enable client debug
    • /opt/openit/bin/openit_clientd –debug –verbose
  2. Run cron Hello server
  3. Check client debug
    Notice[27348] Thu Oct 6 15:35:09 2016: at
    [OpeniT::Client OpeniT::Cron::external_start_cron_entry
    2106]<-[OpeniT::Protocol OpeniT::Client::_start_cron_number 1347]<-
    [OpeniT::Network OpeniT::Protocol::protocol 375]<-[OpeniT::Client
    OpeniT::Network::listen_for_connections 241]
    <-main OpeniT::Client::begin 95] : Forced running cron command: p#a#1800#
    7200#1800#60#OpeniT::Client::_hello_server
    DEBUG[27348] Thu Oct 6 15:35:09 2016: Forked periodic process with pid 27349
    DEBUG[27349] Thu Oct 6 15:35:09 2016: Command: OpeniT::Client::_hello_server

    DEBUG[27348] Thu Oct 6 15:35:09 2016: ### send_type: CMD_ST_NR_ACK
    DEBUG[27348] Thu Oct 6 15:35:09 2016: Cron entry started
    DEBUG[27349] Thu Oct 6 15:35:09 2016: Starting _hello_server to mnl151lin on port 7478
    DEBUG[27349] Thu Oct 6 15:35:09 2016: ### send_type:HEL_WLD3_REQ_
    DEBUG[27349] Thu Oct 6 15:35:09 2016: *** send_scalar: 426
    DEBUG[27349] Thu Oct 6 15:35:09 2016: *** send_string:
    {“hostname”:”mnl151lin.svg.openit.local”,”ip”:”10.32.0.231″,”os”:”linux2.6.32″,
    “arch”:”x86_64″,”version”:”6.3.0.5″,”modules”:[“LicenseAnalyzer”],
    “patches”:[“2000-1″,”2001-1″,”2001-3″,”2016-1″,”2020-1″,”2023-1″,”2025-1″,”2029-1”,
    “2031-1″,”2033-1″,”2036-1″,”2038-1″,”2049-1″,”2054-1″,”2055-1″,”2055-2″,”2057-1”,
    “919-3″,”930-1″,”931-1″,”945-1″,”956-1″,”962-1″,”965-1″,”972-1″,”975-1”,
    “979-1″,”990-2″,”992-1″,”994-1″,”patch.log”]}
    DEBUG[27175] Thu Oct 6 15:35:09 2016: In external child handler
    DEBUG[27175] Thu Oct 6 15:35:09 2016: external CHLD handler – pid 27348
    DEBUG[27175] Thu Oct 6 15:35:09 2016: Status from wait of child was: 0
    DEBUG[27175] Thu Oct 6 15:35:09 2016: Connection (pid 27348) closed gracefully
    DEBUG[27349] Thu Oct 6 15:35:09 2016: ### receive_type: HEL_WLD3_ACK_
    DEBUG[27349] Thu Oct 6 15:35:09 2016: End of _hello_server
X