Hallo group, I am running openSUSE 10.3 with nut-2.2.0-20 installed. I have configured it as mentioned in /usr/share/doc/packages/nut/README.SUSE. on starting nut using "rcupsd start" i get following: # Starting NUT UPS monitor done Broadcast Message from root@pane (somewhere) at 22:27 ... Communications with UPS myups@localhost lost Broadcast Message from root@pane (somewhere) at 22:27 ... UPS myups@localhost is unavailable # syslog: Oct 18 22:27:29 pane upsmon[13329]: Startup successful Oct 18 22:27:29 pane upsmon[13330]: UPS [myups@localhost]: connect failed: Connection failure: Connection refused Oct 18 22:27:29 pane upsmon[13330]: Communications with UPS myups@localhost lost Oct 18 22:27:34 pane upsmon[13330]: UPS [myups@localhost]: connect failed: Connection failure: Connection refused Oct 18 22:27:34 pane upsmon[13330]: UPS myups@localhost is unavailable Oct 18 22:27:40 pane upsmon[13330]: UPS [myups@localhost]: connect failed: Connection failure: Connection refused i recognized upsd and the driver are not running... so i tried to start the driver manually... but it didn't have permissions on /dev/ttyS3, so i changed, and the driver works... then i could also start upsd manually... but upsmon or upsc can't connect to it: # upsc -l upsc.c:170: Error: Server disconnected i get the same if i try manually to connect to port 3493, the connection is being closed at once.. what am i doing wrong, and why the hell does /etc/init.d/upsd change the permissions on /dev/ttyS3 wrong? thanks for your help, Paul -config files below (except the annotations) ups.conf: [myups] driver = megatec port = /dev/ttyS3 desc = "first UPS device" - upsd.conf (for testing allowed all, but port not reachable from the internet): ACL all 0.0.0.0/0 ACL localhost 127.0.0.1/32 ACCEPT all - upsd.users: [upsmaster] password = admin allowfrom = localhost upsmon master [upsslave] password = 82576d5d89 allowfrom = localhost upsmon slave - upsmon.conf: RUN_AS_USER upsd MONITOR myups@localhost 1 upsmaster admin master MINSUPPLIES 1 SHUTDOWNCMD "/sbin/shutdown -h +0" NOTIFYCMD /usr/lib/powersave/powersave-notify POLLFREQ 5 POLLFREQALERT 5 HOSTSYNC 15 DEADTIME 15 POWERDOWNFLAG /etc/killpower NOTIFYFLAG ONLINE SYSLOG NOTIFYFLAG COMMOK SYSLOG NOTIFYFLAG SHUTDOWN SYSLOG NOTIFYFLAG ONBATT SYSLOG+WALL+EXEC NOTIFYFLAG LOWBATT SYSLOG+WALL+EXEC NOTIFYFLAG FSD SYSLOG+WALL+EXEC NOTIFYFLAG NOCOMM SYSLOG+WALL+EXEC NOTIFYFLAG COMMBAD SYSLOG+WALL+EXEC RBWARNTIME 43200 NOCOMMWARNTIME 300 FINALDELAY 5 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (1)
-
Paul Neuwirth