Hello,

1/ do you have /lib/systemd/system/lava-server-gunicorn.service ?
2/ what is the output of "service lava-server-gunicorn status"?


Rgds

2018-08-10 12:32 GMT+02:00 Yuan, ZhanghuiX <zhanghuix.yuan@intel.com>:

Hi  Rgds,

 

Very thanks for you quickly rely.

I try restart blow services. But I can’t start lava-server-gunicorn service.

But my lava project has /etc/lava-server-gunicorn service and lava-server-gunicorn service.service file.

 

***$ ps -ef | grep lava****

lavaser+  1235     1  0 02:49 ?        00:00:06 python3 /srv/lava/pkt-lava/lava_server/manage.py lava-master --level DEBUG

lavaser+  1490     1  0 02:51 ?        00:00:01 python3 /srv/lava/pkt-lava/lava_server/manage.py lava-logs --level DEBUG

lavaser+  1732     1  0 02:54 ?        00:00:01 python3 /srv/lava/pkt-lava/lava_server/manage.py lava-publisher --level DEBUG

root      6008     1 35 03:25 ?        00:00:01 python3 /srv/lava/pkt-lava/lava_server/manage.py runserver 0.0.0.0:8000

root      6010  6008 91 03:25 ?        00:00:01 /usr/bin/python3 /srv/lava/pkt-lava/lava_server/manage.py runserver 0.0.0.0:8000

zyuan1x   6022  1136  0 03:25 pts/0    00:00:00 grep lava

 

**$ ps -ef | grep postg**

postgres  5726     1  0 03:24 ?        00:00:00 /usr/lib/postgresql/9.6/bin/postgres -D /var/lib/postgresql/9.6/main -c config_file=/etc/postgresql/9.6/main/postgresql.conf

postgres  5728  5726  0 03:24 ?        00:00:00 postgres: 9.6/main: checkpointer process

postgres  5729  5726  0 03:24 ?        00:00:00 postgres: 9.6/main: writer process

postgres  5730  5726  0 03:24 ?        00:00:00 postgres: 9.6/main: wal writer process

postgres  5731  5726  0 03:24 ?        00:00:00 postgres: 9.6/main: autovacuum launcher process

postgres  5732  5726  0 03:24 ?        00:00:00 postgres: 9.6/main: stats collector process

postgres  5777  5726  0 03:24 ?        00:00:00 postgres: 9.6/main: devel devel ::1(58660) idle

zyuan1x   6039  1136  0 03:26 pts/0    00:00:00 grep postg

 

**$ sudo service  lava-server-gunicorn restart**

Failed to restart lava-server-gunicorn.service: Unit lava-server-gunicorn.service not foun

~~

BR/Zhanghui

From: Remi Duraffort [mailto:remi.duraffort@linaro.org]
Sent: Friday, August 10, 2018 5:41 PM
To: Yuan, ZhanghuiX <zhanghuix.yuan@intel.com>
Cc: lava-users@lists.linaro.org; Li, Hongli <hongli.li@intel.com>
Subject: Re: [Lava-users] How to restart LAVA server master service after LAVA server host restart

 

Hello,

 

LAVA services are the following:

* on the master:

** lava-server-gunicorn: the web UI

** lava-master

** lava-logs: the logs handler

** lava-publisher: the event publisher

** postgresql: the database

** apache2: the main web server (serving static content, ...)

 

* on the slave (or on the master for a signal instance setup):

** lava-slave

 

All these services can be started/stopped/restarted using the "service" command.

For example "service lava-master restart" will restart the master (if ran as root!).

 

 

Rgds

 

2018-08-10 4:01 GMT+02:00 Yuan, ZhanghuiX <zhanghuix.yuan@intel.com>:

Hi LAVA team,

 

I meet one critical error.

We restart our LAVA server host machine. We can’t know how to restart our LAVA server service.

 

Could you tell me how to restart LAVA server master service with detail steps? Thanks!

The LAVA server is not installed by us. So we are not clear about this.

 

 

BR/Zhanghui


_______________________________________________
Lava-users mailing list
Lava-users@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lava-users



 

--

Rémi Duraffort

LAVA Team




--
Rémi Duraffort
LAVA Team