User Tools

Site Tools


Restarting Services (Evergreen 1.4+)

This is a very very brief workflow for restarting services on an Evergreen 1.4 or above series. This, like the majority of documentation here, assumes a single-server brick with the services defined inside of a <localhost> block in 'opensrf.xml'. If you have the services defined within a real hostname, then do not use the '-l' flag for '':

  1. Stop apache
    • As root:
      /etc/init.d/apache2 stop
  2. Stop the reporter daemon
    • as root:
      kill `ps wax | grep "Clark Kent" | grep -v grep | cut -b1-6`
      rm /tmp/reporter-LOCK
  3. Stop SIP
    • as opensrf:
      oils_sip.ctl -c /openils/conf/oils_sip.xml -a stop_sip
  4. Stop Evergreen services
    • as opensrf: -l -a stop_all
  5. verify services are all stopped (kill if needed)
    ps aux | grep OpenSRF
  6. start Evergreen services
    • as opensrf: -l -a start_all
  7. wait about 60 seconds
  8. test in srfsh
    • as opensrf:
      request open-ils.cstore 1
      request 1
  9. start apache
    • as root:
      /etc/init.d/apache2 start
  10. start SIP
    • as opensrf:
      oils_sip.ctl -c /openils/conf/oils_sip.xml -a start_sip
  11. start reporting datemon
    • as opensrf: -d > /dev/null 2>&1
evergreen-admin/services-restart14.txt · Last modified: 2022/02/10 13:34 by

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.