Error in apcupsd.conf if I uncomment POLLING on x86 CentOS 5.2

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

Error in apcupsd.conf if I uncomment POLLING on x86 CentOS 5.2

by David A. Roth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I installed apcupsd the latest stable release on CentOS 5.2 X86  
(2.6.18-92.1.6.el5 #1 SMP Wed Jun 25 13:45:47 EDT 2008 x86_64 x86_64  
x86_64 GNU/Linux) as a slave.

I went back to the original apcupsd.conf file that came with the  
installation to verify this. If I uncomment #POLLING 60 to POLLING  
60, when I run apctest I get this error:

2008-07-24 11:49:50 apctest 3.14.3 (20 January 2008) redhat
Checking configuration ...
Terminating due to configuration file errors.
apctest error termination completed

And when I rebooted, apcupsd isn't loaded. If I comment #POLLING,  
apcupsd is seen running and it functions as expected.

Is this a bug, or am I doing something wrong? I would be happy to try  
out suggestions or provide further information.

Thanks!

David Roth


-------------------------------------------------------------------------
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: Error in apcupsd.conf if I uncomment POLLING on x86CentOS 5.2

by Adam Kropelin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

David A.Roth wrote:

> I installed apcupsd the latest stable release on CentOS 5.2 X86
> (2.6.18-92.1.6.el5 #1 SMP Wed Jun 25 13:45:47 EDT 2008 x86_64 x86_64
> x86_64 GNU/Linux) as a slave.
>
> I went back to the original apcupsd.conf file that came with the
> installation to verify this. If I uncomment #POLLING 60 to POLLING
> 60, when I run apctest I get this error:
>
> 2008-07-24 11:49:50 apctest 3.14.3 (20 January 2008) redhat
> Checking configuration ...
> Terminating due to configuration file errors.
> apctest error termination completed
>
> And when I rebooted, apcupsd isn't loaded. If I comment #POLLING,
> apcupsd is seen running and it functions as expected.
>
> Is this a bug, or am I doing something wrong? I would be happy to try
> out suggestions or provide further information.

There is no config directive called "POLLING". The correct directive is
"POLLTIME".

--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!