NIS error

View: New views
2 Messages — Rating Filter:   Alert me  

NIS error

by zkab :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

OS: Ubuntu 8.04
Apcupsd: 3.14.2 (installed with Synaptic)
Model/UPS cable: pls check below

I have one desktop computer and one server and they are connected to its
own USB APC UPS.
Apcupsd are installed and configured on both computers, apcaccess gives
me correct information about their UPS.
On the desktop computer GapcMon is installed and it gives me correct
information about localhost but when I add a new monitor and give the
ip-address for my server (pref tab in GapcMon) an error message is
diplayed in GapcMon status window:

NISERR unknown@ip-address
NIS network connection not responding!

What is wrong - I had the impression (after reading the docs) that I
could get UPS-information with GapcMon from any LAN-computer that run
Apcupsd.


apcaccess for Desktop
-------------------------------------------------------------------------
APC      : 001,038,1005
DATE     : Fri Sep 05 22:50:11 CEST 2008
HOSTNAME : zkab
RELEASE  : 3.14.2
VERSION  : 3.14.2 (15 September 2007) debian
UPSNAME  : ES700
CABLE    : USB Cable
MODEL    : Back-UPS ES 700
UPSMODE  : Stand Alone
STARTTIME: Tue Sep 02 16:34:46 CEST 2008
STATUS   : ONLINE
LINEV    : 230.0 Volts
LOADPCT  :  38.0 Percent Load Capacity
BCHARGE  : 100.0 Percent
TIMELEFT :  16.0 Minutes
MBATTCHG : 5 Percent
MINTIMEL : 3 Minutes
MAXTIME  : 0 Seconds
SENSE    : Medium
LOTRANS  : 180.0 Volts
HITRANS  : 266.0 Volts
ALARMDEL : Always
BATTV    : 13.6 Volts
LASTXFER : Automatic or explicit self test
NUMXFERS : 1
XONBATT  : Thu Sep 04 11:52:07 CEST 2008
TONBATT  : 0 seconds
CUMONBATT: 10 seconds
XOFFBATT : Thu Sep 04 11:52:17 CEST 2008
LASTSTEST: Thu Sep 04 11:52:07 CEST 2008
STATFLAG : 0x07000008 Status Flag
MANDATE  : 2006-10-11
SERIALNO : 5B0642U06588
BATTDATE : 2000-00-00
NOMINV   : 230
NOMBATTV :  12.0
FIRMWARE : 829.D2.I USB FW:D2
APCMODEL : Back-UPS ES 700
END APC  : Fri Sep 05 22:50:46 CEST 2008


apcaccess for Server
-------------------------------------------------------------------------
APC      : 001,052,1241
DATE     : Fri Sep 05 23:49:52 CEST 2008
HOSTNAME : arkiv-x
RELEASE  : 3.14.2
VERSION  : 3.14.2 (15 September 2007) debian
UPSNAME  : SUPS1400
CABLE    : APC Cable 940-0024C
MODEL    : SMART-UPS 1400
UPSMODE  : Stand Alone
STARTTIME: Sun Aug 31 00:43:00 CEST 2008
STATUS   : ONLINE
LINEV    : 228.8 Volts
LOADPCT  :  17.6 Percent Load Capacity
BCHARGE  : 100.0 Percent
TIMELEFT :  72.0 Minutes
MBATTCHG : 5 Percent
MINTIMEL : 3 Minutes
MAXTIME  : 0 Seconds
MAXLINEV : 230.1 Volts
MINLINEV : 227.5 Volts
OUTPUTV  : 228.8 Volts
SENSE    : High
DWAKE    : 000 Seconds
DSHUTD   : 180 Seconds
DLOWBATT : 02 Minutes
LOTRANS  : 196.0 Volts
HITRANS  : 253.0 Volts
RETPCT   : 000.0 Percent
ITEMP    : 33.7 C Internal
ALARMDEL : Low Battery
BATTV    : 27.5 Volts
LINEFREQ : 50.0 Hz
LASTXFER : Automatic or explicit self test
NUMXFERS : 0
TONBATT  : 0 seconds
CUMONBATT: 0 seconds
XOFFBATT : N/A
SELFTEST : NO
STESTI   : 336
STATFLAG : 0x07000008 Status Flag
DIPSW    : 0x00 Dip Switch
REG1     : 0x00 Register 1
REG2     : 0x00 Register 2
REG3     : 0x00 Register 3
MANDATE  : 10/18/00
SERIALNO : GS0043004914
BATTDATE : 05/29/04
NOMOUTV  : 230
NOMBATTV :  24.0
EXTBATTS : 0
FIRMWARE : 70.11.I
APCMODEL : KWI
END APC  : Fri Sep 05 23:50:30 CEST 2008

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Apcupsd-users mailing list
Apcupsd-users@...
https://lists.sourceforge.net/lists/listinfo/apcupsd-users

Re: NIS error

by Adam Kropelin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Raivo Kask wrote:

> OS: Ubuntu 8.04
> Apcupsd: 3.14.2 (installed with Synaptic)
> Model/UPS cable: pls check below
>
> I have one desktop computer and one server and they are connected to
> its
> own USB APC UPS.
> Apcupsd are installed and configured on both computers, apcaccess
> gives
> me correct information about their UPS.
> On the desktop computer GapcMon is installed and it gives me correct
> information about localhost but when I add a new monitor and give the
> ip-address for my server (pref tab in GapcMon) an error message is
> diplayed in GapcMon status window:
>
> NISERR unknown@ip-address
> NIS network connection not responding!
>
> What is wrong - I had the impression (after reading the docs) that I
> could get UPS-information with GapcMon from any LAN-computer that run
> Apcupsd.

Check that if NISIP is specified in apcupsd.conf it is set to 0.0.0.0 or
the IP address of an external network interface (i.e. *not* 127.0.0.1). On
the gapcmon side, ensure you are using this IP address.

--Adam


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Apcupsd-users mailing list
Apcupsd-users@...
https://lists.sourceforge.net/lists/listinfo/apcupsd-users
LightInTheBox - Buy quality products at wholesale price!