Error Contacting Apcupsd Connection Refused
Contents |
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to apcupsd fatal error in linux-usb.c at line 609 any questions you might have Meta Discuss the workings and cannot init usb hid report. err=bad file descriptor policies of this site About Us Learn more about Stack Overflow the company Business Learn more
Please Check Your Configuration Isconfigured In /etc/default/apcupsd
about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for
Apcupsd Status
Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Error contacting apcupsd @127.0.0.1 up vote 0 down vote favorite I've browsed numerous forums, but couldn't find apcupsd-cgi the answer for setting up my UPS (EC350G). Here is my configuration: Ubuntu 16.04 LTS APCUPSD 3.14.12 /etc/apcupsd/apcupsd.conf: UPSCABLE usb, USBTYPE usb, DEVICE, NETSERVER OFF ps -ef | grep apcupsd => root 2578 1 0 17:58 ? 00:00:00 /sbin/apcupsd sudo service apcupsd status apcupsd.service - LSB: Starts apcupsd daemon Loaded: loaded (/etc/init.d/apcupsd; bad; vendor preset: enabled) Active: active (running) since Mon 2016-05-02 17:58:06 CDT; 4min 34s ago Docs: man:systemd-sysv-generator(8) Process: 2553 ExecStop=/etc/init.d/apcupsd stop (code=exited, status=0/SUCCESS) Process: 2573 ExecStart=/etc/init.d/apcupsd start (code=exited, status=0/SUCCESS) Tasks: 2 (limit: 512) CGroup: /system.slice/apcupsd.service └─2578 /sbin/apcupsd} And finally: sudo apcaccess status Error contacting apcupsd @ 127.0.0.1:3551: Connection refused ups share|improve this question asked May 2 at 23:11 Breiz 1112 Have you tried NETSERVER on? Other than that, my config file looks similar to yours. (for the entries you list- there are many others) It's working for me. –Organic Marble May 2 at 23:22 1 @Organic Marble, it did it! I had
Member Registered: 2008-09-20 Posts: 114 [Solved] APC UPS - systemd daemon not active Hi there. Today I switch entirely to
Apcupsd Ubuntu
systemd and I love it so far, it's simple robust and apcupsd gui efficient!However I found one problem when running $ systemctl --failedUNIT LOAD ACTIVE SUB JOB DESCRIPTION apcupsd.service apctest loaded failed 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. http://askubuntu.com/questions/766626/error-contacting-apcupsd-127-0-0-1 SUB = The 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 https://bbs.archlinux.org/viewtopic.php?id=152534 Monitor Loaded: loaded (/usr/lib/systemd/system/apcupsd.service; enabled) 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
configure "UPS Lyonn ULT-2000VT" with apcupsd in SLES11SP3, is connected via USB, below is the apcupsd.conf apcaccess to run shows error: "Error Contacting apcupsd @ localhost: 3551: Connection refused", This error is because when the service starts https://forums.suse.com/archive/index.php/t-5062.html /usr/sbin/apcupsd stops after 3 seconds, indicating errors that did not find the device. http://www.apcupsd.com look into the cases of failure, change udev rules thinking it may be because you do not show the /dev/usb/hiddev, but after editing files without understanding and not make it work .. .'m here to ask :) I have to configure some of the udev usb to work? or simply SES11 no driver for Lyonn? Below I leave errors: error contacting # cat /var/log/apcupsd.events Thu Jul 17 12:12:21 ART 2014 apcupsd FATAL ERROR in linux-usb.c at line 609 Cannot find UPS device -- For a link to detailed USB trouble shooting information, please see