[Nut-upsuser] Re: AMD64 upsmon problem
Andrzej Zawadzki
zawadaa at wp.pl
Tue Oct 25 21:25:17 UTC 2005
Arnaud Quette wrote:
> Hi Andrzej,
>
> 2005/10/14, Andrzej Zawadzki <zawadaa at wp.pl <mailto:zawadaa at wp.pl>>:
>
> Arnaud Quette wrote:
> > ...
> > try "upsmon -D" to have more info and send it back.
> I was quite busy:
>
>
> I'll soon have to create a new term: busier isn't enough ;-)
Wrrr my last week was extremly busy...
> # upsmon -D
> Network UPS Tools upsmon 2.0.2
> UPS: apc at fabryka (slave) (power value 1)
> getpwnam((null)): Success
>
>
> I think the problem might sit here.
> upsmon tries to get the user name under which it should start.
> and it's displayed as "null" here!
Bingo!!!!!!!!!!!!!!!!!!!!!!!!!!!
> Questions:
> - how did you installed NUT? (from source or package)
> => if from source, what did you put for <username> in the "configure
> --with-user=<username>"? This default to nobody if you have not put
> anything, so check a nobody user exists, or create one.
> => if from package, what system, URL of the packages, ...
nut.spec was wrong - user "ups" was add only when nut-server was instaled...
So... I fixed that (I think ;-)
http://cvs.pld-linux.org/cgi-bin/cvsweb/SPECS/nut.spec?rev=1.97
> # ps aux|grep ups
> #
>
> Nothing more...
>
>
> we don't need more for the moment, just time to audit...
Thank You Arnaud!!
Now it works. :-) :-)
--
Andrzej Zawadzki
http://pld-linux.org/
More information about the Nut-upsuser
mailing list