In case of emergencies...
This document deals with restarting httpd services on gtoahpa-01.uit.no,
On gtoahpa-01, gtweb-01, gtdict and gtlab, we use nginx for serving HTML
Restarting Oahpa versions on gtoahpa
Log in to gtoahpa-01.
Restarting on the old gtoahpa:
Once an Oahpa version is down, it must be restarted.
where XXX_OAHPA.ini is the relevant name from one of the following:
crk_oahpa.ini est_oahpa.ini fkv_oahpa.ini myv_oahpa.ini sjd_oahpa.ini sma_oahpa.ini sme_oahpa.ini smn_oahpa.ini sms_oahpa.ini vro_oahpa.ini
If only an Oahpa version has been down, this is enough. If the server has been totally down, you may need to start more. Here is the full list of services that
For each of the processes listed, issue (anywhere on the system)
sudo service NAME restart
Thus, sudo service mysqld restart, etc.
After that, run all the Oahpa restarting commands:
Konteaksta is running on the Tomcat web server. After upgrade of gtoahpa-01, as well as adding new components to Konteaksta, it is always recommended to restart Konteaksta (the script compiles the Konteaksta source code, redeploys it on Tomcat and restarts Tomcat). Restarting Konteaksta is also the first thing to try if the url oahpa.no/konteaksta gives "server error", e.g. "The page you are looking for is temporarily unavailable. Please try again later.".
To restart Konteaksta:
Log in to gtoahpa-01 and issue the following commands:
sudo su teaksta cd svn up ./make_teaksta.sh
Sometimes the restart of the Tomcat web server is needed as well:
cd $CATALINA_HOME/bin ./shutdown.sh ./startup.sh