Monitor fails to connect

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Monitor fails to connect

  • Creator
    Topic
  • #51129
    Jeff Manley
    Participant

    Has anyone seen this error.

    Monitord init failed.

    Running 5.4.1 on Windows.

Viewing 5 reply threads
  • Author
    Replies
    • #68878
      Jeff Manley
      Participant

      More info from the site daemons – view logfile

      [icl :tcpi:ERR /0:  hcimonitord:08/19/2009 16:09:56] write failed: WSAECONNRESET

      [cmd :cmd :INFO/0:  hcimonitord:08/19/2009 16:09:56] Inrecoverable socket error.  Closing connection.

      [aler:aler:INFO/0:  hcimonitord:08/19/2009 16:09:56] Removing alerts and wants for connection 0xeb7f30

      [icl :tcpi:ERR /0:  hcimonitord:08/19/2009 16:09:58] write failed: WSAECONNRESET

      [cmd :cmd :INFO/0:  hcimonitord:08/19/2009 16:09:58] Inrecoverable socket error.  Closing connection.

      [aler:aler:INFO/0:  hcimonitord:08/19/2009 16:09:58] Removing alerts and wants for connection 0xc90f48

      [cmd :cmd :INFO/0:  hcimonitord:08/19/2009 16:09:58] Received command: ‘iwant state pstate’

      [cmd :cmd :INFO/0:  hcimonitord:08/19/2009 16:09:58] Doing ‘iwant’ command with args ‘state pstate’

      [aler:aler:INFO/0:  hcimonitord:08/19/2009 16:09:58] New alert #6:

      {VALUE status} {SOURCE all} {MODE delta} {WITH -1} {COMP diff} {FOR once} {ACTION status}

      [aler:aler:INFO/0:  hcimonitord:08/19/2009 16:09:58] New alert #7:

      {VALUE ps} {SOURCE all} {MODE delta} {WITH -1} {COMP diff} {FOR once} {ACTION status}

      [cmd :cmd :INFO/0:  hcimonitord:08/19/2009 16:09:58] Received command: ‘iwant alerts’

      [cmd :cmd :INFO/0:  hcimonitord:08/19/2009 16:09:58] Doing ‘iwant’ command with args ‘alerts’

      [aler:aler:WARN/0:  hcimonitord:08/19/2009 16:09:58] Creating AlertAction: cascade

      [aler:aler:INFO/0:  hcimonitord:08/19/2009 16:09:58] New alert #8:

      {VALUE action} {SOURCE notify} {MODE actual} {WITH -1} {COMP none} {FOR once} {ACTION cascade}

      [cmd :cmd :WARN/0:  hcimonitord:08/19/2009 16:09:58] alerts client 0xd15e70

      [icl :tcpi:ERR /0:  hcimonitord:08/19/2009 16:09:58] write failed: WSAECONNABORTED

      [cmd :cmd :INFO/0:  hcimonitord:08/19/2009 16:09:58] Inrecoverable socket error.  Closing connection.

      [aler:aler:INFO/0:  hcimonitord:08/19/2009 16:09:58] Removing alerts and wants for connection 0xd15e70

      [cmd :cmd :WARN/0:  hcimonitord:08/19/2009 16:09:59] Invalid connection, tcpip =  0x0

      [pti :sign:WARN/0:  hcimonitord:08/19/2009 16:09:59] Thread 0 received signal

    • #68879
      Craig Weldy
      Participant

      I think I have seen this before.  If I remember correctly, I killed the host server process and then restarted it and that cleared it up.

      Craig Weldy
      Senior Interface Analyst
      Beacon Health System
      South Bend, In, 46615

    • #68880
      Russ Ross
      Participant

      I agree that either your hostserver isn’t running or you have multiple instances of it running.

      Both conditions will cause what you are seeing.

      On my AIX server I check for either condition by opeining and xterm and doing

      Code:


      # to see if hostserver is running

         hciss

      # to see if more than one instance of the same hostserver is running

         ps -ef | grep CloverleafHostServer

      Russ Ross
      RussRoss318@gmail.com

    • #68881
      MiteshBhatt
      Participant

      Pls. can someone explain reasoning behind this error ?

      Thanks!

    • #68882
      Russ Ross
      Participant

      I’m not sure exactly what reasoning you are asking for so I will speak to my situation.

      Turns out the hostserver would launch multiple instances of itself because we had assigned interfaces with a port number in the ephemeral range.

      On our AIX platform that means a port number >= 32K.

      We remediated all our port nubmers to be less than 32K and the multiple instances of the hostserver went away.

      The other problem we had was the hostserver would randomly die if the $DISPLAY environment variable was set when we started the hostserver.

      Here is the script I currently use to start the cloverleaf hostserver that solved the random deaths.

      Code:

      #!/usr/bin/ksh

      cd $HCIROOT/server/logs
      myDISPLAY=$DISPLAY
      unset DISPLAY

      # here is an environment variable that can be set if a process uses to much paging space
      # that is discussed at this URL:  http://pic.dhe.ibm.com/infocenter/tivihelp/v2r1/index.jsp?topic=%2Fcom.ibm.itame3.doc_5.1%2Fam51_perftune113.htm
      # In this example the process memory limit is set to 512 megabytes,
      # which was big enough to process an 8 megabyte HL7 claim that took 412 megabytes of process memory
      # which was 4 times bigger than our worst case
      #
      # export LDR_CNTRL=MAXDATA=0x20000000
      #

      hciss -s h
      wait
      export DISPLAY=$myDISPLAY

      # might need to unset the LDR_CNTRL when done
      #
      # unset LDR_CNTRL
      #

      Russ Ross
      RussRoss318@gmail.com

    • #68883
      Russ Ross
      Participant

      You will also get a screen indicating an issue when you delete a site that was the last site launched when the IDE was shutdown.

      In this case you can click okay and proceed to choose one of the sites that still exists.

      Russ Ross
      RussRoss318@gmail.com

Viewing 5 reply threads
  • The forum ‘Cloverleaf’ is closed to new topics and replies.

Forum Statistics

Registered Users
5,116
Forums
28
Topics
9,292
Replies
34,432
Topic Tags
286
Empty Topic Tags
10