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 [2022/02/10 13:34] – external edit 127.0.0.1newdevs: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 ---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
 +
 +<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.1644518097.txt.gz · Last modified: 2022/02/10 13:34 by 127.0.0.1

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.