Version 2.0.4 on CentOS (RHEL 4) I goofed on my original post and sent it to the bounce. Between then and now I have done some further digging and found the real issue. I was having an issue with the ups.conf file not being read after the 21st entry. Turns out this was were the first error occurred. I could move the entries around in the file and get them to load. What I did not realize is where the real issue was. It turns out that there is a bug in the parser for the ups.conf file that if the description contains a space as the last character the next entry will not be recognized and will fail to start. Once I removed the spaces from the last four enties (21 to 24 thus 21 being the last to load) all seems to be well. Thanks, Doug
On 10/23/06, Doug Parsons <doparsons@earthlink.net> wrote:> Version 2.0.4 on CentOS (RHEL 4)A quick check indicates that this bug probably affects the trunk as well.> It turns out that there is a bug in the parser for the ups.conf file that if > the description contains a space as the last character the next entry will > not be recognized and will fail to start. Once I removed the spaces from the > last four enties (21 to 24 thus 21 being the last to load) all seems to be > well.Thanks for following up on this. I have created a bug entry so we don't forget: https://alioth.debian.org/tracker/index.php?func=detail&aid=304024&group_id=30602&atid=411542 -- - Charles Lepple
On Mon, Oct 23, 2006 at 9:41 AM, Doug Parsons<doparsons at earthlink.net> wrote:> It turns out that there is a bug in the parser for the ups.conf file that if > the description contains a space as the last character the next entry will > not be recognized and will fail to start. Once I removed the spaces from the > last four enties (21 to 24 thus 21 being the last to load) all seems to be > well.Doug, What syntax were you using for these lines? Did you have double-quotes around the descriptions? Arjen was unable to reproduce this bug: https://alioth.debian.org/tracker/?func=detail&atid=411542&aid=304024&group_id=30602 -- - Charles Lepple
Citeren Charles Lepple <clepple op gmail.com>: [...]> Arjen was unable to reproduce this bug: > > https://alioth.debian.org/tracker/?func=detail&atid=411542&aid=304024&group_id=30602It might also be helpful to attach the ups.conf file that was used. Best regards, Arjen -- Please keep list traffic on the list