RE: Nut problem and last message repeated in dmesg

2008-05-01 Thread Olivier GARNIER
$ pkg_info | grep nut
nut-2.2.1_1 Network UPS Tools

$ grep driver /usr/local/etc/nut/*.conf | grep -v \#
/usr/local/etc/nut/ups.conf:driver = usbhid-ups

$ grep Ellipse /usr/local/etc/nut/driver.list | grep 750 | grep usb
"MGE Office Protection Systems" "Ellipse ASR USBS 600/750/1000/1500 VA"
"USB cable" "usbhid-ups"
"MGE UPS SYSTEMS"   "Ellipse Office 750""USB"   "usbhid-ups"


$ sudo /usr/local/etc/rc.d/nut start
Network UPS Tools - UPS driver controller 2.2.1
Network UPS Tools: 0.29 USB communication driver - core 0.32 (2.2.1)

Using subdriver: MGE HID 1.01
Starting nut.
Network UPS Tools upsd 2.2.1
listening on 0.0.0.0 port 3493
Connected to UPS [ellipse]: usbhid-ups-ellipse

Broadcast Message from [EMAIL PROTECTED]
(no tty) at 7:34 CEST...

Communications with UPS [EMAIL PROTECTED] established

It seems to be the good driver.
It seems to be the last nut version.
It seems to run weel during about 1/2 day, and then crash :/

Olivier


De : Derek Ragona [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 1 mai 2008 20:14
À : Olivier GARNIER; freebsd-questions@freebsd.org
Objet : Re: Nut problem and last message repeated in dmesg
 

Make sure you are using the correct driver.  Nut has consolidated and
changed drivers in recent releases.  

-Derek

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Nut problem and last message repeated in dmesg

2008-05-01 Thread Derek Ragona

At 04:01 AM 5/1/2008, Olivier GARNIER wrote:

There are my questions:

> Does anyone become to correct the same problem and can help me to correct
this?

> Can anyone tell my how to see the "last message" which is repeated hundred
times?



I've got an MGE ellipse 750 USBS.

I've connected it to my server with USB cable.

I've installed NUT via ports.



Now this service is crashing very often.

For example it crashes yesterday 23h16, I restarted it and when I watch it
today :



# dmesg - a

.

Apr 30 23:12:38 myhost last message repeated 120 times

Apr 30 23:16:28 myhost last message repeated 46 times

Apr 30 23:16:33 myhost upsmon[1011]: Poll UPS [EMAIL PROTECTED] failed -
Server disconnected

May  1 08:57:44 myhost upsmon[1011]: Poll UPS [EMAIL PROTECTED] failed -
Data stale

May  1 08:58:19 myhost last message repeated 7 times

May  1 09:00:24 myhost last message repeated 25 times

May  1 09:10:29 myhost last message repeated 121 times

May  1 09:20:34 myhost last message repeated 121 times

May  1 09:30:35 myhost last message repeated 120 times

May  1 09:40:40 myhost last message repeated 121 times

May  1 09:50:40 myhost last message repeated 120 times

May  1 10:00:40 myhost last message repeated 120 times

May  1 10:10:40 myhost last message repeated 120 times

May  1 10:20:40 myhost last message repeated 120 times

May  1 10:30:40 myhost last message repeated 120 times

May  1 10:40:40 myhost last message repeated 120 times

[EMAIL PROTECTED] ~]$ /usr/local/etc/rc.d/nut stop

Password:

Stopping nut.

Network UPS Tools - UPS driver controller 2.2.1

[EMAIL PROTECTED] ~]$ /usr/local/etc/rc.d/nut start

Network UPS Tools - UPS driver controller 2.2.1

Network UPS Tools: 0.29 USB communication driver - core 0.32 (2.2.1)



Using subdriver: MGE HID 1.01

Starting nut.

Network UPS Tools upsd 2.2.1

listening on 0.0.0.0 port 3493

Connected to UPS [ellipse]: usbhid-ups-ellipse




Make sure you are using the correct driver.  Nut has consolidated and 
changed drivers in recent releases.


-Derek


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Nut problem and last message repeated in dmesg

2008-05-01 Thread Mel
On Thursday 01 May 2008 11:01:02 Olivier GARNIER wrote:

> > Can anyone tell my how to see the "last message" which is repeated
> > hundred
>
> times?

...

> Apr 30 23:16:33 myhost upsmon[1011]: Poll UPS [EMAIL PROTECTED] failed -
> Server disconnected
>
> May  1 08:57:44 myhost upsmon[1011]: Poll UPS [EMAIL PROTECTED] failed -
> Data stale
>
> May  1 08:58:19 myhost last message repeated 7 times

It's a bit bad choice of words, better would be "previous message repeated 7 
times". So the message that is repeated, is the message directly above it.

Sorry, can't help you with NUT, but it looks like server disconnects are not 
handled correctly and just generate hundreds of messages about stale data, 
rather then refreshing the data.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Nut problem and last message repeated in dmesg

2008-05-01 Thread Olivier GARNIER
There are my questions:

> Does anyone become to correct the same problem and can help me to correct
this?

> Can anyone tell my how to see the "last message" which is repeated hundred
times?

 

I've got an MGE ellipse 750 USBS.

I've connected it to my server with USB cable.

I've installed NUT via ports.

 

Now this service is crashing very often.

For example it crashes yesterday 23h16, I restarted it and when I watch it
today :

 

# dmesg - a

.

Apr 30 23:12:38 myhost last message repeated 120 times

Apr 30 23:16:28 myhost last message repeated 46 times

Apr 30 23:16:33 myhost upsmon[1011]: Poll UPS [EMAIL PROTECTED] failed -
Server disconnected

May  1 08:57:44 myhost upsmon[1011]: Poll UPS [EMAIL PROTECTED] failed -
Data stale

May  1 08:58:19 myhost last message repeated 7 times

May  1 09:00:24 myhost last message repeated 25 times

May  1 09:10:29 myhost last message repeated 121 times

May  1 09:20:34 myhost last message repeated 121 times

May  1 09:30:35 myhost last message repeated 120 times

May  1 09:40:40 myhost last message repeated 121 times

May  1 09:50:40 myhost last message repeated 120 times

May  1 10:00:40 myhost last message repeated 120 times

May  1 10:10:40 myhost last message repeated 120 times

May  1 10:20:40 myhost last message repeated 120 times

May  1 10:30:40 myhost last message repeated 120 times

May  1 10:40:40 myhost last message repeated 120 times

[EMAIL PROTECTED] ~]$ /usr/local/etc/rc.d/nut stop

Password:

Stopping nut.

Network UPS Tools - UPS driver controller 2.2.1

[EMAIL PROTECTED] ~]$ /usr/local/etc/rc.d/nut start

Network UPS Tools - UPS driver controller 2.2.1

Network UPS Tools: 0.29 USB communication driver - core 0.32 (2.2.1)

 

Using subdriver: MGE HID 1.01

Starting nut.

Network UPS Tools upsd 2.2.1

listening on 0.0.0.0 port 3493

Connected to UPS [ellipse]: usbhid-ups-ellipse

 

Thanks.

 

Olivier

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"