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 'osrf_ctl.sh
':
/etc/init.d/apache2 stop
kill `ps wax | grep "Clark Kent" | grep -v grep | cut -b1-6` rm /tmp/reporter-LOCK
oils_sip.ctl -c /openils/conf/oils_sip.xml -a stop_sip
osrf_ctl.sh -l -a stop_all
ps aux | grep OpenSRF
osrf_ctl.sh -l -a start_all
request open-ils.cstore open-ils.cstore.direct.actor.user.retrieve 1 request open-ils.storage open-ils.storage.direct.actor.user.retrieve 1
/etc/init.d/apache2 start
oils_sip.ctl -c /openils/conf/oils_sip.xml -a start_sip
clark-kent.pl -d > /dev/null 2>&1