Restart all services: Difference between revisions

From wiki.comcert.com
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
== Introduction ==
== Introduction ==


The out-of-the box stop and start scripting is silent and generates no screen output . It is non-system specific i.e. services will fail to stop and/or start and the user cannot  know for sure if that failure to stop/start represents a problem or not.
The out-of-the box stop and start script is silent and generates no screen output . It is non-system specific i.e. services will fail to stop and/or start and the user cannot  know for sure if that behavior is sign of a problem or not.


 
 
Line 10: Line 10:
If the system has been installed by COMCERT, we installed a system specific script to restart all services.
If the system has been installed by COMCERT, we installed a system specific script to restart all services.


In case of an eminent problem, running the restart script may reveal what service fails to stop or start. Mention this service when you contact techsupport.
In case of an eminent problem, running the restart script may reveal what service failed to start. Mention this service when you contact techsupport.


Log in with SSH
*Log in with SSH  
 
*Assume root  
Assume root
<pre>$ sudo su -</pre>
<pre>$ sudo su -</pre>


Go to the /opt/tv folder
*Go to the /opt/tv folder  
<pre># cd /opt/tv</pre>
<pre># cd /opt/tv</pre>


Run the restart script
*Run the restart script  
<pre># ./tv-restart-services.sh</pre>
<pre># ./tv-restart-services.sh</pre>



Revision as of 15:57, 1 September 2017

Introduction

The out-of-the box stop and start script is silent and generates no screen output . It is non-system specific i.e. services will fail to stop and/or start and the user cannot  know for sure if that behavior is sign of a problem or not.

 

Solution

If the system has been installed by COMCERT, we installed a system specific script to restart all services.

In case of an eminent problem, running the restart script may reveal what service failed to start. Mention this service when you contact techsupport.

  • Log in with SSH
  • Assume root
$ sudo su -
  • Go to the /opt/tv folder
# cd /opt/tv
  • Run the restart script
# ./tv-restart-services.sh