Apcupsd Fatal Error
Contents |
Member Registered: 2008-09-20 Posts: 114 [Solved] APC UPS - systemd daemon not active Hi there. Today I switch entirely to systemd and apcupsd users I love it so far, it's simple robust and efficient!However I apcupsd fatal error in smartsetup c at line 172 found one problem when running $ systemctl --failedUNIT LOAD ACTIVE SUB JOB DESCRIPTION apcupsd.service loaded failed cannot init usb hid report. err=bad file descriptor failed APC UPS Monitor LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The apcupsd fatal error in linux-usb.c at line 609 low-level unit activation state, values depend on unit type. JOB = Pending job for the unit. 1 loaded units listed. Pass --all to see loaded but inactive units, too. To show all installed unit files use 'systemctl list-unit-files'.So I ran sudo systemctl status apcupsd.status for more detailed output:apcupsd.service - APC UPS Monitor Loaded: loaded (/usr/lib/systemd/system/apcupsd.service; enabled)
Please Check Your Configuration Isconfigured In /etc/default/apcupsd
Active: failed (Result: exit-code) since Thu, 2012-11-08 20:49:19 CET; 1h 3min ago Main PID: 275 (code=exited, status=1/FAILURE) CGroup: name=systemd:/system/apcupsd.service Nov 08 20:49:19 traktor apcupsd[275]: apcupsd FATAL ERROR in linux-usb.c at line 609 Nov 08 20:49:19 traktor apcupsd[275]: Cannot find UPS device -- Nov 08 20:49:19 traktor apcupsd[275]: For a link to detailed USB trouble shooting information, Nov 08 20:49:19 traktor apcupsd[275]: please see
clean. Screenshot instructions: Windows Mac Red Hat Linux Ubuntu Click URL instructions: Right-click on ad, choose "Copy Link", then paste here → (This may not be possible with some types of ads) More information about our ad policies
Apctest Fatal Error In Linux-usb.c At Line 588
X You seem to have CSS turned off. Please don't fill out this field. apcupsd status You seem to have CSS turned off. Please don't fill out this field. Briefly describe the problem (required): Upload screenshot of ad apcupsd-cgi (required): Select a file, or drag & drop file here. ✔ ✘ Please provide the ad click URL, if possible: Home Browse Apcupsd UPS control software Mailing Lists Apcupsd UPS control software Brought to you by: https://bbs.archlinux.org/viewtopic.php?id=152534 adk0212 Summary Files Reviews Support News Mailing Lists Wiki SVN CVS (deprecated) apcupsd-announce apcupsd-commits apcupsd-users Re: [Apcupsd-users] APC BR1500G-IN : FATAL ERROR in linux-usb.c at line 609 Re: [Apcupsd-users] APC BR1500G-IN : FATAL ERROR in linux-usb.c at line 609 From: upscope
threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ apcupsd stops immediately Hi, I http://apcupsd-ups-control-software.10985.n7.nabble.com/apcupsd-stops-immediately-td7916.html use APC Smart-UPS 500 for Ubuntu linux(Ubuntu 12.04.2 Server).After connected UPS and linux server using attached cable of UPS andstarts apcupsd, apcupsd stopped with following messages. Apr 9 11:53:23 takamatu-caisv2 apcupsd[4008]: apcupsd FATAL ERROR in smartsetup.c at line 172#012PANIC! Cannot communicate with UPS via serial port.#012Please make sure the port specified fatal error on the DEVICE directive is correct,#012and that your cable specification on the UPSCABLE directive is correct. Apr 9 11:53:23 takamatu-caisv2 apcupsd[4008]: apcupsd error shutdown completed(var/log/syslog)Apctest caused same messages.root@takamatu-caisv:/var/log# apctest2013-04-09 11:54:31 apctest 3.14.10 (13 September 2011) debian Checking configuration ...Attached to driver: apcsmartsharenet.type = Network & ShareUPS Disabledcable.type = Custom Cable Smartmode.type apcupsd fatal error = APC Smart UPS (any)Setting up the port ...apctest FATAL ERROR in smartsetup.c at line 172 PANIC! Cannot communicate with UPS via serial port.Please make sure the port specified on the DEVICE directive is correct,and that your cable specification on the UPSCABLE directive is correct.apctest error termination completed root@takamatu-caisv:/var/log# root@takamatu-caisv:/var/log# dmesg | grep tty[ 0.000000] console [tty0] enabled[ 0.932344] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A[ 1.027828] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A [ 1.059844] serial8250: ttyS2 at I/O 0x3e8 (irq = 4) is a 16550A[ 1.147875] 00:0c: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A[ 1.168424] 00:0d: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A[ 1.189028] 00:0f: ttyS2 at I/O 0x3e8 (irq = 10) is a 16550A root@takamatu-caisv:/var/log# I've changed DEVICE parameter of /etc/apcupsd/apcupsd.conf to/dev/ttyS1 or /dev/ttyS2, but got same results.What should I do for working apcupsd? -------------------------------------------