Koozali.org: home of the SME Server

why service * status returns normally down

Offline gsimpson

  • *
  • 5
  • +0/-0
why service * status returns normally down
« on: March 22, 2018, 04:30:33 AM »
Greetings.

I had a short question on the operation of two services. I did search through the forums and did not see anything to answer my question and I was not sure if just sending a PM was considered bad protocol.

The question I had is on the following:
#>service httpd-e-smith status
run: /service/httpd-e-smith: (pid 2790) 518272s, normally down

#>service httpd-admin status
run: /service/httpd-admin: (pid 2770) 518272s, normally down; run: log: (pid 1144) 518312s

SME9Admin is the tool that says that these are normally down. Yet on my installations, these are never down.
What is the correct operation?

Thank you,
Greg Simpson
« Last Edit: March 22, 2018, 05:50:26 AM by Jean-Philippe Pialasse »

Offline Jean-Philippe Pialasse

  • *
  • 2,760
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: sme9admin
« Reply #1 on: March 22, 2018, 05:49:38 AM »
Greetings.

I had a short question on the operation of two services. I did search through the forums and did not see anything to answer my question and I was not sure if just sending a PM was considered bad protocol.
yes it would have been to ak with a private message to a member.
This is a community, where the only stupid questions are those ask in private, which prevents other to get the answer.

So welcome here on the forum to share your question !

The question I had is on the following:
#>service httpd-e-smith status
run: /service/httpd-e-smith: (pid 2790) 518272s, normally down

#>service httpd-admin status
run: /service/httpd-admin: (pid 2770) 518272s, normally down; run: log: (pid 1144) 518312s

those two services are supervised and run Gerrit Pape runit http://smarden.org/runit/

the services are visible in /service or /var/service with a folder for each one. If you see a file down in the folder of the service, this means the service is not start with runit being start but wait for an external intervention.
Currently most services are with this behavior, so normally down, and their multilog supervision is started with runit so no "down" file in the subfolder log.


SME9Admin is the tool that says that these are normally down. Yet on my installations, these are never down.
What is the correct operation?
so everything is correct, and nothing related to sme9admin

I will edit your subject accordingly.