Error Contacting Apcupsd Connection Timed Out
Contents |
« previous next » Print Pages: [1] Go Down Author Topic: APCUPSD Error contacting the apcupsd (Read 813 times) 0 Members and 2 Guests are viewing this topic. DM Newbie Posts: 2 Karma: please check your configuration isconfigured in /etc/default/apcupsd +0/-0 APCUPSD Error contacting the apcupsd « on: October 29, 2014, 04:36:14 apcupsd fatal error in linux-usb.c at line 609 pm » Hi Guys,I recently installed the "apcupsd" package and everything seemed to be ok, but when I cannot init usb hid report. err=bad file descriptor try to get the status from the Web Interface (after the initial configuration) I get this error:"Error contacting apcupsd @ localhost:3551: Operation timed out"I am using a usb cable connected apcupsd-cgi to an APC-Smart UPS.After some research i've done some troubleshooting and I can provide with the following information:1 - The daemon starts normally (/var/log/apcupsd.events):2014-10-29 20:31:37 +0000 apcupsd shutdown succeeded2014-10-29 20:31:48 +0000 apcupsd 3.14.10 (13 September 2011) freebsd startup succeeded2 - The lock file exists:-rw-r--r-- 1 root wheel 11B Oct 29 20:31 LCK..3 - The pid file exists:-rw-r--r-- 1 root wheel
Apcupsd Status
6B Oct 29 20:31 apcupsd.pid4 - The usb is recognized (dmesg | grep Power):ugen4.2:
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 any questions you might have
Apcupsd Ubuntu
Meta Discuss the workings and policies of this site About Us apctest Learn more about Stack Overflow the company Business Learn more 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 Ubuntu users and developers. Join them; it only takes https://forum.pfsense.org/index.php?topic=83510.0 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 the answer for setting up my UPS (EC350G). Here is my configuration: Ubuntu 16.04 http://askubuntu.com/questions/766626/error-contacting-apcupsd-127-0-0-1 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 tried netserver on before but it did not work. This time it did, thanks! –Breiz May 3 at 13:37 I think that ubuntu don't have openSSH serve
sorted by: [ date ] [ thread ] [ subject ] [ author ] I need a little help on this problem, please? I include my /etc/apcupsd/apcupsd.conf file https://lists.centos.org/pipermail/centos/2009-March/073948.html is attached. port 3551 udp/tcp has been added to the (running) firewall. My https://forums.suse.com/archive/index.php/t-5062.html APC is recognized as: APC Back-UPS 450 FW:844.Kld.D USB FW:Kld This from the hardware browser. PS says: root 2419 0.0 0.0 4196 584 ? Ss Mar23 0:09 /sbin/apcupsd -f /etc/apcupsd/apcupsd.conf Is group 2419 the problem? What should I name it? apcupsd? The status field of the Service Configuration GUI error contacting says: apcupsd (pid 2419) is running... Error contacting host localhost port 3551: Connection refused TIA -- Bob Taylor -------------- next part -------------- ## apcupsd.conf v1.1 ## # # for apcupsd release 3.14.3 (20 January 2008) - redhat # # "apcupsd" POSIX config file # # ========= General configuration parameters ============ # # UPSNAME xxx # Use this to give your UPS a name error contacting apcupsd in log files and such. This # is particulary useful if you have multiple UPSes. This does not # set the EEPROM. It should be 8 characters or less. #UPSNAME # UPSCABLE
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 /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: # 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