Public bug reported:

Binary package hint: apcupsd

I use apcupsd to monitor the status of the attached UPS on my machine.
It uses a standard USB cable. Before upgrading to Lucid Lynx, everything
worked fine. Now, when using apcaccess to poll the state of the AC
supply, around 10% of the time I will receive the message:

Error reading status from apcupsd @ localhost:3551: Connection timed out

Running the command again connects without issue, and the PID isn't
changing. stracing the daemon shows it's not mysteriously quitting and
respawning, it's still running when the connection is timing out.

lsb_release -a:
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 10.04 LTS
Release:        10.04
Codename:       lucid

apt-cache policy apcupsd:
  Installed: 3.14.6-3ubuntu1
  Candidate: 3.14.6-3ubuntu1
  Version table:
 *** 3.14.6-3ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

lsusb:
Bus 003 Device 002: ID 051d:0002 American Power Conversion Uninterruptible 
Power Supply

Steps to reproduce:
for i in seq 1 100; do
apcaccess >/dev/null
done

Expected result:
Command should always return current UPS status while apcupsd is running.

Actual result:
10% of the time, a time-out message is returned instead of the expected status 
message.

Attaching apcupsd.conf. Any other information available upon request.

Thanks!

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: apcupsd 3.14.6-3ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Tue May  4 18:42:57 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: apcupsd

** Affects: apcupsd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apcupsd apport-bug lucid

-- 
apcaccess fails with connection timed out
https://bugs.launchpad.net/bugs/575448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to