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
Last revisionBoth sides next revision
newdevs:restarting [2023/04/26 14:07] – [Apache] tlittlenewdevs:restarting [2023/12/01 11:29] – [Memcache] tmccanna
Line 5: Line 5:
  
 Switch to the opensrf user and run:  Switch to the opensrf user and run: 
- +<code>bash -i -c '/openils/bin/osrf_control --localhost --restart-all'</code>
-''<nowiki>bash -i -c '/openils/bin/osrf_control --localhost --restart-all'</nowiki>''+
  
 ===== Apache ===== ===== Apache =====
Line 12: Line 11:
 Switch to the root user and run:  Switch to the root user and run: 
  
-''<nowiki>/etc/init.d/apache2 restart</nowiki>''+<code>/etc/init.d/apache2 restart</code> 
  OR  OR
-''<nowiki>systemctl restart apache2</nowiki>''+ 
 +<code>systemctl restart apache2</code>
 ===== Autogen ===== ===== Autogen =====
  
 Switch to the opensrf user and run: Switch to the opensrf user and run:
  
-''<nowiki>/openils/bin/autogen.sh</nowiki>''+<code>/openils/bin/autogen.sh</code>
  
 +===== Memcache =====
 +
 +As root user: 
 +
 +<code>/etc/init.d/memcached restart</code>
  
 ===== Reporter ===== ===== 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.
  
-Switch to the opensrf user and run: +Restart opensrf after changing the perl, or when postgres restarts.
  
-''<nowiki>clark-kent.pl --daemon</nowiki>''+Run autogen.sh after making org-level changes: new names, new orgs.
  
 +You only need to restart Clark if he dies.
  
newdevs/restarting.txt · Last modified: 2024/03/18 12:10 by tmccanna

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.