Operating System - HP-UX
1826347 Members
3955 Online
109692 Solutions
New Discussion

Install Powerchute for HPUX

 
Terence_10
New Member

Install Powerchute for HPUX

Hi,

We have a problem in installing powerchute software for HP-UX.
Attached is the error log we have.

Fyi, the HP workstation we used is C3600, with serial port 1 and 2.

Below is the action I've confirmed:
1. I have both devices files as listed below:
crw-rw-rw- 1 bin bin 1 0x000000 Sep 4 2002
/dev/tty0p0
crw-rw-rw- 1 bin bin 1 0x010000 Jun 3 2002
/dev/tty1p0

/dev/tty0p0 is used by the tester, so I cannot try on it.

2. Execute ttycheck and here is the output:
[22] % ./ttycheck /dev/tty0p0
[23] % ./ttycheck /dev/tty1p0
unable to open device : No such device or address

My question is how do I add /dev/tty1p0 to this system. Please help.

Thank you in advance for your support.

Best regards,
Terence


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


cd /CDROM/HP10/
./INSTALL

-----------------------------------------------------------------------
PowerChute Plus for Unix v4.2.3 Installation Script
Copyright American Power Conversion 1995-1997
-----------------------------------------------------------------------
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/HP10]
Would you like to see an overview of the Installation? [y/n,q] y
---------------------------------------------------------------------------
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

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

1) Matrix-UPS
2) Smart-UPS
3) Back-UPS

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

1) Solaris 2.X for Sparc
2) SunOS 4.X (Solaris 1.X) for Sparc
3) Solaris 2.X for Intel
4) AIX for IBM RS6000
5) HPUX 9.X/10.X (700/800 series)
6) SCO Unix
7) NCR (AT&T UNIX)
8) SGI Irix
9) UnixWare
10) Olivetti Unix Sys V Rel.4.0
11) Siemens Unix (RISC)
12) Unisys Unix Sys V Rel.4.0
13) DEC OSF/1

On which Operating System are you installing? [?] 5
----------------------------------------------------------------------------
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] y
----------------------------------------------------------------------------
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]? 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
ensure that PowerChute Plus for Unix has control of the serial port, make
sure that it is not enabled for logins. To disable the port for logins
consult the PowerChute Plus for Unix manual.
----------------------------------------------------------------------------


1) /dev/tty0p0
2) /dev/tty1p0
3) Other

Which serial device will be dedicated to PowerChute Plus for Unix [?] 2
----------------------------------------------------------------------------
You should have the black cable, #940-0024C attached to /dev/tty1p0
Please verify.
----------------------------------------------------------------------------

----------------------------------------------------------------------------
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]

----------------------------------------------------------------------------
PRODUCT : PowerChute Plus for Unix
INSTALL USER INTERFACE : TRUE
INSTALL DAEMON : TRUE
OPERATING SYSTEM : HPUX 10.X (700/800)
INSTALL PATH : /usr/lib/powerchute
PATH TO MOUNTED CD ROM : /CDROM/HP10
DEDICATED TTY : /dev/tty1p0
UPS TYPE : Smart-UPS
Measure-UPS INSTALLED : TRUE
PREVIOUS VERSION FOUND : FALSE
INSTALLING AS ROOT : TRUE
TCP/IP Installed : TRUE
----------------------------------------------------------------------------

Are the above selections correct? [y/n,q] y
Installing PowerChute Plus for Unix from /CDROM/HP10...
Extracting files.....
x Remove.sh, 8045 bytes, 16 tape blocks
x what_os.sh, 3843 bytes, 8 tape blocks
x pcshut.sh, 2169 bytes, 5 tape blocks
x wall.sh, 1251 bytes, 3 tape blocks
x dialpager.sh, 864 bytes, 2 tape blocks
x powerchute.ini, 7005 bytes, 14 tape blocks
x S98upsd, 860 bytes, 2 tape blocks
x killpc.sh, 561 bytes, 2 tape blocks
x killbk.sh, 1072 bytes, 3 tape blocks
x addpage.sh, 648 bytes, 2 tape blocks
x LotusSetup.sh, 2430 bytes, 5 tape blocks
x notifier.sh, 666 bytes, 2 tape blocks
x mailer.sh, 530 bytes, 2 tape blocks
x README, 51 bytes, 1 tape blocks
x machine_id, 147894 bytes, 289 tape blocks
x ttycheck, 135561 bytes, 265 tape blocks
x upswrite, 147908 bytes, 289 tape blocks
x portcheck, 135605 bytes, 265 tape blocks
x LotusNotes, 147891 bytes, 289 tape blocks
x ups_adjust, 147890 bytes, 289 tape blocks
x hp_reboot, 127354 bytes, 249 tape blocks
x _xpwrchute, 3343163 bytes, 6530 tape blocks
x pwrchute.uid, 331776 bytes, 648 tape blocks
x _cpwrchute, 1533222 bytes, 2995 tape blocks
x pwrchute.hlp, 82618 bytes, 162 tape blocks
x c_pchute.hlp, 82618 bytes, 162 tape blocks
x c_pchute.frl, 17344 bytes, 34 tape blocks
x pwrchute.ad, 122 bytes, 1 tape blocks
x xpowerchute, 2933 bytes, 6 tape blocks
x powerchute, 500 bytes, 1 tape blocks
x _upsd, 1242838 bytes, 2428 tape blocks
x upsoff, 131446 bytes, 257 tape blocks
x bkupsd, 205496 bytes, 402 tape blocks
x upsd, 2237 bytes, 5 tape blocks

