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