apcupsd 3.14.4 problem on Solaris 10u5 x86

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

apcupsd 3.14.4 problem on Solaris 10u5 x86

by Michael Stilkerich-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

 I try to run apcupsd on a Solaris 10u5 x86 computer using the following
configuration:

UPSNAME powerpal
UPSCABLE ether
UPSTYPE pcnet
DEVICE 192.168.0.2:3551
POLLTIME 10
LOCKFILE /var/spool/locks
SCRIPTDIR /etc/opt/apcupsd
PWRFAILDIR /etc
NOLOGINDIR /etc
ONBATTERYDELAY 6
BATTERYLEVEL 80
MINUTES 10
TIMEOUT 20
ANNOY 30
ANNOYDELAY 5
NOLOGON disable
KILLDELAY 0
NETSERVER on
NISIP 127.0.0.1
NISPORT 3551
EVENTSFILE /etc/opt/apcupsd/apcupsd.events
EVENTSFILEMAX 10
UPSCLASS standalone
UPSMODE disable
STATTIME 0
STATFILE /etc/opt/apcupsd/apcupsd.status
LOGSTATS off
DATATIME 0

The server with is an Ubuntu 8.04 computer running apcupsd 3.14.2
connected to an APC BackUPS ES 700 via USB. The UPS work on the
server, and also a Windows client running apcupsd 3.14.4 can
connect to the server without problems.

In Solaris, any attempt to start apcupsd fails with plenty of the
following log messages:

Jun 14 14:10:19 trinity apcupsd[16489]: [ID 702911 daemon.error] apcupsd
FATAL ERROR in newups.c at line 103
Jun 14 14:10:19 trinity Mutex lock failure. ERR=Deadlock situation
detected/avoided

I appreciate any hints on how to solve this problem!

Best,
 -Mike


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Apcupsd-users mailing list
Apcupsd-users@...
https://lists.sourceforge.net/lists/listinfo/apcupsd-users

Re: apcupsd 3.14.4 problem on Solaris 10u5 x86

by Adam Kropelin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Michael Stilkerich wrote:
> Hi,
>
> I try to run apcupsd on a Solaris 10u5 x86 computer using the
> following configuration:
>
> UPSNAME powerpal
> UPSCABLE ether
> UPSTYPE pcnet
> DEVICE 192.168.0.2:3551

If you want to use this as a NIS-net client, you want...

UPSTYPE net

That "UPSTYPE pcnet" is for powerchute network shutdown protocol.

--Adam


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Apcupsd-users mailing list
Apcupsd-users@...
https://lists.sourceforge.net/lists/listinfo/apcupsd-users

Re: apcupsd 3.14.4 problem on Solaris 10u5 x86

by Michael Stilkerich-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Adam Kropelin wrote:

> Michael Stilkerich wrote:
>> UPSNAME powerpal
>> UPSCABLE ether
>> UPSTYPE pcnet
>> DEVICE 192.168.0.2:3551
>
> If you want to use this as a NIS-net client, you want...
>
> UPSTYPE net
>
> That "UPSTYPE pcnet" is for powerchute network shutdown protocol.
Ahh, that fixed the issue. Thanks for the hint! (The Windows Computer
hat the correct UPSTYPE set, which explains why the one worked while
the other didn't.

Thanks,
  -Mike

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Apcupsd-users mailing list
Apcupsd-users@...
https://lists.sourceforge.net/lists/listinfo/apcupsd-users