User Tools

Site Tools


newdevs:restarting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
newdevs:restarting [2021/07/29 13:48] – [Restart All Services] tmccannanewdevs:restarting [2024/03/18 12:10] (current) – [All Services] tmccanna
Line 5: Line 5:
  
 Switch to the opensrf user and run:  Switch to the opensrf user and run: 
 +<code>osrf_control -l --restart-all</code>
  
-''<nowiki>bash -i -c '/openils/bin/osrf_control --localhost --restart-all'</nowiki>''+===== Apache =====
  
-===== Start the Reporter =====+Switch to the root user and run: 
  
-Switch to the opensrf user and run: +<code>/etc/init.d/apache2 restart</code>
  
-''<nowiki>clark-kent.pl --daemon</nowiki>''+ OR
  
 +<code>systemctl restart apache2</code>
 +===== Autogen =====
 +
 +Switch to the opensrf user and run:
 +
 +<code>/openils/bin/autogen.sh</code>
 +
 +===== Memcache =====
 +
 +As root user: 
 +
 +<code>/etc/init.d/memcached restart</code>
 +
 +===== Reporter =====
 +//As the opensrf user//
 +
 +To check if Clark is already running:
 +<code>ps -ef|grep -i Clark</code>
 +
 +To kill Clark:
 +<code>pkfill -f Clark</code>
 +
 +After killing Clark, delete **reporter-LOCK** in /tmp/
 +
 +To restart: 
 +<code>clark-kent.pl --daemon</code>
 +
 +====== When to Restart ======
 +
 +Restart Apache after changing perl and as a first step for changes not showing.
 +
 +Restart opensrf after changing the perl, or when postgres restarts.
 +
 +Run autogen.sh after making org-level changes: new names, new orgs.
 +
 +You only need to restart Clark if he dies.
  
newdevs/restarting.1627580923.txt.gz · Last modified: 2022/02/10 13:34 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.