Logs and troubleshooting (Release ONE): Difference between revisions

From OSM Public Wiki
Jump to: navigation, search
Line 23: Line 23:
===Restarting services===
===Restarting services===
====Restarting SO====
====Restarting SO====
====Checking if UI is running====
* The status of the UI process can be checked by running the following command in the SO-ub container as root:
<pre>
forever list
</pre>
* You should see a status similar to following with an uptime:
<pre>
info:    Forever processes running
data:        uid  command        script                                                                                                                forever pid  id logfile                    uptime
data:    [0] uivz /usr/bin/nodejs skyquake.js --enable-https --keyfile-path=/usr/rift/etc/ssl/current.key --certfile-path=/usr/rift/etc/ssl/current.cert 21071  21082    /root/.forever/forever.log 0:18:12:3.231
</pre>
* In case the UI server process has issues, you won't see an uptime but will instead see a status "STOPPED" in that position.
* In case the UI server process never started, you'll see a status saying "No forever process running".


====Restarting UI====
====Restarting UI====
The UI is restarted when the SO module (launchpad) is restarted.
* The UI is restarted when the SO module (launchpad) is restarted.
However, in case just the UI needs to be restarted, you can run the following command in the SO-ub container as root:
* However, in case just the UI needs to be restarted, you can run the following command in the SO-ub container as root:
 
<pre>
<pre>
forever restartall
forever restartall

Revision as of 15:45, 2 November 2016

Under elaboration

Logs

SO logs

UI logs

The server-side UI logs can be obtained on the SO-ub container at:

/usr/rift/usr/share/rw.ui/skyquake/err.log
/usr/rift/usr/share/rw.ui/skyquake/out.log

Client side UI logs can be obtained in the Develop Console in a browser.

RO logs

VCA logs

Troubleshooting

Restarting services

Restarting SO

Checking if UI is running

  • The status of the UI process can be checked by running the following command in the SO-ub container as root:
forever list
  • You should see a status similar to following with an uptime:
info:    Forever processes running
data:        uid  command         script                                                                                                                 forever pid   id logfile                    uptime
data:    [0] uivz /usr/bin/nodejs skyquake.js --enable-https --keyfile-path=/usr/rift/etc/ssl/current.key --certfile-path=/usr/rift/etc/ssl/current.cert 21071   21082    /root/.forever/forever.log 0:18:12:3.231
  • In case the UI server process has issues, you won't see an uptime but will instead see a status "STOPPED" in that position.
  • In case the UI server process never started, you'll see a status saying "No forever process running".

Restarting UI

  • The UI is restarted when the SO module (launchpad) is restarted.
  • However, in case just the UI needs to be restarted, you can run the following command in the SO-ub container as root:
forever restartall

Restarting RO

Restarting VCA