- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- UPS communication problem.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2002 02:14 AM
08-14-2002 02:14 AM
UPS communication problem.
Aug 14 11:06:16 host /usr/lbin/ups_mond[22940]: /usr/lbin/ups_mond: UPS Monitor daemon starting; using configuration file /etc/ups_conf
Aug 14 11:06:19 host /usr/lbin/ups_mond[22940]: /usr/lbin/ups_mond: UPS /dev/tty0p1 read failed: File exists; Uninterruptable Power Supply has not been connected correctly; loss of power would not be detectible
Aug 14 11:06:25 host /usr/lbin/ups_mond[22940]: /usr/lbin/ups_mond: UPS /dev/tty0p1 read of status failed: File exists
Does anybody have any bright ideas ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2002 02:23 AM
08-14-2002 02:23 AM
Re: UPS communication problem.
Check the permission of /dev/tty0p1 should be.
# ll /dev/tty0p1
crw--w--w- 1 bin bin 193 0x000100 Jul 7 1999 /dev/tty0p1
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2002 02:28 AM
08-14-2002 02:28 AM
Re: UPS communication problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2002 02:42 AM
08-14-2002 02:42 AM
Re: UPS communication problem.
are You sure that You connect your cable to tty0p1 not to tty1p1.
Check permition for /dev/null
should be:
crw-rw-rw- 1 bin bin 3 0x000002 Aug 14 12:43 /dev/null
regards Seba
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2002 02:45 AM
08-14-2002 02:45 AM
Re: UPS communication problem.
This cable with PARTNO:5061-2575 should be used to connect the port and UPS.
9 pin 9 pin
male female
UPS RS232
------ ------
1 RX <-------------- 3 TX
2 TX --------------> 2 RX
9 GND --------------- 5 GND
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2002 02:53 AM
08-14-2002 02:53 AM
Re: UPS communication problem.
you could try the following thread:
http://europe.support.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000059417132
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2002 02:59 AM
08-14-2002 02:59 AM
Re: UPS communication problem.
-recreate with insf if needed.Also check that
you doesn't have UPS Manager II (ps -ef |grep ptupsd)
Anyway,nice to check UPS if responding at all
with kermit:
------------------------------------------
Determine the UPS tty device file
If ups_mond is configured through SAM:
Check the file /etc/ups_conf for the upstty entry:
# cat /etc/ups_conf
shutdown_delay_mins:1
shutdown_timeout_mins:5
upstty:/dev/tty0p1
Stop the current ups daemon
If ups_mond is configured through SAM:
Comment out the ups_mond entry in /etc/inittab.
Type init q.
Check if ups_mond is still running, and kill the daemon if necessary:
# ps -ef | grep ups_mond
Note: It is important to stop the ups daemon first. Otherwise the kermit
test can result in a system shutdown.
Note : Either ups_mond or UPS Manager II can be configured, never both
at the same time. These are two different types of software serving
the same purpose - monitoring the UPS. The daemons started by each
software conflict with one another.
Run kermit
Replace the example device file /dev/tty0p1 with your UPS device file if
different.
# kermit
Executing /usr/share/lib/kermit/ckermit.ini for UNIX...
Good Afternoon!
C-Kermit 6.0.192, 6 Sep 96, for HP-UX 10.00
Copyright (C) 1985, 1996,
Trustees of Columbia University in the City of New York.
Default file-transfer mode is TEXT
Type ? or HELP for help.
[/] C-Kermit>set line /dev/tty0p1
[/] C-Kermit>set speed 1200
/dev/tty2p0, 1200 bps
[/] C-Kermit>set flow xon/xoff
[/] C-Kermit>connect
Connecting to /dev/tty0p1, speed 1200.
The escape character is Ctrl-\ (ASCII 28, FS)
Type the escape character followed by C to get back,
or followed by ? to see other options.
-> press Enter
??
Note: The question marks indicate that the UPS is reponding. If you do
not see the question marks, try logging out of kermit and
connecting at a different baud rate (for example 2400, 9600).
To query the UPS enter any of the following characters:
B ---> Battery voltage (VDC)
C ---> UPS internal temperature (degree Celsius)
F ---> UPS operating frequency (50 or 60 Hz)
L ---> Input AC voltage (VAC)
O ---> Output AC voltage (VAC)
P ---> Load Power (% of UPS rated load)
R ---> Reserve power (runtime remaining with existing load in minutes)
U ---> UPS battery mode (puts UPS into battery mode for a few
seconds and calculates current runtime remaining)
Note: Not all values may be supported by the UPS hardware.
Exit out of kermit
Type CTRL-\ followed by c.
(Back at )
[/] C-Kermit>quit
Restart the ups daemon
If ups_mond is configured through SAM:
Uncomment the ups entry in /etc/inittab.
Type init q.
Check if ups_mond was restarted:
# ps -ef | grep ups_mond
-------------------------------------------
good luck