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 [EMAIL PROTECTED] (somewhere) at 22:27 ... Communications with UPS [EMAIL PROTECTED] lost Broadcast Message from [EMAIL PROTECTED] (somewhere) at 22:27 ... UPS [EMAIL PROTECTED] is unavailable # syslog: Oct 18 22:27:29 pane upsmon[13329]: Startup successful Oct 18 22:27:29 pane upsmon[13330]: UPS [EMAIL PROTECTED]: connect failed: Connection failure: Connection refused Oct 18 22:27:29 pane upsmon[13330]: Communications with UPS [EMAIL PROTECTED] lost Oct 18 22:27:34 pane upsmon[13330]: UPS [EMAIL PROTECTED]: connect failed: Connection failure: Connection refused Oct 18 22:27:34 pane upsmon[13330]: UPS [EMAIL PROTECTED] is unavailable Oct 18 22:27:40 pane upsmon[13330]: UPS [EMAIL PROTECTED]: 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 trie 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 [EMAIL PROTECTED] 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 _______________________________________________ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser