Sponsored Content
Full Discussion: Apcupsd crashes
Special Forums UNIX and Linux Applications Apcupsd crashes Post 302925082 by Meow613 on Thursday 13th of November 2014 10:39:18 PM
Old 11-13-2014
Apcupsd crashes

I am trying to run apcupsd, but it will not retain contact the UPS
Code:
root@meow:/home/ethan/UPS/gapcmon-0.8.9# /etc/init.d/apcupsd start 
Starting UPS power management: 
A copy of the daemon is still running.  If you just stopped it,
please wait about 5 seconds for it to shut down.
root@meow:/home/ethan/UPS/gapcmon-0.8.9# /etc/init.d/apcupsd stop
Stopping UPS power management: apcupsd.
root@meow:/home/ethan/UPS/gapcmon-0.8.9# /etc/init.d/apcupsd start 
Starting UPS power management: apcupsd.
root@meow:/home/ethan/UPS/gapcmon-0.8.9# apcaccess status
APC      : 001,017,0435
DATE     : 2014-11-13 22:26:39 -0500  
HOSTNAME : meow
VERSION  : 3.14.12 (29 March 2014) debian
CABLE    : Custom Cable Smart
DRIVER   : APC Smart UPS (any)
UPSMODE  : Stand Alone
STARTTIME: 2014-11-13 22:26:36 -0500  
STATUS   : COMMLOST 
MBATTCHG : 5 Percent
MINTIMEL : 3 Minutes
MAXTIME  : 0 Seconds
NUMXFERS : 0
TONBATT  : 0 Seconds
CUMONBATT: 0 Seconds
XOFFBATT : N/A
STATFLAG : 0x05000100
END APC  : 2014-11-13 22:26:39 -0500  
                                                                               
Broadcast Message from ethan@meow                                              
        (somewhere) at 22:27 ...                                               
                                                                               
Warning communications lost with UPS

 

9 More Discussions You Might Find Interesting

1. Linux

gethostnameby_r crashes

Hello all, I'm trying to use gethostbyname_r function with 6 arguments in one of my functions. But the call to this crashes the program. Kindly help me in resolving this... Compiler Info: Linux target: i686-hardhat-linux version: 3.3.1 The following is the piece of code I'm trying to... (1 Reply)
Discussion started by: rajans
1 Replies

2. Programming

C++ program crashes

Hi, Could anyone tell me the reason why the following program crashes? class A { int x; public: A() { cout << "from A()" << endl; } ~A() { cout << "from ~A()" << endl; } }; class B : public A { public: B() { cout << "from B()"... (2 Replies)
Discussion started by: royalibrahim
2 Replies

3. Programming

Tomcat crashes after Xvfb shutdown

Hello, I'm running tomcat on linux and using Xvfb as a X server for creating the pdf's (gui components). I'm running the Xvfb in a different proccess than the tomcat. If the Xvfb is shutdown and no pdf was yet created then everything is ok. but if i create a pdf and then shutdown the Xvfb... (0 Replies)
Discussion started by: omerc85
0 Replies

4. UNIX Desktop Questions & Answers

KDE Konsole crashes (solved)

Hello The KDE konsole crashed after I changed the font size to 64. And It crashes every time when started. How can I get it back? Thanks. ---------- Post updated at 08:23 AM ---------- Previous update was at 07:48 AM ---------- solved, I finally find the config file called consolerc. (0 Replies)
Discussion started by: vic005
0 Replies

5. SuSE

Chromium flashes and crashes

I am running openSUSE 11.2 with KDE4.5 on my eMachines e525. I just did a "zypper up" on my system and it reported that Chromium was going to be updated. I agreed and the when the update was finished I shut down Chromium and started it again. It flickered on the screen for a moment and crashed.... (6 Replies)
Discussion started by: Druonysus
6 Replies

6. Solaris

Server crashes when not in use.

Production server crashes when there is no traffic on it. Can only recover by going to ALOM and reboot the server. This seems to happen about the same time every month. The only good thing is the server is not in production at the time of the crash. I have been unable to locate any information in... (5 Replies)
Discussion started by: Joeentech
5 Replies

7. Red Hat

7z crashes system

Can someone tell my why every time I try to use 7z it freezes my system? I can't move my mouse, I can't type, I can't kill my xsession. I then restart my system and everything returns to normal. When I try to use 7z my system again freezes. (11 Replies)
Discussion started by: cokedude
11 Replies

8. Programming

C++ program crashes

Hi, Can anyone tell me why the below program is crashing? and where exactly it is crashing. What is the corrective measure to be taken to make it work fine? #include <iostream> #include <cstring> using namespace std; class CString { char* m_data; public: CString() :... (6 Replies)
Discussion started by: royalibrahim
6 Replies

9. Web Development

Apache2 Crashes

The Apache server suddenly stops. I am running Debian Jessie Here are some diagnostics: root@meow:/var/www# apachectl configtest AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress... (4 Replies)
Discussion started by: Meow613
4 Replies
APCSMART-OLD(8) 						    NUT Manual							   APCSMART-OLD(8)

NAME
apcsmart-old - Driver for American Power Conversion Smart Protocol UPS equipment SYNOPSIS
apcsmart-old -h apcsmart-old -a UPS_NAME [OPTIONS] Note This man page only documents the hardware-specific features of the apcsmart-old driver. For information about the core driver, see nutupsdrv(8). SUPPORTED HARDWARE
apcsmart-old should recognize all recent APC models that use a serial protocol at 2400 bps. This is primarily the Smart-UPS, Matrix-UPS and Back-UPS Pro lines. The driver attempts to support every bell and whistle of the APC reporting interface, whether or not this is strictly sensible. Some older hardware may only report a handful of variables. This is usually not a bug--they just don't support anything else. CABLING
This driver expects to see a 940-0024C cable or a clone by default. You can switch to the 940-0095B dual-mode cable support with the cable= definition described below. If your 940-0024C cable is broken or missing, use this diagram to build a clone: http://www.networkupstools.org/cables/940-0024C.jpg EXTRA ARGUMENTS
This driver supports the following optional settings in the ups.conf(5): cable=940-0095B Configure the serial port for the APC 940-0095B dual-mode cable. sdtype=num Use shutdown type num, according to this table: 0 soft shutdown or powerdown, depending on battery status 1 soft shutdown followed by powerdown 2 instant power off 3 power off with grace period 4 "force OB" hack method for CS 350 Modes 0 and 1 will power up the load when power returns. Modes 2 and 3 will keep the load turned off when the power returns. Mode 4 exploits an oddity in the CS 350 models since they only seem to support the S command, but then only when running on battery. As a result, the driver will force the UPS to go on battery if necessary before sending the shutdown command. This ensures that the load gets reset. BUGS
Some older APC UPS models return bogus data in the status register during a front panel test. This is usually detected and discarded, but some other unexpected values have occasionally slipped through. APC UPS models with both USB and serial ports require a power cycle when switching from USB communication to serial, and perhaps vice versa. AUTHOR
Nigel Metheringham <Nigel.Metheringham@Intechnology.co.uk> (drawing heavily on the original apcsmart driver by Russell Kroll). This driver was called newapc for a time and was renamed in the 1.5 series. In 2.6.2 the driver was renamed to apcsmart-old, being superseded by updated version with new features. SEE ALSO
The core driver: nutupsdrv(8) Internet resources: The NUT (Network UPS Tools) home page: http://www.networkupstools.org/ Network UPS Tools 05/21/2012 APCSMART-OLD(8)
All times are GMT -4. The time now is 01:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy