[Nut-upsuser] puzzle, need magic incantation

Gene Heskett gheskett at wdtv.com
Mon Dec 1 14:43:43 UTC 2014


Hi Charles;

I had nut working from before, but managed to lock up something and had to 
reboot.  Nut is in the stuff to start at boot time, but is not now capable 
to being restarted with the nut script in /etc/init.d, claiming it is 
disabled:

gene at coyote:/usr/src/nut-2.7.2/docs/man$ sudo service nut start
 * nut disabled, please adjust the configuration to your needs
 * Then set MODE to a suitable value in /usr/local/ups/etc/nut/nut.conf to 
enable it
gene at coyote:/usr/src/nut-2.7.2/docs/man$ service nut start
 * nut disabled, please adjust the configuration to your needs
 * Then set MODE to a suitable value in /usr/local/ups/etc/nut/nut.conf to 
enable it

So I look at that file and see it has only one active line:
mode=standalone

So where do I go from here?

Minor rant:

FWIW, before I asked, I redid the nut ./configure --with-doc=auto, then a 
make.  Then I step into the docs directory and do a sudo make install, 
which it appears to do.  But no manpages were install despite the command 
line echo showing that they were when I did the sudo make install, but I 
am forced to go into the docs directory and a man ./name-of-man-page to 
read it, and mode is only mentioned briefly in the example line which 
shows mode=none. That is a 10-33 torr suckage.

This I think can be alleviated by setting up the env variable MANPATH, 
which is not apparently configured.  Export that and it works.  So put it 
in my .bashrc

But since every other manpage on the system works without that env setting 
of $MANPATH, showing "/usr/local/ups/share/man:/usr/share/man" when 
queried now, why should i have to do it for nuts man pages?  Boggles the 
mind.

End minor rant.

And I still cannot start it, see above.

The error msg says its disabled, but not why, so I've exactly no clue what 
is really wrong.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS



More information about the Nut-upsuser mailing list