Checking for presence of binary files...
Done

Checking for presence of scripts...
Done

Checking for binary compatibility...
binary compatibility VERIFIED

unable to open device : No such device or address
----------------------------------------------------------------------------
WARNING: /dev/tty1p0 does not appear to be a valid tty
----------------------------------------------------------------------------
make backup copy of startup files...
modifying startup files...
making backup copy of shutdown files...
modifying shutdown files....
modifying /etc/apc_repository
Modifying powerchute.ini file

----------------------------------------------------------------------------
PowerChute Plus for Unix Installation complete. You will need to reboot
in order to start the application
----------------------------------------------------------------------------
NOTE: For every machine on which you run the UPS monitoring daemon,
you MUST create a "pwrchute" user account. Otherwise, the User Interface
will show you a list of machines which are running the UPS monitoring daemon
but you will be unable to monitor or configure them.
----------------------------------------------------------------------------
WARNING: Serial communications never verified, the installed product may
not work properly. You may want to try the following:

1) Check that specified serial device exists.
2) Check the device configuration is appropriate for your UPS type
3) Rebuild or create the serial device using the utility appropriate
for your system.

----------------------------------------------------------------------------
3 REPLIES 3
Kurt Beyers.
Honored Contributor

Re: Install Powerchute for HPUX

Terence,

your device file isn't correct. The following document tells you ow it should be created:

http://tinyurl.com/3bbjm
best regards

Kurt
Kurt Beyers.
Honored Contributor

Re: Install Powerchute for HPUX

ok, here is a copy/paste:

1 ) Start the utility SAM.

2 ) Once SAM is started, select Peripheral Devices.

3 ) Select Terminals and Modems.

The screen will now display a box that displays all of the currently configured
ttys on the system. It is possible that the box may be empty. The box is divided into four columns. The first column explains the actual name of the port (i.e. /dev/tty0p1). The second column explains the type of port and the third column explains the port number and/or the Hardware path. Finally, the last column includes the Lock Status. The only two items PowerChute cares
about are the Name (Devicefilename) and the Type. The user simply needs to choose the correct port listed (this depends on the type of UPS model).

4 ) Smart-UPS, Matrix-UPS, Advanced port of Share-UPS, SmartSlot Expansion Chassis port, or pass-through port of PowerNet SNMP
Adapter only:

The user must use a Devicefilename associated with Type Terminal. If there is
not type = Terminal, the user simply needs to go to the Actions pull down menu and select create Terminal.

5 ) Back-UPS, Back-UPS Pro, Network PowerCell, Basic port of Share-UPS, or
SmartSlot Interface Expander port only:

The user must use a Devicefilename associated with Type Modem. If there is not type = Modem, the user simply needs to go to the Actions pull- down menu and select create Modem.

6 ) When selecting an item from the Actions pull down menu, simply follow the instructions that follow. The ONLY items PowerChute relies on within the Actions menu is the type (terminal or modem) and the baud rate (2400). There are several options the user can select for UUCP, etc.; these can all be left in their default position. To summarize, the user simply needs to change the baud rate to 2400, after selecting Add Modem or Add Terminal from the Actions pull down menu.

7 ) When the system has completed the task, a Devicefilename will be generated in the box. The user simply needs to specify the appropriate devicefilename during the install; or after the install, edit the powerchute.ini file in the powerchute directory.

8 ) The last item is to edit the /etc/inittab file to insure the port is set to "off" and not "respawn".

best regards,
Kurt
Gary Cantwell
Honored Contributor

Re: Install Powerchute for HPUX

Hi Kurt,

tinyurl'd your link to clean up the thread,

Cheers,

Gary