Error contacting apcupsd @ localhost:3551: Connection timed out
cat /var/log/apcupsd.events
2012-10-27 23:07:19 +0200 apcupsd exiting, signal 15
2012-10-27 23:07:19 +0200 apcupsd shutdown succeeded
2012-10-27 23:07:53 +0200 apcupsd 3.14.8 (16 January 2010) debian startup succeeded
apcaccess
Error contacting apcupsd @ localhost:3551: Connection timed out
apcupsd.conf:
http://pastebin.com/tENZFAjK
/var/log/messages
cause unknown side effects.)
Oct 27 23:07:52 server kernel: [ 2.379477] amd64_edac: probe of 0000:00:18.2 fa iled with error -22
Oct 27 23:07:52 server kernel: [ 2.382399] usblp1: USB Bidirectional printer de v 2 if 0 alt 0 proto 2 vid 0x0686 pid 0x300B
Oct 27 23:07:52 server kernel: [ 2.382424] usbcore: registered new interface dr iver usblp
Oct 27 23:07:52 server kernel: [ 2.408856] [drm] Initialized drm 1.1.0 20060810
Oct 27 23:07:52 server kernel: [ 2.520041] [drm] radeon defaulting to userspace modesetting.
Oct 27 23:07:52 server kernel: [ 2.520777] pci 0000:01:05.0: PCI INT A -> GSI 1 8 (level, low) -> IRQ 18
Oct 27 23:07:52 server kernel: [ 2.521061] [drm] Initialized radeon 1.32.0 2008 0528 for 0000:01:05.0 on minor 0
Oct 27 23:07:52 server kernel: [ 2.522469] HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Oct 27 23:07:52 server kernel: [ 2.609844] input: HDA Digital PCBeep as /device s/pci0000:00/0000:00:14.2/input/input5
Oct 27 23:07:52 server kernel: [ 2.910294] Adding 2395128k swap on /dev/sdb7. Priority:-1 extents:1 across:2395128k SS
Oct 27 23:07:52 server kernel: [ 3.003114] EXT3 FS on sdb1, internal journal
Oct 27 23:07:52 server kernel: [ 3.030487] loop: module loaded
Oct 27 23:07:52 server kernel: [ 3.668459] kjournald starting. Commit interval 5 seconds
Oct 27 23:07:52 server kernel: [ 3.668593] EXT3 FS on sdb9, internal journal
Oct 27 23:07:52 server kernel: [ 3.668601] EXT3-fs: mounted filesystem with ord ered data mode.
Oct 27 23:07:52 server kernel: [ 3.687800] kjournald starting. Commit interval 5 seconds
Oct 27 23:07:52 server kernel: [ 3.687942] EXT3 FS on sdb8, internal journal
Oct 27 23:07:52 server kernel: [ 3.687949] EXT3-fs: mounted filesystem with ord ered data mode.
Oct 27 23:07:52 server kernel: [ 3.704583] kjournald starting. Commit interval 5 seconds
Oct 27 23:07:52 server kernel: [ 3.704733] EXT3 FS on sdb5, internal journal
Oct 27 23:07:52 server kernel: [ 3.704740] EXT3-fs: mounted filesystem with ord ered data mode.
Oct 27 23:07:52 server kernel: [ 3.717013] kjournald starting. Commit interval 5 seconds
Oct 27 23:07:52 server kernel: [ 3.717162] EXT3 FS on sdb6, internal journal
Oct 27 23:07:52 server kernel: [ 3.717169] EXT3-fs: mounted filesystem with ord ered data mode.
Oct 27 23:07:52 server kernel: [ 3.732803] kjournald starting. Commit interval 5 seconds
Oct 27 23:07:52 server kernel: [ 3.733360] EXT3 FS on sda1, internal journal
Oct 27 23:07:52 server kernel: [ 3.733367] EXT3-fs: mounted filesystem with ord ered data mode.
Oct 27 23:07:52 server kernel: [ 4.453136] r8169 0000:02:00.0: eth0: link down
Oct 27 23:07:52 server kernel: [ 4.453144] r8169 0000:02:00.0: eth0: link down
Oct 27 23:07:52 server kernel: [ 4.454496] ADDRCONF(NETDEV_UP): eth0: link is n ot ready
Oct 27 23:07:52 server kernel: [ 5.085963] lp: driver loaded but no devices fou nd
Oct 27 23:07:52 server kernel: [ 5.092919] ppdev: user-space parallel port driv er
Oct 27 23:07:55 server kernel: [ 7.525427] r8169 0000:02:00.0: eth0: link up
Oct 27 23:07:55 server kernel: [ 7.526775] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
/var/log/messages
http://pastebin.com/jz910CXS
lsusb
? Mal by si tam mat riadok v style:root@server:/etc/apcupsd# lsusb
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 0686:300b Minolta Co., Ltd PagePro 1350W
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
netstat -tunlp
, tak tam mas riadok v zmysle: Ak nie, tak je to horsie. Ak ano, tak to bude len dobabrany firewall.tcp 0 0 127.0.1.1:3551 0.0.0.0:* LISTEN 3202/apcupsd
takze snad len ten firewall.. ako dalej?
iptables -vnL
. Moze to byt dlhsie, takze kludne niekam na pastebin znova.root@server:~# iptables -vnL
Chain INPUT (policy ACCEPT 59 packets, 4819 bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 46 packets, 5348 bytes)
pkts bytes target prot opt in out source destination
telnet localhost 3551
a napises trebars "bla"? Malo by to cele dopadnut nejako takto, bez nejakych zbytocnych delayov:root@server:~# telnet localhost 3551
Trying 127.0.1.1...
Connected to localhost.
Escape character is '^]'.
ug
Connection closed by foreign host.
heh,pekne nazvana masina "celozrnnamuka" je vazne cool nazov :-))
popravde neviem o nicom,nic speci som nenahadzoval,standartna instalacia debianu...