[haiku-depot-web] Re: HDS down

  • From: Andrew Lindesay <apl@xxxxxxxxxxxxxx>
  • To: haiku-depot-web@xxxxxxxxxxxxx
  • Date: Thu, 12 May 2016 23:24:23 +1200

Hello;

It just went down again as the host was restarted and my last attempt to
get the service to start automatically obviously didn't work.  This
seems to have worked though...

/sbin/chkconfig haikudepotserver 235

...so hopefully next time it will be starting itself.

I am not sure how to disable a service (properly) because I would quite
like to stop "haikudepotserver-test" from starting automatically.  I
looked at the instructions here [1], but using these commands seem to
yield the following error;

```
haikudepotserver-test.service is not a native service, redirecting to
/sbin/chkconfig.
Executing /sbin/chkconfig haikudepotserver-test off
Usage:
    insserv [[-r] <script>]

Options:
    --remove, -r
        Remove the listed scripts from all runlevels

/sbin/insserv failed, exit code 1
```

Does anybody know how to properly prevent a System-V style service from
starting up on that host?

cheers.

[1]
https://www.suse.com/documentation/sles-12/book_sle_admin/data/sec_boot_systemd_basics.html

-- 
Andrew Lindesay
apl@xxxxxxxxxxxxxx

On Mon, May 2, 2016, at 18:03, Andrew Lindesay wrote:

Hello Richie;

Thanks for spotting that.  I think the host was rebooted over the last
day or so owing to a disk failure and the HDS process did not come back
up on reboot so I manually restarted it.  I've set the
"haikudepotserver" process to start automatically (strangely worked just
now, but did not work last night) so it should be covered the next time.

It seems that the test HDS has come online as well so I've shut that
down until somebody needs it to reduce the risk of exhausting the host's
memory.

I will get a sensible monitoring URL into the application server soon
and then see if we can get the monitoring system to probe it from time
to time.

cheers.

-- 
Andrew Lindesay
apl@xxxxxxxxxxxxxx

On Sun, May 1, 2016, at 20:56, Richie Nyhus-Smith wrote:
I have just got a fresh 503 Service Unavailable error.


Other related posts: