4 Replies Latest reply on May 26, 2009 12:38 AM by redsnapper76

    ESXi to shutdown using an APC SmartUPS

    redsnapper76 Novice

       

      Hello,

       

       

       

       

       

      I have a smartups 3000 with a network managment card and a vmware Esxi 3.5. I have configured the procedure with the vima but no success.

       

       

      The services are starting but I still get an error when I do apctest

       

       

       

       

       

      <![endif]><![if gte mso 9]>

      <!--

      /* Font Definitions */

      @font-face

      {font-family:"Cambria Math";

      panose-1:2 4 5 3 5 4 6 3 2 4;

      mso-font-charset:1;

      mso-generic-font-family:roman;

      mso-font-format:other;

      mso-font-pitch:variable;

      mso-font-signature:0 0 0 0 0 0;}

      @font-face

      {font-family:Calibri;

      panose-1:2 15 5 2 2 2 4 3 2 4;

      mso-font-charset:0;

      mso-generic-font-family:swiss;

      mso-font-pitch:variable;

      mso-font-signature:-1610611985 1073750139 0 0 159 0;}

      /* Style Definitions */

      p.MsoNormal, li.MsoNormal, div.MsoNormal

      {mso-style-unhide:no;

      mso-style-qformat:yes;

      mso-style-parent:"";

      margin-top:0cm;

      margin-right:0cm;

      margin-bottom:10.0pt;

      margin-left:0cm;

      line-height:115%;

      mso-pagination:widow-orphan;

      font-size:11.0pt;

      font-family:"Calibri","sans-serif";

      mso-ascii-font-family:Calibri;

      mso-ascii-theme-font:minor-latin;

      mso-fareast-font-family:Calibri;

      mso-fareast-theme-font:minor-latin;

      mso-hansi-font-family:Calibri;

      mso-hansi-theme-font:minor-latin;

      mso-bidi-font-family:"Times New Roman";

      mso-bidi-theme-font:minor-bidi;}

      .MsoChpDefault

      {mso-style-type:export-only;

      mso-default-props:yes;

      mso-ascii-font-family:Calibri;

      mso-ascii-theme-font:minor-latin;

      mso-fareast-font-family:Calibri;

      mso-fareast-theme-font:minor-latin;

      mso-hansi-font-family:Calibri;

      mso-hansi-theme-font:minor-latin;

      mso-bidi-font-family:"Times New Roman";

      mso-bidi-theme-font:minor-bidi;}

      .MsoPapDefault

      {mso-style-type:export-only;

      margin-bottom:10.0pt;

      line-height:115%;}

      @page Section1

       

      div.Section1

       

      -->

       

      2009-05-25 20:15:33 apctest 3.14.5 (10 January 2009) redhat

       

       

      Checking configuration ...

       

       

      Attached to driver: pcnet

       

       

      sharenet.type = DISABLE

       

       

      cable.type = APC_NET

       

       

       

       

       

      You are using a SMART cable type, so I'm entering SMART test

      mode

       

       

      Unknown mode.type: 15

       

       

      Setting up the port ...

       

       

      apctest FATAL ERROR in pcnet.c at line 650

       

       

       

       

      Cannot bind socket (98)

       

       

       

      This is my config file

       

       

        1. apcupsd.conf v1.1 ##

      UPSCABLE ether

      UPSTYPE pcnet

      DEVICE 192.168.3.197:apc:Apc1234

          LOCKFILE /var/lock

          UPSCLASS standalone

          #UPSCLASS netmaster

          UPSMODE disable

          #UPSMODE sharenet

       

       

       

       

       

       

       

       

       

      <![endif]><![if gte mso 9]>

      <!--

      /* Font Definitions */

      @font-face

      {font-family:"Cambria Math";

      panose-1:2 4 5 3 5 4 6 3 2 4;

      mso-font-charset:1;

      mso-generic-font-family:roman;

      mso-font-format:other;

      mso-font-pitch:variable;

      mso-font-signature:0 0 0 0 0 0;}

      @font-face

      {font-family:Calibri;

      panose-1:2 15 5 2 2 2 4 3 2 4;

      mso-font-charset:0;

      mso-generic-font-family:swiss;

      mso-font-pitch:variable;

      mso-font-signature:-1610611985 1073750139 0 0 159 0;}

      /* Style Definitions */

      p.MsoNormal, li.MsoNormal, div.MsoNormal

      {mso-style-unhide:no;

      mso-style-qformat:yes;

      mso-style-parent:"";

      margin-top:0cm;

      margin-right:0cm;

      margin-bottom:10.0pt;

      margin-left:0cm;

      line-height:115%;

      mso-pagination:widow-orphan;

      font-size:11.0pt;

      font-family:"Calibri","sans-serif";

      mso-ascii-font-family:Calibri;

      mso-ascii-theme-font:minor-latin;

      mso-fareast-font-family:Calibri;

      mso-fareast-theme-font:minor-latin;

      mso-hansi-font-family:Calibri;

      mso-hansi-theme-font:minor-latin;

      mso-bidi-font-family:"Times New Roman";

      mso-bidi-theme-font:minor-bidi;}

      .MsoChpDefault

      {mso-style-type:export-only;

      mso-default-props:yes;

      mso-ascii-font-family:Calibri;

      mso-ascii-theme-font:minor-latin;

      mso-fareast-font-family:Calibri;

      mso-fareast-theme-font:minor-latin;

      mso-hansi-font-family:Calibri;

      mso-hansi-theme-font:minor-latin;

      mso-bidi-font-family:"Times New Roman";

      mso-bidi-theme-font:minor-bidi;}

      .MsoPapDefault

      {mso-style-type:export-only;

      margin-bottom:10.0pt;

      line-height:115%;}

      @page Section1

       

      div.Section1

       

      -->

       

      apcupsd (pid 3356) is running...

       

       

      APC      :

      001,019,0481

       

       

      DATE     : Mon May 25

      20:11:02 CEST 2009

       

       

      HOSTNAME : vima

       

       

      RELEASE  : 3.14.5

       

       

      VERSION  : 3.14.5 (10

      January 2009) redhat

       

       

      UPSNAME  : vima

       

       

      CABLE    : Ethernet

      Link

       

       

      MODEL    : PCNET UPS

      Driver

       

       

      UPSMODE  : Stand Alone

       

       

      STARTTIME: Mon May 25 20:10:01 CEST 2009

       

       

      STATUS   : COMMLOST

       

       

      MBATTCHG : 10 Percent

       

       

      MINTIMEL : 5 Minutes

       

       

      MAXTIME  : 0 Seconds

       

       

      NUMXFERS : 0

       

       

      TONBATT  : 0 seconds

       

       

      CUMONBATT: 0 seconds

       

       

      XOFFBATT : N/A

       

       

      STATFLAG : 0x07000100 Status Flag

       

       

      END APC  : Mon May 25

      20:29:02 CEST 2009

       

       

       

       

       

       

       

      What could be wrong here?

       

       

       

       

       

      ps: the iptables are shut