HELP on Powerchute Installation under Solaris 2.5.1

From: hamidi (hamidi_at_malaysianbiketrader.com)
Date: 05/07/05

  • Next message: kristianto.setiawan_at_sun.co.id: "SUMMARY : Ghost File ?"
    To: <sunmanagers@sunmanagers.org>
    Date: Sun, 8 May 2005 02:48:47 +0800
    
    

    Anybody knows about installation Powerchute.... Below are the progress
    installation.

    But once I try to run #./xpowerchute the Killed result appear.

    The daemon upsd is up, after I type ps ef |grep upsd

    # pwd

    /cdrom/powerchute/SOLARIS

    # ./INSTALL

    -----------------------------------------------------------------------

             PowerChute Plus for UNIX v4.5 Installation

    Script

                         for Solaris 2.X for Sparc

                 Copyright American Power Conversion 2000

    -----------------------------------------------------------------------

    If you quit this script at any time before committing your choices, the
    installation will not take place, and no modifications will be made to your
    currently installed PowerChute products.

                         1) CD-ROM

                         2) Floppy

                         3) Tape

    Select the media type from which you will install: [?]

    1

    Enter path to mounted CD ROM

    [/cdrom/powerchute/SOLARIS]

    Would you like to see an overview of the installation?

    [y/n,q] n

    ----------------------------------------------------------------------------

    The User Interface module of this product is capable of monitoring any
    system on your network running the Daemon module of PowerChute Plus for
    UNIX.

    For this reason, you may feel it is only appropriate to install the entire
    distribution on certain systems.

    ----------------------------------------------------------------------------

    NOTE: In order to perform any sort of UPS monitoring, including shutdown due
    to power failure, you must install at least the Daemon module of the
    product!

    ----------------------------------------------------------------------------

                1) User Interface Module Only

                2) Daemon Module Required for UPS Monitoring Only

                3) Both the User Interface and Daemon Modules

    Which Parts of PowerChute Plus for UNIX do you wish to install? [?] 3

                    1) Matrix-UPS

                    2) Smart-UPS

                    3) Back-UPS

                    4) PowerStack

                    5) Symmetra Power Array

                    6) Smart-UPS DP

                    7) Back-UPS Pro

    Which APC Hardware will PowerChute Plus for UNIX be running with [?] 2

    ----------------------------------------------------------------------------

    The Measure-UPS is a device which is designed to perform environmental
    monitoring in conjunction with PowerChute Plus for UNIX.

    ----------------------------------------------------------------------------

    Do you currently have a Measure-UPS attached to the UPS? [y/n,q] y

    ----------------------------------------------------------------------------

    PowerChute Plus for UNIX is able to monitor other hosts. However, in order
    to monitor other hosts, TCP/IP must be installed. If you do not have TCP/IP
    installed, answer 'n' to the following question.

    ----------------------------------------------------------------------------

    Do you currently have TCP/IP Installed? [y/n,q] n

    ----------------------------------------------------------------------------

    If you will be using the Motif version of the User Interface on a monochrome
    monitor, using the Monochrome Coloring scheme is recommended.

    ----------------------------------------------------------------------------

                1) Use Default Color scheme

                2) Use Monochrome Color scheme

    Which color scheme do you wish to use [1]?

    ----------------------------------------------------------------------------

    PowerChute Plus for UNIX requires complete control of the serial port. No
    processes, including gettys, are allowed to be accessing the port.

    Therefore, the serial port you select must NOT be enabled for logins.

    To disable the port for logins consult the PowerChute Plus for UNIX manual.

    ----------------------------------------------------------------------------

                1) /dev/ttya

                2) /dev/ttyb

                3) Other

    Which serial device will be dedicated to PowerChute Plus for UNIX [?] 1

    ----------------------------------------------------------------------------

    You should have the black cable, #940-0024C attached to /dev/ttya Please
    verify.

    ----------------------------------------------------------------------------

    pcp_unix.apc, version 4.5 is already installed in:

    /usr/lib/powerchute

    Do you wish to have this previous installation removed? [y/n,q] y

    ----------------------------------------------------------------------------

    Though it is possible to install PowerChute Plus for UNIX in a directory
    other than the provided default, it is recommended only under special
    circumstances. Please consult the documentation.

    ----------------------------------------------------------------------------

    Where do you wish to install PowerChute Plus for UNIX?

    [/usr/lib/powerchute]

    ----------------------------------------------------------------------------

    Command files may be executed with root privileges or with the privileges
    you assign to the pwrchute account (allowing you to customize command file
    execution according to your system requirements).

    ----------------------------------------------------------------------------

    Do you want to execute command files as root? [y/n,q] y

    ----------------------------------------------------------------------------

    E-mail may be sent with root privileges or with the privileges you assign to
    the pwrchute account.

    ----------------------------------------------------------------------------

    Do you want to send e-mail as root? [y/n,q] n

    ----------------------------------------------------------------------------

    Pwrchute help now comes in an HTML format.

    ----------------------------------------------------------------------------

    Would you like to install HTML help? [y/n,q] y

    Please enter your web browser executable name. This value is case sensitive
    and should not include the path.

    [netscape]

    Web browser executable could not be found. Please enter the full path to web
    browser executable. This value is case sensitive and should include both the
    web browser path and executable.

    [/usr/bin/netscape]

    ----------------------------------------------------------------------------

    PRODUCT : PowerChute Plus for UNIX

    INSTALL USER INTERFACE : TRUE

    INSTALL DAEMON : TRUE

    OPERATING SYSTEM : Solaris 2.X for Sparc

    INSTALL PATH : /usr/lib/powerchute

    PATH TO MOUNTED CD ROM : /cdrom/powerchute/SOLARIS

    DEDICATED TTY : /dev/ttya

    UPS TYPE : Smart-UPS

    Measure-UPS INSTALLED : TRUE

    PREVIOUS VERSION FOUND : TRUE

    REMOVE PREVIOUS VERSION? : TRUE

    INSTALLING AS ROOT : TRUE

    TCP/IP Installed : FALSE

    RUN COMMAND FILES AS ROOT : TRUE

    SEND EMAIL AS ROOT : FALSE

    HELP BROWSER : /usr/bin/netscape

    ----------------------------------------------------------------------------

    Are the above selections correct? [y/n,q] y Invoking remove script for
    previous product

     **************** WARNING!!! *****************

     All files and directories starting at

    /usr/lib/powerchute will be

     removed recursively. Do NOT continue execution of this script unless
    /usr/lib/powerchute is a separate directory containing only APC software
    and there are no user or other significant directories beneath
    /usr/lib/powerchute.

     Do you wish to continue removing the

    /usr/lib/powerchute directory (y/n)?

     y

    No instance of upsd detected to be running!

    Removing pcp_unix.apc from /etc/apc_repository Removing /etc/apc_repository
    Removing contents of install directory Done.

    Installing PowerChute Plus for UNIX from /cdrom/powerchute/SOLARIS...

    Extracting files.....

    x Remove.sh, 8615 bytes, 17 tape blocks

    x what_os.sh, 1866 bytes, 4 tape blocks

    x pcshut.sh, 1973 bytes, 4 tape blocks

    x wall.sh, 825 bytes, 2 tape blocks

    x dialpag----------------------------

    PowerChute Plus for UNIX Installation complete. You will need to reboot in
    order to start the application

    ----------------------------------------------------------------------------

    # Broadcast Message from root (???) on Netra Fri May

    6 14:40:36...

    Netra has lost communications with the UPS.

    # eeprom

    tpe-link-test?=true

    output-device=screen

    input-device=keyboard

    keyboard-click?=false

    keymap: data not available.

    ttyb-rts-dtr-off=false

    ttyb-ignore-cd=false

    ttya-rts-dtr-off=false

    ttya-ignore-cd=false

    ttyb-mode=9600,8,n,1,-

    ttya-mode=2400,8,n,1,-

    fcode-debug?=false

    local-mac-address?=false

    screen-#columns=80

    screen-#rows=34

    selftest-#megs=1

    scsi-initiator-id=7

    silent-mode?=false

    auto-boot?=true

    watchdog-reboot?=false

    diag-file: data not available.

    diag-device=net

    boot-file: data not available.

    boot-device=disk net

    sbus-probe-list=541230

    use-nvramrc?=false

    nvramrc: data not available.

    sunmon-compat?=false

    security-mode=none

    security-password: data not available.

    security-#badlogins=0

    diag-level=min

    oem-logo: data not available.

    oem-logo?=false

    oem-banner: data not available.

    oem-banner?=false

    hardware-revision: data not available.

    last-hardware-update: data not available.

    testarea=0

    mfg-switch?=false

    diag-switch?=false

    name=options

    # env

    DISPLAY=:0.0

    HELPPATH=/usr/openwin/lib/locale:/usr/openwin/lib/help

    HOME=/

    HZ=100

    LANG=C

    LOGNAME=root

    MAIL=/var/mail/root

    MANPATH=/usr/openwin/share/man:/usr/man

    NOSUNVIEW=0

    OPENWINHOME=/usr/openwin

    PATH=/usr/openwin/bin:/opt1/SUNWspro/bin:/usr/lib/powerchute:/opt/Apogee/bin
    :/usr/bin:/usr/sbin:/usr/ucb:/export/home/brs/Bin:/usr/ls3:/export/home/brs/
    Etc:/etc:.

    PWRCHUTE=/usr/lib/powerchute

    SHELL=/sbin/sh

    TERM=sun-cmd

    TERMCAP=sun-cmd:te=\E[>4h:ti=\E[>4l:tc=sun:

    TMPDIR=/tmp

    TZ=Singapore

    WINDOW_TERMIOS=

    XFILESEARCHPATH=/usr/openwin/lib/locale/%L/%T/%N%S:/usr/openwin/lib/%T/%N%S

    XINITRC=/usr/openwin/lib/Xinitrc

    # more powerchute.ini

    [ Ups ]

     SignallingType = smart

     PortName = /dev/ttya

     AutoUpsRebootEnabled = Yes

     AllowedPortNames = /dev/ttya,/dev/ttyb

     CableType = Normal

    [ EventLogging ]

     EventLogEnabled = Yes

     EventLogName = powerchute.log

     EventLogMaxSize = 50000

    [ DataLogging ]

     DataLogEnabled = Yes

     DataLogName = powerchute.dat

     DataLogMaxSize = 50000

     DataLogInterval = 600

    [ ErrorLogging ]

     ErrorLogEnabled = Yes

     ErrorLogName = powerchute.err

     ErrorLogMaxSize = 50000

    [ Messaging ]

     MessageDelay = 5

     MessageInterval = 30

    [ SelfTests ]

     EnableSelfTests = Yes

     SelfTestDay = MONDAY

     SelfTestSchedule = At turn on

     SelfTestTime = 12:00 PM

     LastSelfTestDay = 05/06/05

     LastSelfTestResult = Unknown

    [ Shutdown ]

     ShutdownDelay = 30

     AdminShutdownDelay = 900

     DailyShutdownEnabled = No

     DailyShutdownTime = 6:00 PM

     DailyWakeupTime = 7:00 AM

     WeeklyShutdownEnabled = No

     WeeklyShutdownDay = Friday

     WeeklyShutdownTime = 6:00 PM

     WeeklyWakeUpDay = Monday

     WeeklyWakeUpTime = 7:00 AM

    [ Server ]

     HostName =

    [ UserInterface ]

     TemperatureUnits = Fahrenheit

     SoundEffects = No

    [ BatteryCalibration ]

     Enabled = No

     BatteryCalibrationDay = Monday

     BatteryCalibrationTime = 07:00 AM

    [ Devices ]

     MeasureUps = YES

    [ EventText ]

     100000 = *** PowerChute PLUS Version 4.5 Started *** 100100 = ***
    PowerChute PLUS Stopped *** 100200 = Communication established 100300 =
    Normal power restored: UPS on line 100400 = UPS self-test passed

     100401 = Scheduled UPS self-test passed

     100402 = User initiated UPS self-test passed

     100403 = Self-test at UPS passed

     100500 = Administrative shutdown started

     100501 = Administrative shutdown: User initiated

     100502 = Administrative shutdown: Weekly shutdown

     100503 = Administrative shutdown: Daily shutdown 100600 = Shutdown
    cancelled

     100601 = User initiated shutdown cancelled

     100602 = Weekly administrative shutdown cancelled

     100603 = Daily administrative shutdown cancelled 100700 = UPS returned
    from low battery condition

     100701 = UPS returned from low battery condition:

    #BATTERY_CAPACITY#%

     100900 = UPS batteries no longer need replacing 101000 = Contact
    #CONTACT_NUMBER# normal

    (#NORMAL_POSITION#): #USER_COMMENT#

     101300 = UPS overload condition solved

     101400 = UPS run time calibration initiated 101500 = UPS run time
    calibration completed 101600 = Shutdown started

     101601 = User initiated shutdown started

     101602 = Weekly administrative shutdown started

     101603 = Daily administrative shutdown started 101700 = UPS returned from
    bypass 101800 = Smart Cell Signal Restored 110000 = Ambient temperature
    back within thresholds 110100 = Ambient humidity back within thresholds

     200000 = UPS on battery

     200001 = UPS on battery: High input line voltage #MAX_VOLTAGE# V

     200002 = UPS on battery: Brownout #MIN_VOLTAGE# V

     200003 = UPS on battery: Blackout #MIN_VOLTAGE# V

     200004 = UPS on battery: Small momentary sag #MIN_VOLTAGE# V

     200006 = UPS on battery: Deep momentary sag #MIN_VOLTAGE# V

     200005 = UPS on battery: Small momentary spike #MAX_VOLTAGE# V

     200007 = UPS on battery: Large momentary spike #MAX_VOLTAGE# V

     200008 = UPS on battery: Simulated power failure 200100 = System shutdown
    200200 = UPS enabling SmartBoost 200300 = Low battery condition

     200301 = Low battery condition: #BATTERY_CAPACITY#% 200400 = UPS run time
    calibration cancelled

     200401 = UPS run time calibration cancelled by user

     200402 = UPS run time calibration cancelled by power failure

     200403 = UPS unable to perform run time calibration:

    Capacity < 100%

     201301 = UPS on bypass: user set via software or panel

     201302 = UPS on bypass: user set via rear switch

     300000 = Unable to communicate with UPS 300100 = UPS output overload
    300200 = UPS self-test failed

     300201 = Scheduled UPS self-test failed: Bad battery

     300202 = Scheduled UPS self-test failed: Invalid test

     300203 = User initiated self-test failed: Bad battery

     300204 = User initiated self-test failed: Invalid test

     300205 = Self-test at UPS failed: Bad battery

     300206 = Self-test at UPS failed: Invalid test 300300 = UPS battery is
    discharged

     300301 = UPS battery is discharged:

    #BATTERY_CAPACITY#%

     300400 = Communication lost while on battery 300600 = Contact
    #CONTACT_NUMBER# fault

    (#CONTACT_POSITION#): #USER_COMMENT#

     301000 = Check installation of Smart Cell signal cable 301300 = UPS on
    bypass internal temp over limit

     301301 = UPS on bypass battery charger failure

     301302 = UPS on bypass: severe DC imbalance overload

     301303 = UPS on bypass: output voltage outside limits

     301304 = UPS on bypass: top module fan needs repair 301400 = Base module
    fan needs repair 301500 = Base module bypass power supply needs repair
    301600 = UPS battery needs replacing

     310001 = Below lower ambient temperature threshold of #LOW_THRESHOLD#

     310002 = Exceeded upper ambient temperature threshold of #HIGH_THRESHOLD#

     310101 = Below humidity threshold of #LOW_THRESHOLD#

     310102 = Exceeded upper humidity threshold of #HIGH_THRESHOLD#

    [ PopupText ]

     1003 = Normal utility power at #HOSTNAME# has been restored.

     1006 = Shutdown of #HOSTNAME# has been cancelled.

     1007 = UPS batteries at #HOSTNAME# are no longer discharged.

     1016 = Shutdown process started.

     2000 = #HOSTNAME# is running on battery power.

     2001 = #HOSTNAME# has been shutdown.

     2003 = Low battery power at #HOSTNAME#.

     3000 = #HOSTNAME# has lost communications with the UPS.

     3003 = UPS batteries at #HOSTNAME# are discharged.

    [ FlexEventNames ]

     1000 = PowerChute Started

     1001 = PowerChute Stopped

     1002 = Communication Established

     1003 = Power Restored

     1004 = UPS Self-Test Passed

     1005 = Administrative Shutdown

     1006 = Shutdown Cancelled

     1007 = UPS Return From Low Battery

     1009 = Battery No Longer Needs Replacing 1010 = Contact Normal

     1013 = UPS Overload Condition Solved

     1014 = UPS Run Time Calibration Initiated

     1015 = UPS Run Time Calibration Completed

     1016 = System Shutdown Starting

     1017 = Return From Bypass

     1018 = Smart Cell Signal Returned

     1100 = Ambient Temp In Range

     1101 = Humidity In Range

     2000 = UPS On Battery

     2001 = System Shutdown Complete

     2002 = UPS Enabling SmartBoost

     2003 = Low Battery Condition

     2004 = Cancel Battery Calibration

     2013 = UPS On Bypass: Maintenance

     3000 = Unable To Communicate With UPS

     3001 = UPS Output Overload

     3002 = UPS Self-Test Failed

     3003 = UPS Battery Is Discharged

     3004 = Comm Lost While On Battery

     3006 = Abnormal Contact Position

     3010 = Check Smart Cell Signal

     3013 = UPS On Bypass: Failure

     3014 = Base Module Fan Failure

     3015 = Base Module Power Supply Failure

     3016 = UPS Battery Needs Replacing

     3100 = Ambient Temp Out Of Range

     3101 = Humidity Out Of Range

    [ Email ]

     Password = APC

    [ LineFail ]

     NotifyDelay = 5

     NotifyInterval = 30

     NotifyRepeat = Yes

     ShutdownDelay = 300

     Actions = LUS

    [ AdminShutdown ]

     ShutdownDelay = 900

     NotifyRepeat = Yes

    [ Network ]

     UseTCP = NO

    [ Security ]

     RunCommandFilesAsRoot = YES

     SendEmailAsRoot = NO

    [ Help ]

     WebBrowser = /usr/bin/netscape

    [ Modem ]

     PortName = /dev/cua/b

     ModemAllowedPortNames = /dev/cua/a,/dev/cua/b
    Tired of spam? Yahoo! Mail has the best spam protection around HYPERLINK
    "http://mail.yahoo.com/"http://mail.yahoo.com

    --
    No virus found in this outgoing message.
    Checked by AVG Anti-Virus.
    Version: 7.0.308 / Virus Database: 266.11.6 - Release Date: 5/6/2005
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers
    

  • Next message: kristianto.setiawan_at_sun.co.id: "SUMMARY : Ghost File ?"

    Relevant Pages

    • Re: UPS backup
      ... the system will shutdown WHEN the battery reaches a critical ... The communication is fine and I can see the power load, if the UPS system is working on battery or not... ... Network UPS Tools upsmon 2.2.0- ...
      (linux.redhat)
    • Re: F6C800-UNV Belkin UPS?
      ... MODEL: UPS ... would do an immediate shutdown. ... battery is okay, or that your UPS is capable of providing enough power ... It has no load on it presently, this computer being connected to another UPS for power while connected to the unit under test only by the USB connection for testing. ...
      (Fedora)
    • Re: On UPS monitoring
      ... of battery time left. ... If it starts a shutdown in 30 seconds after pulling the plug, ... time since the power failed option. ... And if your battery gets too low in 30 seconds, your UPS is way too small. ...
      (comp.os.linux.setup)
    • Re: UPS backup
      ... in order to shutdown the server when they are ... and to say that I want to launch the shutdown, when the battery reach ... I have an APC UPS systems connected via RS232 to a computer running NUT ...
      (linux.redhat)
    • Re: UPS backup
      ... in order to shutdown the server when they are ... the system will shutdown WHEN the battery reaches a critical ... I have an APC UPS systems connected via RS232 to a computer running NUT ...
      (linux.redhat)