[GLLUG] Network UPS Tools
Chris Bell
chrisbell at chrisbell.org.uk
Mon Jun 17 16:48:58 UTC 2019
On Monday, 17 June 2019 17:31:24 BST Chris Bell via GLLUG wrote:
> On Monday, 17 June 2019 17:11:56 BST Martin A. Brooks via GLLUG wrote:
> > On 2019-06-17 17:04, Chris Bell via GLLUG wrote:
> > > I am able to ssh in from another local box, su to root, but am then
> > > unable to
> > > use the standard "shutdown" command.
> >
> > What do you mean by "unable"?
> >
> > What command did you type? What result did you get? How did this
> > differ from your expectations?
>
> I totally re-installed buster from scratch to guarantee that there was
> nothing else affecting the problem, then
>
> In each case where it failed:
> su and login with the root password, then
> # adduser --uid=xxx username
> bash: adduser: command not found
> # shutdown -r +1
> bash: shutdown: command not found
>
> No problem after ctrl+alt+F1 then simple login as root.
I am trying to run tests on another box which does not have its own monitor,
so was using ssh and ftp. I would like to run more than one computer using
power from a UPS, so I have been reading the documentation for Network UPS
Tools (nut). I was getting worried that nut had caused a problem, but I re-
installed without nut to confirm. One of the things I need to check is that I
can do a simple reboot on the master without everything else shutting down as
well. The latest update did require a reboot, and then I discovered the
problem. My local mains supply is not reliable, and there have been several
cable faults affecting the local area, but I am still much more likely to have
to reboot the master machine than deal with the results of a power cut.
--
Chris Bell
Website http://chrisbell.org.uk
More information about the GLLUG
mailing list